Uses of Class
org.springframework.ai.chat.model.ChatResponse
Package
Description
Chat client.
Provides classes for advising chat clients.
Provides the API for chat client advisors.
-
Uses of ChatResponse in org.springframework.ai.anthropic
-
Uses of ChatResponse in org.springframework.ai.azure.openai
-
Uses of ChatResponse in org.springframework.ai.bedrock.anthropic
-
Uses of ChatResponse in org.springframework.ai.bedrock.anthropic3
-
Uses of ChatResponse in org.springframework.ai.bedrock.cohere
-
Uses of ChatResponse in org.springframework.ai.bedrock.converse
Modifier and TypeMethodDescriptionInvoke the model and return the response.Modifier and TypeMethodDescriptionreactor.core.publisher.Flux<ChatResponse>
Invoke the model and return the response stream. -
Uses of ChatResponse in org.springframework.ai.bedrock.converse.api
Modifier and TypeMethodDescriptionConverseApiUtils.Aggregation.chatResponse()
Returns the value of thechatResponse
record component.Modifier and TypeMethodDescriptionstatic reactor.core.publisher.Flux<ChatResponse>
ConverseApiUtils.toChatResponse
(reactor.core.publisher.Flux<software.amazon.awssdk.services.bedrockruntime.model.ConverseStreamOutput> responses, ChatResponse perviousChatResponse) Modifier and TypeMethodDescriptionstatic reactor.core.publisher.Flux<ChatResponse>
ConverseApiUtils.toChatResponse
(reactor.core.publisher.Flux<software.amazon.awssdk.services.bedrockruntime.model.ConverseStreamOutput> responses, ChatResponse perviousChatResponse) ModifierConstructorDescriptionAggregation
(ConverseApiUtils.MetadataAggregation metadataAggregation, ChatResponse chatResponse) Creates an instance of aAggregation
record class. -
Uses of ChatResponse in org.springframework.ai.bedrock.jurassic2
-
Uses of ChatResponse in org.springframework.ai.bedrock.llama
-
Uses of ChatResponse in org.springframework.ai.bedrock.titan
-
Uses of ChatResponse in org.springframework.ai.chat.client
Modifier and TypeMethodDescriptiondefault ChatResponse
RequestResponseAdvisor.adviseResponse
(ChatResponse response, Map<String, Object> adviseContext) Deprecated.ChatClient.CallPromptResponseSpec.chatResponse()
ChatClient.CallResponseSpec.chatResponse()
DefaultChatClient.DefaultCallPromptResponseSpec.chatResponse()
DefaultChatClient.DefaultCallResponseSpec.chatResponse()
Modifier and TypeMethodDescriptiondefault reactor.core.publisher.Flux<ChatResponse>
RequestResponseAdvisor.adviseResponse
(reactor.core.publisher.Flux<ChatResponse> fluxResponse, Map<String, Object> context) Deprecated.reactor.core.publisher.Flux<ChatResponse>
ChatClient.StreamPromptResponseSpec.chatResponse()
reactor.core.publisher.Flux<ChatResponse>
ChatClient.StreamResponseSpec.chatResponse()
reactor.core.publisher.Flux<ChatResponse>
DefaultChatClient.DefaultStreamPromptResponseSpec.chatResponse()
reactor.core.publisher.Flux<ChatResponse>
DefaultChatClient.DefaultStreamResponseSpec.chatResponse()
protected <T> ResponseEntity<ChatResponse,
T> DefaultChatClient.DefaultCallResponseSpec.doResponseEntity
(StructuredOutputConverter<T> outputConverter) <T> ResponseEntity<ChatResponse,
T> ChatClient.CallResponseSpec.responseEntity
(Class<T> type) <T> ResponseEntity<ChatResponse,
T> ChatClient.CallResponseSpec.responseEntity
(StructuredOutputConverter<T> structuredOutputConverter) <T> ResponseEntity<ChatResponse,
T> ChatClient.CallResponseSpec.responseEntity
(org.springframework.core.ParameterizedTypeReference<T> type) <T> ResponseEntity<ChatResponse,
T> DefaultChatClient.DefaultCallResponseSpec.responseEntity
(Class<T> type) <T> ResponseEntity<ChatResponse,
T> DefaultChatClient.DefaultCallResponseSpec.responseEntity
(StructuredOutputConverter<T> structuredOutputConverter) <T> ResponseEntity<ChatResponse,
T> DefaultChatClient.DefaultCallResponseSpec.responseEntity
(org.springframework.core.ParameterizedTypeReference<T> type) Modifier and TypeMethodDescriptiondefault ChatResponse
RequestResponseAdvisor.adviseResponse
(ChatResponse response, Map<String, Object> adviseContext) Deprecated.Modifier and TypeMethodDescriptiondefault reactor.core.publisher.Flux<ChatResponse>
RequestResponseAdvisor.adviseResponse
(reactor.core.publisher.Flux<ChatResponse> fluxResponse, Map<String, Object> context) Deprecated. -
Uses of ChatResponse in org.springframework.ai.chat.client.advisor
Modifier and TypeFieldDescriptionstatic final Function<ChatResponse,
String> SimpleLoggerAdvisor.DEFAULT_RESPONSE_TO_STRING
-
Uses of ChatResponse in org.springframework.ai.chat.client.advisor.api
Modifier and TypeMethodDescriptionAdvisedResponse.response()
Returns the value of theresponse
record component.Modifier and TypeMethodDescriptionAdvisedResponse.Builder.withResponse
(ChatResponse response) Set the chat response.ModifierConstructorDescriptionAdvisedResponse
(ChatResponse response, Map<String, Object> adviseContext) Create a newAdvisedResponse
instance. -
Uses of ChatResponse in org.springframework.ai.chat.model
Modifier and TypeMethodDescriptionreactor.core.publisher.Flux<ChatResponse>
MessageAggregator.aggregate
(reactor.core.publisher.Flux<ChatResponse> fluxChatResponse, Consumer<ChatResponse> onAggregationComplete) default reactor.core.publisher.Flux<ChatResponse>
reactor.core.publisher.Flux<ChatResponse>
Modifier and TypeMethodDescriptionChatResponse.Builder.from
(ChatResponse other) AbstractToolCallSupport.handleToolCalls
(Prompt prompt, ChatResponse response) protected boolean
AbstractToolCallSupport.isToolCall
(ChatResponse chatResponse, Set<String> toolCallFinishReasons) Modifier and TypeMethodDescriptionreactor.core.publisher.Flux<ChatResponse>
MessageAggregator.aggregate
(reactor.core.publisher.Flux<ChatResponse> fluxChatResponse, Consumer<ChatResponse> onAggregationComplete) reactor.core.publisher.Flux<ChatResponse>
MessageAggregator.aggregate
(reactor.core.publisher.Flux<ChatResponse> fluxChatResponse, Consumer<ChatResponse> onAggregationComplete) -
Uses of ChatResponse in org.springframework.ai.huggingface
Modifier and TypeMethodDescriptionGenerate text based on the provided prompt. -
Uses of ChatResponse in org.springframework.ai.minimax
-
Uses of ChatResponse in org.springframework.ai.mistralai
-
Uses of ChatResponse in org.springframework.ai.model.function
Modifier and TypeMethodDescriptionFunctionCallingHelper.processCall
(ChatModel chatModel, Prompt prompt, Set<String> finishReasons, Function<AssistantMessage.ToolCall, String> customFunction) Modifier and TypeMethodDescriptionreactor.core.publisher.Flux<ChatResponse>
FunctionCallingHelper.processStream
(ChatModel chatModel, Prompt prompt, Set<String> finishReasons, Function<AssistantMessage.ToolCall, String> customFunction) Modifier and TypeMethodDescriptionFunctionCallingHelper.handleToolCalls
(Prompt prompt, ChatResponse response) boolean
FunctionCallingHelper.isToolCall
(ChatResponse chatResponse, Set<String> toolCallFinishReasons) -
Uses of ChatResponse in org.springframework.ai.moonshot
-
Uses of ChatResponse in org.springframework.ai.oci.cohere
-
Uses of ChatResponse in org.springframework.ai.ollama
-
Uses of ChatResponse in org.springframework.ai.openai
-
Uses of ChatResponse in org.springframework.ai.qianfan
-
Uses of ChatResponse in org.springframework.ai.vertexai.gemini
-
Uses of ChatResponse in org.springframework.ai.watsonx
-
Uses of ChatResponse in org.springframework.ai.zhipuai