Uses of Class
org.springframework.ai.chat.Generation
Packages that use Generation
Package
Description
The org.sf.ai.chat package represents the bounded context for the Chat Model within the
AI generative model domain.
-
Uses of Generation in org.springframework.ai.chat
Methods in org.springframework.ai.chat that return GenerationModifier and TypeMethodDescriptionChatResponse.getResult()
Generation.withGenerationMetadata
(ChatGenerationMetadata chatGenerationMetadata) Methods in org.springframework.ai.chat that return types with arguments of type GenerationConstructor parameters in org.springframework.ai.chat 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.