| Package | Description |
|---|---|
| com.unfbx.chatgpt |
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Single<CompletionResponse> |
OpenAiApi.completions(Completion completion)
文本问答
Given a prompt, the model will return one or more predicted completions, and can also return the probabilities of alternative tokens at each position.
|
CompletionResponse |
OpenAiClient.completions(Completion completion)
问答接口
|
CompletionResponse |
OpenAiClient.completions(Completion completion)
问答接口
|
io.reactivex.Single<CompletionResponse> |
OpenAiApi.completions(Completion completion)
文本问答
Given a prompt, the model will return one or more predicted completions, and can also return the probabilities of alternative tokens at each position.
|
void |
OpenAiStreamClient.streamCompletions(Completion completion,
okhttp3.sse.EventSourceListener eventSourceListener)
问答接口 stream 形式
|
void |
OpenAiStreamClient.streamCompletions(Completion completion,
okhttp3.sse.EventSourceListener eventSourceListener)
问答接口 stream 形式
|
Copyright © 2023 grt1228. All rights reserved.