Uses of Interface
dev.langchain4j.model.chat.response.StreamingChatResponseHandler
Packages that use StreamingChatResponseHandler
Package
Description
-
Uses of StreamingChatResponseHandler in dev.langchain4j.internal
Methods in dev.langchain4j.internal with parameters of type StreamingChatResponseHandlerModifier and TypeMethodDescriptionstatic voidInternalStreamingChatResponseHandlerUtils.onCompleteResponse(StreamingChatResponseHandler handler, ChatResponse completeResponse) static voidInternalStreamingChatResponseHandlerUtils.onCompleteToolCall(StreamingChatResponseHandler handler, CompleteToolCall completeToolCall) static voidInternalStreamingChatResponseHandlerUtils.onPartialResponse(StreamingChatResponseHandler handler, String partialResponse) static voidInternalStreamingChatResponseHandlerUtils.onPartialThinking(StreamingChatResponseHandler handler, String partialThinking) static voidInternalStreamingChatResponseHandlerUtils.onPartialToolCall(StreamingChatResponseHandler handler, PartialToolCall partialToolCall) -
Uses of StreamingChatResponseHandler in dev.langchain4j.model
Methods in dev.langchain4j.model that return StreamingChatResponseHandlerModifier and TypeMethodDescriptionstatic StreamingChatResponseHandlerLambdaStreamingResponseHandler.onPartialResponse(Consumer<String> onPartialResponse) static StreamingChatResponseHandlerLambdaStreamingResponseHandler.onPartialResponseAndError(Consumer<String> onPartialResponseLambda, Consumer<Throwable> onErrorLambda) -
Uses of StreamingChatResponseHandler in dev.langchain4j.model.anthropic
Methods in dev.langchain4j.model.anthropic with parameters of type StreamingChatResponseHandlerModifier and TypeMethodDescriptionvoidAnthropicStreamingChatModel.doChat(ChatRequest chatRequest, StreamingChatResponseHandler handler) -
Uses of StreamingChatResponseHandler in dev.langchain4j.model.anthropic.internal.client
Methods in dev.langchain4j.model.anthropic.internal.client with parameters of type StreamingChatResponseHandlerModifier and TypeMethodDescriptionvoidAnthropicClient.createMessage(AnthropicCreateMessageRequest request, AnthropicCreateMessageOptions options, StreamingChatResponseHandler handler) abstract voidAnthropicClient.createMessage(AnthropicCreateMessageRequest request, StreamingChatResponseHandler handler) voidDefaultAnthropicClient.createMessage(AnthropicCreateMessageRequest request, AnthropicCreateMessageOptions options, StreamingChatResponseHandler handler) voidDefaultAnthropicClient.createMessage(AnthropicCreateMessageRequest request, StreamingChatResponseHandler handler) -
Uses of StreamingChatResponseHandler in dev.langchain4j.model.azure
Methods in dev.langchain4j.model.azure with parameters of type StreamingChatResponseHandlerModifier and TypeMethodDescriptionvoidAzureOpenAiStreamingChatModel.doChat(ChatRequest request, StreamingChatResponseHandler handler) -
Uses of StreamingChatResponseHandler in dev.langchain4j.model.bedrock
Methods in dev.langchain4j.model.bedrock with parameters of type StreamingChatResponseHandlerModifier and TypeMethodDescriptionvoidBedrockStreamingChatModel.doChat(ChatRequest chatRequest, StreamingChatResponseHandler handler) -
Uses of StreamingChatResponseHandler in dev.langchain4j.model.chat
Methods in dev.langchain4j.model.chat with parameters of type StreamingChatResponseHandlerModifier and TypeMethodDescriptiondefault voidStreamingChatModel.chat(ChatRequest chatRequest, StreamingChatResponseHandler handler) This is the main API to interact with the chat model.default voidStreamingChatModel.chat(String userMessage, StreamingChatResponseHandler handler) default voidStreamingChatModel.chat(List<ChatMessage> messages, StreamingChatResponseHandler handler) voidDisabledStreamingChatModel.doChat(ChatRequest chatRequest, StreamingChatResponseHandler handler) default voidStreamingChatModel.doChat(ChatRequest chatRequest, StreamingChatResponseHandler handler) -
Uses of StreamingChatResponseHandler in dev.langchain4j.model.github
Methods in dev.langchain4j.model.github with parameters of type StreamingChatResponseHandlerModifier and TypeMethodDescriptionvoidGitHubModelsStreamingChatModel.chat(ChatRequest request, StreamingChatResponseHandler handler) -
Uses of StreamingChatResponseHandler in dev.langchain4j.model.googleai
Methods in dev.langchain4j.model.googleai with parameters of type StreamingChatResponseHandlerModifier and TypeMethodDescriptionvoidGoogleAiGeminiStreamingChatModel.doChat(ChatRequest request, StreamingChatResponseHandler handler) -
Uses of StreamingChatResponseHandler in dev.langchain4j.model.gpullama3
Methods in dev.langchain4j.model.gpullama3 with parameters of type StreamingChatResponseHandlerModifier and TypeMethodDescriptionGPULlama3ResponseParser.createStreamingParser(StreamingChatResponseHandler handler, org.beehive.gpullama3.model.Model model) Creates a new streaming parser for real-time thinking content separation.voidGPULlama3StreamingChatModel.doChat(ChatRequest chatRequest, StreamingChatResponseHandler handler) Constructors in dev.langchain4j.model.gpullama3 with parameters of type StreamingChatResponseHandlerModifierConstructorDescriptionStreamingParser(StreamingChatResponseHandler handler, org.beehive.gpullama3.model.Model model) Creates a new streaming parser. -
Uses of StreamingChatResponseHandler in dev.langchain4j.model.jlama
Methods in dev.langchain4j.model.jlama with parameters of type StreamingChatResponseHandlerModifier and TypeMethodDescriptionvoidJlamaStreamingChatModel.chat(ChatRequest chatRequest, StreamingChatResponseHandler handler) -
Uses of StreamingChatResponseHandler in dev.langchain4j.model.localai
Methods in dev.langchain4j.model.localai with parameters of type StreamingChatResponseHandlerModifier and TypeMethodDescriptionvoidLocalAiStreamingChatModel.chat(ChatRequest chatRequest, StreamingChatResponseHandler handler) -
Uses of StreamingChatResponseHandler in dev.langchain4j.model.mistralai
Methods in dev.langchain4j.model.mistralai with parameters of type StreamingChatResponseHandlerModifier and TypeMethodDescriptionvoidMistralAiStreamingChatModel.doChat(ChatRequest chatRequest, StreamingChatResponseHandler handler) -
Uses of StreamingChatResponseHandler in dev.langchain4j.model.mistralai.internal.client
Methods in dev.langchain4j.model.mistralai.internal.client with parameters of type StreamingChatResponseHandlerModifier and TypeMethodDescriptionvoidDefaultMistralAiClient.streamingChatCompletion(MistralAiChatCompletionRequest request, StreamingChatResponseHandler handler) abstract voidMistralAiClient.streamingChatCompletion(MistralAiChatCompletionRequest request, StreamingChatResponseHandler handler) -
Uses of StreamingChatResponseHandler in dev.langchain4j.model.ollama
Methods in dev.langchain4j.model.ollama with parameters of type StreamingChatResponseHandlerModifier and TypeMethodDescriptionvoidOllamaStreamingChatModel.doChat(ChatRequest chatRequest, StreamingChatResponseHandler handler) -
Uses of StreamingChatResponseHandler in dev.langchain4j.model.openai
Methods in dev.langchain4j.model.openai with parameters of type StreamingChatResponseHandlerModifier and TypeMethodDescriptionvoidOpenAiStreamingChatModel.doChat(ChatRequest chatRequest, StreamingChatResponseHandler handler) -
Uses of StreamingChatResponseHandler in dev.langchain4j.model.openaiofficial
Methods in dev.langchain4j.model.openaiofficial with parameters of type StreamingChatResponseHandlerModifier and TypeMethodDescriptionvoidOpenAiOfficialStreamingChatModel.doChat(ChatRequest chatRequest, StreamingChatResponseHandler handler) -
Uses of StreamingChatResponseHandler in dev.langchain4j.model.vertexai.gemini
Methods in dev.langchain4j.model.vertexai.gemini with parameters of type StreamingChatResponseHandlerModifier and TypeMethodDescriptionvoidVertexAiGeminiStreamingChatModel.chat(ChatRequest chatRequest, StreamingChatResponseHandler handler) -
Uses of StreamingChatResponseHandler in dev.langchain4j.model.watsonx
Methods in dev.langchain4j.model.watsonx with parameters of type StreamingChatResponseHandlerModifier and TypeMethodDescriptionvoidWatsonxStreamingChatModel.doChat(ChatRequest chatRequest, StreamingChatResponseHandler handler)