AWS::Bedrock::FlowVersion RerankingMetadataSelectiveModeConfiguration - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.

AWS::Bedrock::FlowVersion RerankingMetadataSelectiveModeConfiguration

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.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

Properties

FieldsToExclude

An array of objects, each of which specifies a metadata field to exclude from consideration when reranking.

Required: No

Type: Array of FieldForReranking

Minimum: 1

Maximum: 100

Update requires: No interruption

FieldsToInclude

An array of objects, each of which specifies a metadata field to include in consideration when reranking. The remaining metadata fields are ignored.

Required: No

Type: Array of FieldForReranking

Minimum: 1

Maximum: 100

Update requires: No interruption