- shutdownExecutor() - Method in class com.theokanning.openai.service.OpenAiService
-
Shuts down the OkHttp ExecutorService.
- SSE - Class in com.theokanning.openai.service
-
Simple Server Sent Event representation
- SSE(String) - Constructor for class com.theokanning.openai.service.SSE
-
- SSEFormatException - Class in com.theokanning.openai.service
-
Exception indicating a SSE format error
- SSEFormatException(String) - Constructor for class com.theokanning.openai.service.SSEFormatException
-
- stream(Call<ResponseBody>) - Static method in class com.theokanning.openai.service.OpenAiService
-
Calls the Open AI api and returns a Flowable of SSE for streaming
omitting the last message.
- stream(Call<ResponseBody>, boolean) - Static method in class com.theokanning.openai.service.OpenAiService
-
Calls the Open AI api and returns a Flowable of SSE for streaming.
- stream(Call<ResponseBody>, Class<T>) - Static method in class com.theokanning.openai.service.OpenAiService
-
Calls the Open AI api and returns a Flowable of type T for streaming
omitting the last message.
- streamChatCompletion(ChatCompletionRequest) - Method in class com.theokanning.openai.service.OpenAiService
-
- streamCompletion(CompletionRequest) - Method in class com.theokanning.openai.service.OpenAiService
-