interface FieldForRerankingProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Bedrock.Mixins.CfnFlowPropsMixin.FieldForRerankingProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsbedrock/mixins#CfnFlowPropsMixin_FieldForRerankingProperty |
Java | software.amazon.awscdk.mixins.preview.services.bedrock.mixins.CfnFlowPropsMixin.FieldForRerankingProperty |
Python | aws_cdk.mixins_preview.aws_bedrock.mixins.CfnFlowPropsMixin.FieldForRerankingProperty |
TypeScript | @aws-cdk/mixins-preview » aws_bedrock » mixins » 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 { mixins as bedrock_mixins } from '@aws-cdk/mixins-preview/aws-bedrock';
const fieldForRerankingProperty: bedrock_mixins.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