Uses of Class
dev.langchain4j.model.chat.response.ChatResponse
Packages that use ChatResponse
Package
Description
-
Uses of ChatResponse in dev.langchain4j.model.anthropic
Methods in dev.langchain4j.model.anthropic that return ChatResponse -
Uses of ChatResponse in dev.langchain4j.model.azure
Methods in dev.langchain4j.model.azure that return ChatResponse -
Uses of ChatResponse in dev.langchain4j.model.bedrock
Methods in dev.langchain4j.model.bedrock that return ChatResponseModifier and TypeMethodDescriptionBedrockAnthropicMessageChatModel.chat
(ChatRequest chatRequest) Deprecated, for removal: This API element is subject to removal in a future version.BedrockChatModel.doChat
(ChatRequest request) -
Uses of ChatResponse in dev.langchain4j.model.bedrock.internal
Methods in dev.langchain4j.model.bedrock.internal that return ChatResponseModifier and TypeMethodDescriptionAbstractBedrockChatModel.chat
(ChatRequest chatRequest) protected ChatResponse
AbstractSharedBedrockChatModel.createListenerResponse
(String responseId, String responseModel, Response<AiMessage> response) -
Uses of ChatResponse in dev.langchain4j.model.chat
Methods in dev.langchain4j.model.chat that return ChatResponseModifier and TypeMethodDescriptiondefault ChatResponse
ChatModel.chat
(ChatMessage... messages) default ChatResponse
ChatModel.chat
(ChatRequest chatRequest) This is the main API to interact with the chat model.default ChatResponse
ChatModel.chat
(List<ChatMessage> messages) default ChatResponse
ChatModel.doChat
(ChatRequest chatRequest) DisabledChatModel.doChat
(ChatRequest chatRequest) -
Uses of ChatResponse in dev.langchain4j.model.chat.listener
Methods in dev.langchain4j.model.chat.listener that return ChatResponseConstructors in dev.langchain4j.model.chat.listener with parameters of type ChatResponseModifierConstructorDescriptionChatModelResponseContext
(ChatResponse chatResponse, ChatRequest chatRequest, ModelProvider modelProvider, Map<Object, Object> attributes) -
Uses of ChatResponse in dev.langchain4j.model.chat.response
Methods in dev.langchain4j.model.chat.response that return ChatResponseMethods in dev.langchain4j.model.chat.response with parameters of type ChatResponseModifier and TypeMethodDescriptionvoid
StreamingChatResponseHandler.onCompleteResponse
(ChatResponse completeResponse) Invoked when the model has finished streaming a response. -
Uses of ChatResponse in dev.langchain4j.model.github
Methods in dev.langchain4j.model.github that return ChatResponse -
Uses of ChatResponse in dev.langchain4j.model.googleai
Methods in dev.langchain4j.model.googleai that return ChatResponse -
Uses of ChatResponse in dev.langchain4j.model.huggingface
Methods in dev.langchain4j.model.huggingface that return ChatResponse -
Uses of ChatResponse in dev.langchain4j.model.jlama
Methods in dev.langchain4j.model.jlama that return ChatResponse -
Uses of ChatResponse in dev.langchain4j.model.localai
Methods in dev.langchain4j.model.localai that return ChatResponse -
Uses of ChatResponse in dev.langchain4j.model.mistralai
Methods in dev.langchain4j.model.mistralai that return ChatResponse -
Uses of ChatResponse in dev.langchain4j.model.ollama
Methods in dev.langchain4j.model.ollama that return ChatResponse -
Uses of ChatResponse in dev.langchain4j.model.openai
Methods in dev.langchain4j.model.openai that return ChatResponseModifier and TypeMethodDescriptionOpenAiStreamingResponseBuilder.build()
OpenAiChatModel.doChat
(ChatRequest chatRequest) -
Uses of ChatResponse in dev.langchain4j.model.openai.internal
Methods in dev.langchain4j.model.openai.internal with parameters of type ChatResponse -
Uses of ChatResponse in dev.langchain4j.model.openaiofficial
Methods in dev.langchain4j.model.openaiofficial that return ChatResponse -
Uses of ChatResponse in dev.langchain4j.model.vertexai
Methods in dev.langchain4j.model.vertexai that return ChatResponseModifier and TypeMethodDescriptionVertexAiChatModel.chat
(ChatRequest chatRequest) Deprecated, for removal: This API element is subject to removal in a future version.VertexAiGeminiChatModel.chat
(ChatRequest chatRequest) -
Uses of ChatResponse in dev.langchain4j.model.workersai
Methods in dev.langchain4j.model.workersai that return ChatResponse -
Uses of ChatResponse in dev.langchain4j.service
Method parameters in dev.langchain4j.service with type arguments of type ChatResponseModifier and TypeMethodDescriptionAiServiceTokenStream.onCompleteResponse
(Consumer<ChatResponse> completionHandler) TokenStream.onCompleteResponse
(Consumer<ChatResponse> completeResponseHandler) The provided handler will be invoked when a language model finishes streaming a response. -
Uses of ChatResponse in dev.langchain4j.service.output
Methods in dev.langchain4j.service.output with parameters of type ChatResponseModifier and TypeMethodDescriptionServiceOutputParser.parse
(ChatResponse chatResponse, Type returnType) -
Uses of ChatResponse in dev.langchain4j.service.tool
Methods in dev.langchain4j.service.tool that return ChatResponseMethods in dev.langchain4j.service.tool with parameters of type ChatResponseModifier and TypeMethodDescriptionToolService.executeInferenceAndToolsLoop
(ChatResponse chatResponse, ChatRequestParameters parameters, List<ChatMessage> messages, ChatModel chatModel, ChatMemory chatMemory, Object memoryId, Map<String, ToolExecutor> toolExecutors) Constructors in dev.langchain4j.service.tool with parameters of type ChatResponseModifierConstructorDescriptionToolServiceResult
(ChatResponse chatResponse, List<ToolExecution> toolExecutions)