Uses of Class
xyz.felh.openai.StreamChatCompletionListener
Packages that use StreamChatCompletionListener
-
Uses of StreamChatCompletionListener in xyz.felh.openai
Methods in xyz.felh.openai with parameters of type StreamChatCompletionListenerModifier and TypeMethodDescriptionvoidOpenAiService.createSteamChatCompletion(String requestId, CreateChatCompletionRequest request, @NonNull StreamChatCompletionListener listener) create chat completion by stream, user-side handled if there is tool_callsvoidOpenAiService.createSteamChatCompletion(String requestId, CreateChatCompletionRequest request, @NonNull StreamChatCompletionListener listener, BiFunction<String, ChatCompletion, StreamToolCallsRequest> toolCallsHandler) create chat completion by stream, sdk-side handled if there is tool_callsConstructors in xyz.felh.openai with parameters of type StreamChatCompletionListenerModifierConstructorDescriptionStreamToolCallsReceiver(OpenAiService openAiService, String originalRequestId, BiFunction<String, ChatCompletion, StreamToolCallsRequest> toolCallsHandler, StreamChatCompletionListener listener, CountDownLatch countDownLatch)