Uses of Class
org.springframework.ai.chat.model.ChatResponse
Packages that use ChatResponse
Package
Description
Chat client.
Provides classes for advising chat clients.
-
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()
ChatClientResponse.chatResponse()
Returns the value of thechatResponse
record component.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.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) Methods in org.springframework.ai.chat.client with parameters of type ChatResponseModifier and TypeMethodDescriptionChatClientResponse.Builder.chatResponse
(ChatResponse chatResponse) Constructors in org.springframework.ai.chat.client with parameters of type ChatResponseModifierConstructorDescriptionChatClientResponse
(ChatResponse chatResponse, Map<String, Object> context) Creates an instance of aChatClientResponse
record class. -
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
Method parameters in org.springframework.ai.chat.client.advisor with type arguments of type ChatResponseModifier and TypeMethodDescriptionSimpleLoggerAdvisor.Builder.responseToString
(Function<ChatResponse, String> responseToString) -
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 ChatResponseMethod 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.deepseek
Methods in org.springframework.ai.deepseek that return ChatResponseModifier and TypeMethodDescriptionDeepSeekChatModel.internalCall
(Prompt prompt, ChatResponse previousChatResponse) Methods in org.springframework.ai.deepseek that return types with arguments of type ChatResponseModifier and TypeMethodDescriptionreactor.core.publisher.Flux<ChatResponse>
DeepSeekChatModel.internalStream
(Prompt prompt, ChatResponse previousChatResponse) reactor.core.publisher.Flux<ChatResponse>
Methods in org.springframework.ai.deepseek with parameters of type ChatResponseModifier and TypeMethodDescriptionDeepSeekChatModel.internalCall
(Prompt prompt, ChatResponse previousChatResponse) reactor.core.publisher.Flux<ChatResponse>
DeepSeekChatModel.internalStream
(Prompt prompt, ChatResponse previousChatResponse) -
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.tool
Methods in org.springframework.ai.model.tool with parameters of type ChatResponseModifier and TypeMethodDescriptionDefaultToolCallingManager.executeToolCalls
(Prompt prompt, ChatResponse chatResponse) ToolCallingManager.executeToolCalls
(Prompt prompt, ChatResponse chatResponse) Execute the tool calls requested by the model.default boolean
ToolExecutionEligibilityChecker.isToolCallResponse
(ChatResponse chatResponse) Determines if the response is a tool call message response.default boolean
ToolExecutionEligibilityChecker.isToolExecutionRequired
(ChatOptions promptOptions, ChatResponse chatResponse) Determines if tool execution should be performed based on the prompt options and chat response.default boolean
ToolExecutionEligibilityPredicate.isToolExecutionRequired
(ChatOptions promptOptions, ChatResponse chatResponse) Determines if tool execution should be performed based on the prompt options and chat response.boolean
DefaultToolExecutionEligibilityPredicate.test
(ChatOptions promptOptions, ChatResponse chatResponse) -
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.support
Methods in org.springframework.ai.support with parameters of type ChatResponseModifier and TypeMethodDescriptionstatic Usage
UsageCalculator.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.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 ChatResponseModifier and TypeMethodDescriptionreactor.core.publisher.Flux<ChatResponse>
VertexAiGeminiChatModel.internalStream
(Prompt prompt, ChatResponse previousChatResponse) reactor.core.publisher.Flux<ChatResponse>
Methods in org.springframework.ai.vertexai.gemini with parameters of type ChatResponseModifier and TypeMethodDescriptionreactor.core.publisher.Flux<ChatResponse>
VertexAiGeminiChatModel.internalStream
(Prompt prompt, ChatResponse previousChatResponse) -
Uses of ChatResponse in org.springframework.ai.vertexai.gemini.schema
Methods in org.springframework.ai.vertexai.gemini.schema with parameters of type ChatResponseModifier and TypeMethodDescriptionVertexToolCallingManager.executeToolCalls
(Prompt prompt, ChatResponse chatResponse) Executes tool calls by delegating to the underlying tool calling manager. -
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