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 observations.
Spring AI integration with the official OpenAI Java SDK.
-
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 TypeMethodDescriptionSkillsResponseHelper.downloadAllFiles(ChatResponse response, AnthropicApi api, Path targetDir) Download all files from a Skills response to a target directory.static StringSkillsResponseHelper.extractContainerId(ChatResponse response) Extract container ID from a chat response for multi-turn conversation reuse.SkillsResponseHelper.extractFileIds(ChatResponse response) Extract all file IDs from a chat response.AnthropicChatModel.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 ChatResponseMetadataAzureOpenAiChatModel.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
Methods in org.springframework.ai.bedrock.converse.api that return types with arguments of type ChatResponseModifier and TypeMethodDescriptionreactor.core.publisher.Flux<ChatResponse> ConverseChatResponseStream.stream()Invoke the model and return the chat response stream. -
Uses of ChatResponse in org.springframework.ai.chat.client
Methods in org.springframework.ai.chat.client that return ChatResponseModifier and TypeMethodDescriptionChatClient.CallResponseSpec.chatResponse()ChatClientResponse.chatResponse()Returns the value of thechatResponserecord 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.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 aChatClientResponserecord 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_STRINGMethod 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
Subinterfaces with type arguments of type ChatResponse in org.springframework.ai.chat.modelMethods 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.chat.observation
Subclasses with type arguments of type ChatResponse in org.springframework.ai.chat.observationModifier and TypeClassDescriptionclassContext used to store metadata for chat model exchanges. -
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.google.genai
Methods in org.springframework.ai.google.genai that return ChatResponseMethods in org.springframework.ai.google.genai that return types with arguments of type ChatResponseModifier and TypeMethodDescriptionreactor.core.publisher.Flux<ChatResponse> GoogleGenAiChatModel.internalStream(Prompt prompt, ChatResponse previousChatResponse) reactor.core.publisher.Flux<ChatResponse> Methods in org.springframework.ai.google.genai with parameters of type ChatResponseModifier and TypeMethodDescriptionreactor.core.publisher.Flux<ChatResponse> GoogleGenAiChatModel.internalStream(Prompt prompt, ChatResponse previousChatResponse) -
Uses of ChatResponse in org.springframework.ai.google.genai.schema
Methods in org.springframework.ai.google.genai.schema with parameters of type ChatResponseModifier and TypeMethodDescriptionGoogleGenAiToolCallingManager.executeToolCalls(Prompt prompt, ChatResponse chatResponse) Executes tool calls by delegating to the underlying tool calling manager. -
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
Subinterfaces with type arguments of type ChatResponse in org.springframework.ai.model.toolModifier and TypeInterfaceDescriptioninterfaceInterface for determining when tool execution should be performed based on model responses.interfaceInterface for determining when tool execution should be performed based on model responses.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 booleanToolExecutionEligibilityChecker.isToolCallResponse(ChatResponse chatResponse) Determines if the response is a tool call message response.default booleanToolExecutionEligibilityChecker.isToolExecutionRequired(ChatOptions promptOptions, ChatResponse chatResponse) Determines if tool execution should be performed based on the prompt options and chat response.default booleanToolExecutionEligibilityPredicate.isToolExecutionRequired(ChatOptions promptOptions, ChatResponse chatResponse) Determines if tool execution should be performed based on the prompt options and chat response.booleanDefaultToolExecutionEligibilityPredicate.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.openaisdk
Methods in org.springframework.ai.openaisdk that return ChatResponseModifier and TypeMethodDescriptionOpenAiSdkChatModel.internalCall(Prompt prompt, ChatResponse previousChatResponse) Internal method to handle chat completion calls with tool execution support.Methods in org.springframework.ai.openaisdk that return types with arguments of type ChatResponseModifier and TypeMethodDescriptionreactor.core.publisher.Flux<ChatResponse> OpenAiSdkChatModel.internalStream(Prompt prompt, ChatResponse previousChatResponse) Internal method to handle streaming chat completion calls with tool execution support.reactor.core.publisher.Flux<ChatResponse> Methods in org.springframework.ai.openaisdk with parameters of type ChatResponseModifier and TypeMethodDescriptionOpenAiSdkChatModel.internalCall(Prompt prompt, ChatResponse previousChatResponse) Internal method to handle chat completion calls with tool execution support.reactor.core.publisher.Flux<ChatResponse> OpenAiSdkChatModel.internalStream(Prompt prompt, ChatResponse previousChatResponse) Internal method to handle streaming chat completion calls with tool execution support.OpenAiSdkChatModel.safeAssistantMessage(ChatResponse response) Safely extracts the assistant message from a chat response. -
Uses of ChatResponse in org.springframework.ai.support
Methods in org.springframework.ai.support with parameters of type ChatResponseModifier and TypeMethodDescriptionstatic UsageUsageCalculator.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