| 程序包 | 说明 |
|---|---|
| cn.jianwoo.openai.chatgptapi.service | |
| cn.jianwoo.openai.chatgptapi.service.impl | |
| cn.jianwoo.openai.chatgptapi.stream |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
PostApiService.completionsChatStream(CompletionReq req,
Callback<CompletionRes> callback)
Create chat completion
Creates a completion for the chat message stream = true |
void |
PostApiService.completionsStream(CompletionReq req,
Callback<CompletionRes> callback)
Create completion
Creates a completion for the provided prompt and parameters stream = true |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
ChatGptApiPost.completionsChatStream(CompletionReq req,
Callback<CompletionRes> callback) |
void |
ChatGptApiPost.completionsStream(CompletionReq req,
Callback<CompletionRes> callback) |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
HttpAsyncClientUtil.execute(org.apache.http.impl.nio.client.CloseableHttpAsyncClient asyncClient,
org.apache.http.client.methods.HttpUriRequest request,
Callback<String> callback) |
Copyright © 2023. All rights reserved.