Uses of Class
org.springframework.ai.chat.model.ChatResponse
Packages that use 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
Methods in org.springframework.ai.anthropic that return ChatResponseModifier and TypeMethodDescriptionAnthropicChatModel.internalCall
(Prompt prompt, ChatResponse previousChatResponse) Methods in org.springframework.ai.anthropic that return types with arguments of type ChatResponseModifier and TypeMethodDescriptionreactor.core.publisher.Flux<ChatResponse>
AnthropicChatModel.internalStream
(Prompt prompt, ChatResponse previousChatResponse) reactor.core.publisher.Flux<ChatResponse>
Methods in org.springframework.ai.anthropic with parameters of type ChatResponseModifier and TypeMethodDescriptionAnthropicChatModel.internalCall
(Prompt prompt, ChatResponse previousChatResponse) reactor.core.publisher.Flux<ChatResponse>
AnthropicChatModel.internalStream
(Prompt prompt, ChatResponse previousChatResponse) -
Uses of ChatResponse in org.springframework.ai.azure.openai
Methods in org.springframework.ai.azure.openai that return ChatResponseModifier and TypeMethodDescriptionAzureOpenAiChatModel.internalCall
(Prompt prompt, ChatResponse previousChatResponse) Methods in org.springframework.ai.azure.openai that return types with arguments of type ChatResponseModifier and TypeMethodDescriptionreactor.core.publisher.Flux<ChatResponse>
AzureOpenAiChatModel.internalStream
(Prompt prompt, ChatResponse previousChatResponse) reactor.core.publisher.Flux<ChatResponse>
Methods in org.springframework.ai.azure.openai with parameters of type ChatResponseModifier and TypeMethodDescriptionstatic ChatResponseMetadata
AzureOpenAiChatModel.from
(ChatResponse chatResponse, Usage usage) AzureOpenAiChatModel.internalCall
(Prompt prompt, ChatResponse previousChatResponse) reactor.core.publisher.Flux<ChatResponse>
AzureOpenAiChatModel.internalStream
(Prompt prompt, ChatResponse previousChatResponse) -
Uses of ChatResponse in org.springframework.ai.bedrock.converse
Methods in org.springframework.ai.bedrock.converse that return ChatResponseModifier and TypeMethodDescriptionInvoke the model and return the response.Methods in org.springframework.ai.bedrock.converse that return types with arguments of type ChatResponseModifier and TypeMethodDescriptionreactor.core.publisher.Flux<ChatResponse>
Invoke the model and return the response stream. -
Uses of ChatResponse in org.springframework.ai.bedrock.converse.api
Fields in org.springframework.ai.bedrock.converse.api declared as ChatResponseMethods in org.springframework.ai.bedrock.converse.api that return ChatResponseModifier and TypeMethodDescriptionConverseApiUtils.Aggregation.chatResponse()
Returns the value of thechatResponse
record component.Methods in org.springframework.ai.bedrock.converse.api that return types with arguments of type ChatResponseModifier and TypeMethodDescriptionstatic reactor.core.publisher.Flux<ChatResponse>
ConverseApiUtils.toChatResponse
(reactor.core.publisher.Flux<software.amazon.awssdk.services.bedrockruntime.model.ConverseStreamOutput> responses, ChatResponse perviousChatResponse) Methods in org.springframework.ai.bedrock.converse.api with parameters of type ChatResponseModifier and TypeMethodDescriptionstatic reactor.core.publisher.Flux<ChatResponse>
ConverseApiUtils.toChatResponse
(reactor.core.publisher.Flux<software.amazon.awssdk.services.bedrockruntime.model.ConverseStreamOutput> responses, ChatResponse perviousChatResponse) Constructors in org.springframework.ai.bedrock.converse.api with parameters of type ChatResponseModifierConstructorDescriptionAggregation
(ConverseApiUtils.MetadataAggregation metadataAggregation, ChatResponse chatResponse) Creates an instance of aAggregation
record class. -
Uses of ChatResponse in org.springframework.ai.chat.client
Methods in org.springframework.ai.chat.client that return ChatResponseModifier and TypeMethodDescriptionChatClient.CallPromptResponseSpec.chatResponse()
ChatClient.CallResponseSpec.chatResponse()
DefaultChatClient.DefaultCallPromptResponseSpec.chatResponse()
DefaultChatClient.DefaultCallResponseSpec.chatResponse()
Methods in org.springframework.ai.chat.client that return types with arguments of type ChatResponseModifier and TypeMethodDescriptionreactor.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) -
Uses of ChatResponse in org.springframework.ai.chat.client.advisor
Fields in org.springframework.ai.chat.client.advisor with type parameters of type ChatResponseModifier and TypeFieldDescriptionstatic final Function<ChatResponse,
String> SimpleLoggerAdvisor.DEFAULT_RESPONSE_TO_STRING
-
Uses of ChatResponse in org.springframework.ai.chat.client.advisor.api
Methods in org.springframework.ai.chat.client.advisor.api that return ChatResponseModifier and TypeMethodDescriptionAdvisedResponse.response()
Returns the value of theresponse
record component.Methods in org.springframework.ai.chat.client.advisor.api with parameters of type ChatResponseModifier and TypeMethodDescriptionAdvisedResponse.Builder.response
(ChatResponse response) Set the chat response.Constructors in org.springframework.ai.chat.client.advisor.api with parameters of type ChatResponseModifierConstructorDescriptionAdvisedResponse
(ChatResponse response, Map<String, Object> adviseContext) Create a newAdvisedResponse
instance. -
Uses of ChatResponse in org.springframework.ai.chat.metadata
Methods in org.springframework.ai.chat.metadata with parameters of type ChatResponseModifier and TypeMethodDescriptionstatic Usage
UsageUtils.getCumulativeUsage
(Usage currentUsage, ChatResponse previousChatResponse) Accumulate usage tokens from the previous chat response to the current usage tokens. -
Uses of ChatResponse in org.springframework.ai.chat.model
Methods in org.springframework.ai.chat.model that return ChatResponseMethods in org.springframework.ai.chat.model that return types with arguments of type ChatResponseModifier 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>
Methods in org.springframework.ai.chat.model with parameters of type ChatResponseModifier and TypeMethodDescriptionChatResponse.Builder.from
(ChatResponse other) AbstractToolCallSupport.handleToolCalls
(Prompt prompt, ChatResponse response) Deprecated.protected boolean
AbstractToolCallSupport.isToolCall
(ChatResponse chatResponse, Set<String> toolCallFinishReasons) Deprecated.Method parameters in org.springframework.ai.chat.model with type arguments of type ChatResponseModifier 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
Methods in org.springframework.ai.huggingface that return ChatResponseModifier and TypeMethodDescriptionGenerate text based on the provided prompt. -
Uses of ChatResponse in org.springframework.ai.minimax
Methods in org.springframework.ai.minimax that return ChatResponseMethods in org.springframework.ai.minimax that return types with arguments of type ChatResponse -
Uses of ChatResponse in org.springframework.ai.mistralai
Methods in org.springframework.ai.mistralai that return ChatResponseModifier and TypeMethodDescriptionMistralAiChatModel.internalCall
(Prompt prompt, ChatResponse previousChatResponse) Methods in org.springframework.ai.mistralai that return types with arguments of type ChatResponseModifier and TypeMethodDescriptionreactor.core.publisher.Flux<ChatResponse>
MistralAiChatModel.internalStream
(Prompt prompt, ChatResponse previousChatResponse) reactor.core.publisher.Flux<ChatResponse>
Methods in org.springframework.ai.mistralai with parameters of type ChatResponseModifier and TypeMethodDescriptionMistralAiChatModel.internalCall
(Prompt prompt, ChatResponse previousChatResponse) reactor.core.publisher.Flux<ChatResponse>
MistralAiChatModel.internalStream
(Prompt prompt, ChatResponse previousChatResponse) -
Uses of ChatResponse in org.springframework.ai.model.function
Methods in org.springframework.ai.model.function that return ChatResponseModifier and TypeMethodDescriptionFunctionCallingHelper.processCall
(ChatModel chatModel, Prompt prompt, Set<String> finishReasons, Function<AssistantMessage.ToolCall, String> customFunction) Deprecated.Methods in org.springframework.ai.model.function that return types with arguments of type ChatResponseModifier and TypeMethodDescriptionreactor.core.publisher.Flux<ChatResponse>
FunctionCallingHelper.processStream
(ChatModel chatModel, Prompt prompt, Set<String> finishReasons, Function<AssistantMessage.ToolCall, String> customFunction) Deprecated.Methods in org.springframework.ai.model.function with parameters of type ChatResponseModifier and TypeMethodDescriptionFunctionCallingHelper.handleToolCalls
(Prompt prompt, ChatResponse response) Deprecated.boolean
FunctionCallingHelper.isToolCall
(ChatResponse chatResponse, Set<String> toolCallFinishReasons) Deprecated. -
Uses of ChatResponse in org.springframework.ai.model.tool
Methods in org.springframework.ai.model.tool with parameters of type ChatResponseModifier and TypeMethodDescriptionDefaultToolCallingManager.executeToolCalls
(Prompt prompt, ChatResponse chatResponse) LegacyToolCallingManager.executeToolCalls
(Prompt prompt, ChatResponse chatResponse) Deprecated.ToolCallingManager.executeToolCalls
(Prompt prompt, ChatResponse chatResponse) Execute the tool calls requested by the model. -
Uses of ChatResponse in org.springframework.ai.moonshot
Methods in org.springframework.ai.moonshot that return ChatResponseModifier and TypeMethodDescriptionMoonshotChatModel.internalCall
(Prompt prompt, ChatResponse previousChatResponse) Methods in org.springframework.ai.moonshot that return types with arguments of type ChatResponseModifier and TypeMethodDescriptionreactor.core.publisher.Flux<ChatResponse>
MoonshotChatModel.internalStream
(Prompt prompt, ChatResponse previousChatResponse) reactor.core.publisher.Flux<ChatResponse>
Methods in org.springframework.ai.moonshot with parameters of type ChatResponseModifier and TypeMethodDescriptionMoonshotChatModel.internalCall
(Prompt prompt, ChatResponse previousChatResponse) reactor.core.publisher.Flux<ChatResponse>
MoonshotChatModel.internalStream
(Prompt prompt, ChatResponse previousChatResponse) -
Uses of ChatResponse in org.springframework.ai.oci.cohere
Methods in org.springframework.ai.oci.cohere that return ChatResponse -
Uses of ChatResponse in org.springframework.ai.ollama
Methods in org.springframework.ai.ollama that return ChatResponseMethods in org.springframework.ai.ollama that return types with arguments of type ChatResponse -
Uses of ChatResponse in org.springframework.ai.openai
Methods in org.springframework.ai.openai that return ChatResponseModifier and TypeMethodDescriptionOpenAiChatModel.internalCall
(Prompt prompt, ChatResponse previousChatResponse) Methods in org.springframework.ai.openai that return types with arguments of type ChatResponseModifier and TypeMethodDescriptionreactor.core.publisher.Flux<ChatResponse>
OpenAiChatModel.internalStream
(Prompt prompt, ChatResponse previousChatResponse) reactor.core.publisher.Flux<ChatResponse>
Methods in org.springframework.ai.openai with parameters of type ChatResponseModifier and TypeMethodDescriptionOpenAiChatModel.internalCall
(Prompt prompt, ChatResponse previousChatResponse) reactor.core.publisher.Flux<ChatResponse>
OpenAiChatModel.internalStream
(Prompt prompt, ChatResponse previousChatResponse) -
Uses of ChatResponse in org.springframework.ai.qianfan
Methods in org.springframework.ai.qianfan that return ChatResponseMethods in org.springframework.ai.qianfan that return types with arguments of type ChatResponse -
Uses of ChatResponse in org.springframework.ai.vertexai.gemini
Methods in org.springframework.ai.vertexai.gemini that return ChatResponseMethods in org.springframework.ai.vertexai.gemini that return types with arguments of type ChatResponse -
Uses of ChatResponse in org.springframework.ai.watsonx
Methods in org.springframework.ai.watsonx that return ChatResponseMethods in org.springframework.ai.watsonx that return types with arguments of type ChatResponse -
Uses of ChatResponse in org.springframework.ai.zhipuai
Methods in org.springframework.ai.zhipuai that return ChatResponseMethods in org.springframework.ai.zhipuai that return types with arguments of type ChatResponse