RerankingMetadataSelectiveModeConfiguration¶
Union Type¶
RerankingMetadataSelectiveModeConfiguration
module-attribute
¶
RerankingMetadataSelectiveModeConfiguration = Union[RerankingMetadataSelectiveModeConfigurationFieldsToInclude | RerankingMetadataSelectiveModeConfigurationFieldsToExclude | RerankingMetadataSelectiveModeConfigurationUnknown]
Contains configurations for the metadata fields to include or exclude
when considering reranking. If you include the fieldsToExclude field,
the reranker ignores all the metadata fields that you specify. If you
include the fieldsToInclude field, the reranker uses only the metadata
fields that you specify and ignores all others. You can include only one
of these fields.
Union Member Types¶
RerankingMetadataSelectiveModeConfigurationFieldsToInclude
dataclass
¶
An array of objects, each of which specifies a metadata field to include in consideration when reranking. The remaining metadata fields are ignored.