Uses of Class
dev.langchain4j.model.chat.request.ChatRequest
Packages that use ChatRequest
Package
Description
-
Uses of ChatRequest in dev.langchain4j.model.chat
Methods in dev.langchain4j.model.chat with parameters of type ChatRequestModifier and TypeMethodDescriptiondefault ChatResponseChatLanguageModel.chat(ChatRequest chatRequest) This is the main API to interact with the chat model.default voidStreamingChatLanguageModel.chat(ChatRequest chatRequest, StreamingChatResponseHandler handler) This is the main API to interact with the chat model.default ChatResponseChatLanguageModel.doChat(ChatRequest chatRequest) DisabledChatLanguageModel.doChat(ChatRequest chatRequest) voidDisabledStreamingChatLanguageModel.doChat(ChatRequest chatRequest, StreamingChatResponseHandler handler) default voidStreamingChatLanguageModel.doChat(ChatRequest chatRequest, StreamingChatResponseHandler handler) -
Uses of ChatRequest in dev.langchain4j.model.chat.listener
Methods in dev.langchain4j.model.chat.listener that return ChatRequestModifier and TypeMethodDescriptionChatModelErrorContext.chatRequest()ChatModelRequestContext.chatRequest()ChatModelResponseContext.chatRequest()Methods in dev.langchain4j.model.chat.listener with parameters of type ChatRequestModifier and TypeMethodDescriptionstatic voidListenersUtil.onError(Throwable error, ChatRequest chatRequest, ModelProvider modelProvider, Map<Object, Object> attributes, List<ChatModelListener> listeners) static voidListenersUtil.onRequest(ChatRequest chatRequest, ModelProvider modelProvider, Map<Object, Object> attributes, List<ChatModelListener> listeners) static 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 ChatRequestModifierConstructorDescriptionChatModelErrorContext(Throwable error, ChatRequest chatRequest, ModelProvider modelProvider, Map<Object, Object> attributes) ChatModelRequestContext(ChatRequest chatRequest, ModelProvider modelProvider, Map<Object, Object> attributes) ChatModelResponseContext(ChatResponse chatResponse, ChatRequest chatRequest, ModelProvider modelProvider, Map<Object, Object> attributes) -
Uses of ChatRequest in dev.langchain4j.model.chat.request
Methods in dev.langchain4j.model.chat.request that return ChatRequest