Skip to content

RerankingMetadataSelectiveModeConfigurationDict

Union Type

RerankingMetadataSelectiveModeConfigurationDict module-attribute

Dictionary form of RerankingMetadataSelectiveModeConfiguration, setting exactly one variant.

Union Member Types

RerankingMetadataSelectiveModeConfigurationFieldsToIncludeDict

Bases: TypedDict

Attributes

fields_to_include instance-attribute

A list of metadata field names to explicitly include in the reranking process. Only these fields will be considered when reordering search results. This parameter cannot be used together with fieldsToExclude.

RerankingMetadataSelectiveModeConfigurationFieldsToExcludeDict

Bases: TypedDict

Attributes

fields_to_exclude instance-attribute

A list of metadata field names to explicitly exclude from the reranking process. All metadata fields except these will be considered when reordering search results. This parameter cannot be used together with fieldsToInclude.