Skip to content
v2.273.0

FieldForRerankingProperty Struct ​

Specifies a field to be used during the reranking process in a Knowledge Base vector search.

This structure identifies metadata fields that should be considered when reordering search results to improve relevance.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrock as bedrock } from 'aws-cdk-lib';
const fieldForRerankingProperty: bedrock.CfnFlow.FieldForRerankingProperty = {
  fieldName: 'fieldName',
};

Properties ​

fieldNamestringfield_namestrfieldNameStringFieldNamestringFieldName*stringrequired#
The name of the metadata field to be used during the reranking process.