Uses of Class
org.springframework.ai.chat.model.Generation
Package
Description
-
Uses of Generation in org.springframework.ai.chat.model
Modifier and TypeMethodDescriptionChatResponse.getResult()
Generation.withGenerationMetadata
(ChatGenerationMetadata chatGenerationMetadata) Deprecated.Modifier and TypeMethodDescriptionprotected boolean
AbstractToolCallSupport.isToolCall
(Generation generation, Set<String> toolCallFinishReasons) Check if the generation is a tool call.Modifier and TypeMethodDescriptionChatResponse.Builder.withGenerations
(List<Generation> generations) ModifierConstructorDescriptionChatResponse
(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
Modifier 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.vertexai.gemini
Modifier and TypeMethodDescriptionprotected List<Generation>
VertexAiGeminiChatModel.responseCandiateToGeneration
(com.google.cloud.vertexai.api.Candidate candidate)
Generation(AssitantMessage, ChatGenerationMetadata)
constructor instead.