Uses of Class
org.springframework.ai.chat.model.ChatResponse
Packages that use ChatResponse
Package
Description
-
Uses of ChatResponse in org.springframework.ai.chat.metadata
Methods in org.springframework.ai.chat.metadata with parameters of type ChatResponseModifier and TypeMethodDescriptionstatic UsageUsageUtils.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 TypeMethodDescriptiondefault reactor.core.publisher.Flux<ChatResponse>reactor.core.publisher.Flux<ChatResponse>Methods in org.springframework.ai.chat.model with parameters of type ChatResponse -
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 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)