Skip to content

MetadataConfigurationForRerankingDict

Dictionary Type

MetadataConfigurationForRerankingDict

Bases: TypedDict

Dictionary form of MetadataConfigurationForReranking.

Attributes

selection_mode instance-attribute
selection_mode: Required[str]

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

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.