Uses of Class
dev.langchain4j.model.chat.request.ChatRequest
Packages that use ChatRequest
Package
Description
-
Uses of ChatRequest in dev.langchain4j.guardrail
Fields in dev.langchain4j.guardrail declared as ChatRequestMethods in dev.langchain4j.guardrail with parameters of type ChatRequestModifier and TypeMethodDescriptionChatExecutor.AbstractBuilder.chatRequest(ChatRequest chatRequest) Sets theChatRequestinstance for the synchronousBuilder. -
Uses of ChatRequest in dev.langchain4j.model.chat
Methods in dev.langchain4j.model.chat with parameters of type ChatRequestModifier and TypeMethodDescriptiondefault ChatResponseChatModel.chat(ChatRequest chatRequest) This is the main API to interact with the chat model.default voidStreamingChatModel.chat(ChatRequest chatRequest, StreamingChatResponseHandler handler) This is the main API to interact with the chat model.default ChatResponseChatModel.doChat(ChatRequest chatRequest) DisabledChatModel.doChat(ChatRequest chatRequest) voidDisabledStreamingChatModel.doChat(ChatRequest chatRequest, StreamingChatResponseHandler handler) default voidStreamingChatModel.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()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 ChatRequestConstructors in dev.langchain4j.model.chat.request with parameters of type ChatRequest -
Uses of ChatRequest in dev.langchain4j.observability.api.event
Methods in dev.langchain4j.observability.api.event that return ChatRequestModifier and TypeMethodDescriptionAiServiceRequestIssuedEvent.AiServiceRequestIssuedEventBuilder.request()AiServiceRequestIssuedEvent.request()Retrieves the chat request from the AI Service invocation event.AiServiceResponseReceivedEvent.AiServiceResponseReceivedEventBuilder.request()AiServiceResponseReceivedEvent.request()Retrieves the chat request from the AI Service invocation event.Methods in dev.langchain4j.observability.api.event with parameters of type ChatRequestModifier and TypeMethodDescriptionAiServiceRequestIssuedEvent.AiServiceRequestIssuedEventBuilder.request(ChatRequest request) Sets the chat request.AiServiceResponseReceivedEvent.AiServiceResponseReceivedEventBuilder.request(ChatRequest request) Sets the chat request. -
Uses of ChatRequest in dev.langchain4j.observability.event
Methods in dev.langchain4j.observability.event that return ChatRequest