interface FieldForRerankingProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Bedrock.CfnFlowPropsMixin.FieldForRerankingProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsbedrock#CfnFlowPropsMixin_FieldForRerankingProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.bedrock.CfnFlowPropsMixin.FieldForRerankingProperty |
Python | aws_cdk.cfn_property_mixins.aws_bedrock.CfnFlowPropsMixin.FieldForRerankingProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_bedrock » CfnFlowPropsMixin » FieldForRerankingProperty |
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
// 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/cfn-property-mixins';
const fieldForRerankingProperty: bedrock.CfnFlowPropsMixin.FieldForRerankingProperty = {
fieldName: 'fieldName',
};
Properties
| Name | Type | Description |
|---|---|---|
| field | string | The name of the metadata field to be used during the reranking process. |
fieldName?
Type:
string
(optional)
The name of the metadata field to be used during the reranking process.

.NET
Go
Java
Python
TypeScript