Package org.springframework.ai.chat.client
@NonNullApi
@NonNullFields
package org.springframework.ai.chat.client
Chat client.
-
ClassDescriptionClient to perform stateless requests to an AI Model, using a fluent API.A mutable builder for creating a
ChatClient.Specification for a prompt system.Common attributes used inChatClientcontext.Callback interface that can be used to customize aChatClient.Builder.Helper that for streaming chat responses, aggregate the chat response messages into a single AssistantMessage.Represents a request processed by aChatClientthat ultimately is used to build aPromptto be sent to an AI model.Represents a response returned by aChatClient.The default implementation ofChatClientas created by theChatClient.Builder.build()} method.DefaultChatClientBuilder is a builder class for creating a ChatClient.ResponseEntity<R,E> Represents aModelresponse that includes the entire response along withe specified response entity type.