RerankingMetadataSelectiveModeConfigurationDict¶
Union Type¶
RerankingMetadataSelectiveModeConfigurationDict
module-attribute
¶
RerankingMetadataSelectiveModeConfigurationDict = Union[RerankingMetadataSelectiveModeConfigurationFieldsToIncludeDict | RerankingMetadataSelectiveModeConfigurationFieldsToExcludeDict]
Dictionary form of RerankingMetadataSelectiveModeConfiguration,
setting exactly one variant.
Union Member Types¶
RerankingMetadataSelectiveModeConfigurationFieldsToIncludeDict
¶
Bases: TypedDict
Attributes¶
fields_to_include
instance-attribute
¶
fields_to_include: Sequence[FieldForReranking | FieldForRerankingDict]
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
¶
fields_to_exclude: Sequence[FieldForReranking | FieldForRerankingDict]
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.