Skip to content

MetadataConfigurationForRerankingDict

Dictionary Type

MetadataConfigurationForRerankingDict

Bases: TypedDict

Dictionary form of MetadataConfigurationForReranking.

Attributes

selection_mode instance-attribute
selection_mode: Required[str]

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 instance-attribute

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