Uses of Interface
org.springframework.ai.chat.metadata.ChatGenerationMetadata.Builder
-
Uses of ChatGenerationMetadata.Builder in org.springframework.ai.chat.metadata
Modifier 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 id) 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.