Uses of Class
org.springframework.ai.chat.model.Generation
Packages that use Generation
Package
Description
-
Uses of Generation in org.springframework.ai.chat.model
Methods in org.springframework.ai.chat.model that return GenerationMethods in org.springframework.ai.chat.model that return types with arguments of type GenerationMethods in org.springframework.ai.chat.model with parameters of type GenerationModifier and TypeMethodDescriptionprotected boolean
AbstractToolCallSupport.isToolCall
(Generation generation, Set<String> toolCallFinishReasons) Deprecated.Method parameters in org.springframework.ai.chat.model with type arguments of type GenerationConstructor parameters in org.springframework.ai.chat.model with type arguments of type GenerationModifierConstructorDescriptionChatResponse
(List<Generation> generations) Construct a newChatResponse
instance without metadata.ChatResponse
(List<Generation> generations, ChatResponseMetadata chatResponseMetadata) Construct a newChatResponse
instance. -
Uses of Generation in org.springframework.ai.minimax
Methods in org.springframework.ai.minimax with parameters of type GenerationModifier and TypeMethodDescriptionprotected boolean
MiniMaxChatModel.isToolCall
(Generation generation, Set<String> toolCallFinishReasons) The MimiMax web search function tool type is 'web_search', so we need to filter out the tool calls whose type is not 'function' -
Uses of Generation in org.springframework.ai.model.tool
Methods in org.springframework.ai.model.tool that return types with arguments of type GenerationModifier and TypeMethodDescriptionstatic List<Generation>
ToolExecutionResult.buildGenerations
(ToolExecutionResult toolExecutionResult) Build a list ofGeneration
from the tool execution result, useful for sending the tool execution result to the client directly. -
Uses of Generation in org.springframework.ai.vertexai.gemini
Methods in org.springframework.ai.vertexai.gemini that return types with arguments of type GenerationModifier and TypeMethodDescriptionprotected List<Generation>
VertexAiGeminiChatModel.responseCandidateToGeneration
(com.google.cloud.vertexai.api.Candidate candidate)