Uses of Class
com.hw.openai.entity.chat.ChatCompletion
-
Uses of ChatCompletion in com.hw.openai
Modifier and TypeMethodDescriptionOpenAiClient.chatCompletion
(ChatCompletion chatCompletion) Creates a model response for the given chat conversation.OpenAiClient.createChatCompletion
(ChatCompletion chatCompletion) Creates a model response for the given chat conversation.io.reactivex.Flowable<ChatCompletionChunk>
OpenAiClient.streamChatCompletion
(ChatCompletion chatCompletion) Creates a stream response for the given chat conversation. -
Uses of ChatCompletion in com.hw.openai.service
Modifier and TypeMethodDescriptionio.reactivex.Single<ChatCompletionResp>
OpenAiService.createChatCompletion
(ChatCompletion chatCompletion) Creates a response for the given chat conversation.io.reactivex.Single<ChatCompletionResp>
OpenAiService.createChatCompletion
(String deploymentId, String apiVersion, ChatCompletion chatCompletion) Creates a model response for the given chat conversation, using azure openai.retrofit2.Call<okhttp3.ResponseBody>
OpenAiService.streamChatCompletion
(ChatCompletion chatCompletion) Creates a stream response for the given chat conversation.