MetadataConfigurationForReranking
¶
Source code in docs_src/capo_bedrock/types/metadata_configuration_for_reranking.py
selection_mode
instance-attribute
¶
selection_mode: RerankingMetadataSelectionMode
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: NotRequired[RerankingMetadataSelectiveModeConfiguration]
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.