Skip to content

MetadataConfigurationForReranking

Structure Class

MetadataConfigurationForReranking dataclass

Bases: _SerdeShape

Contains configurations for the metadata to use in reranking.

Attributes

selection_mode instance-attribute
selection_mode: 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 class-attribute instance-attribute
selective_mode_configuration: RerankingMetadataSelectiveModeConfiguration | None = ...

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