Uses of Class
dev.langchain4j.model.chat.response.ChatResponse
Packages that use ChatResponse
Package
Description
-
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.