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 ChatResponseChatLanguageModel.chat(ChatMessage... messages) default ChatResponseChatLanguageModel.chat(ChatRequest chatRequest) This is the main API to interact with the chat model.default ChatResponseChatLanguageModel.chat(List<ChatMessage> messages) default ChatResponseChatLanguageModel.doChat(ChatRequest chatRequest) DisabledChatLanguageModel.doChat(ChatRequest chatRequest) -
Uses of ChatResponse in dev.langchain4j.model.chat.listener
Methods in dev.langchain4j.model.chat.listener that return ChatResponseMethods in dev.langchain4j.model.chat.listener with parameters of type ChatResponseModifier and TypeMethodDescriptionstatic voidListenersUtil.onResponse(ChatResponse chatResponse, ChatRequest chatRequest, ModelProvider modelProvider, Map<Object, Object> attributes, List<ChatModelListener> listeners) Constructors 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.