Uses of Class
org.springframework.ai.chat.model.ChatResponse
Packages that use ChatResponse
Package
Description
Provides the API for chat observations.
-
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.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.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.