Skip to content

Bedrock Agent Runtime  >  Structures  >  MetadataConfigurationForReranking

MetadataConfigurationForReranking

Structure Class

MetadataConfigurationForReranking dataclass

Contains configurations for the metadata to use in reranking.

Attributes

selection_mode instance-attribute

Specifies whether to consider all metadata when reranking, or only the metadata that you select. If you specify SELECTIVE, include the selectiveModeConfiguration field.

selective_mode_configuration class-attribute instance-attribute
selective_mode_configuration: RerankingMetadataSelectiveModeConfiguration | None = None

Contains configurations for the metadata fields to include or exclude when considering reranking.