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 ChatResponseChatModel.chat(ChatMessage... messages) default ChatResponseChatModel.chat(ChatRequest chatRequest) This is the main API to interact with the chat model.default ChatResponseChatModel.chat(List<ChatMessage> messages) default ChatResponseChatModel.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 TypeMethodDescriptionvoidStreamingChatResponseHandler.onCompleteResponse(ChatResponse completeResponse) Invoked when the model has finished streaming a response.