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 GenerationMethod 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.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)