MetadataConfigurationForRerankingDict¶
Dictionary Type¶
MetadataConfigurationForRerankingDict
¶
Bases: TypedDict
Dictionary form of MetadataConfigurationForReranking.
Attributes¶
selection_mode
instance-attribute
¶
The mode for selecting which metadata fields to include in the reranking process. Valid values are ALL (use all available metadata fields) or SELECTIVE (use only specified fields).
selective_mode_configuration
instance-attribute
¶
selective_mode_configuration: RerankingMetadataSelectiveModeConfiguration | RerankingMetadataSelectiveModeConfigurationDict | None
Configuration for selective mode, which allows you to explicitly include or exclude specific metadata fields during reranking. This is only used when selectionMode is set to SELECTIVE.