RerankingMetadataSelectiveModeConfiguration
Configuration for selectively including or excluding metadata fields during the reranking process. This allows you to control which metadata attributes are considered when reordering search results.
Contents
Important
This data type is a UNION, so only one of the following members can be specified when used or returned.
- fieldsToExclude
-
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.
Type: Array of FieldForReranking objects
Array Members: Minimum number of 1 item. Maximum number of 100 items.
Required: No
- fieldsToInclude
-
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.
Type: Array of FieldForReranking objects
Array Members: Minimum number of 1 item. Maximum number of 100 items.
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: