Uses of Interface
org.springframework.ai.chat.metadata.ChatGenerationMetadata.Builder
Packages that use ChatGenerationMetadata.Builder
-
Uses of ChatGenerationMetadata.Builder in org.springframework.ai.chat.metadata
Classes in org.springframework.ai.chat.metadata that implement ChatGenerationMetadata.BuilderMethods in org.springframework.ai.chat.metadata that return ChatGenerationMetadata.BuilderModifier and TypeMethodDescriptionChatGenerationMetadata.builder()ChatGenerationMetadata.Builder.contentFilter(String contentFilter) Add content filter to the Generation result.DefaultChatGenerationMetadataBuilder.contentFilter(String contentFilter) ChatGenerationMetadata.Builder.contentFilters(Set<String> contentFilters) Add content filters to the Generation result.DefaultChatGenerationMetadataBuilder.contentFilters(Set<String> contentFilters) ChatGenerationMetadata.Builder.finishReason(String finishReason) Set the reason this choice completed for the generation.DefaultChatGenerationMetadataBuilder.finishReason(String finishReason) Add metadata to the Generation result.Add metadata to the Generation result.