interface RerankingMetadataSelectiveModeConfigurationProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.aws_bedrock.CfnFlow.RerankingMetadataSelectiveModeConfigurationProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsbedrock#CfnFlow_RerankingMetadataSelectiveModeConfigurationProperty |
![]() | software.amazon.awscdk.services.bedrock.CfnFlow.RerankingMetadataSelectiveModeConfigurationProperty |
![]() | aws_cdk.aws_bedrock.CfnFlow.RerankingMetadataSelectiveModeConfigurationProperty |
![]() | aws-cdk-lib » aws_bedrock » CfnFlow » RerankingMetadataSelectiveModeConfigurationProperty |
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.
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-lib';
const rerankingMetadataSelectiveModeConfigurationProperty: bedrock.CfnFlow.RerankingMetadataSelectiveModeConfigurationProperty = {
fieldsToExclude: [{
fieldName: 'fieldName',
}],
fieldsToInclude: [{
fieldName: 'fieldName',
}],
};
Properties
Name | Type | Description |
---|---|---|
fields | IResolvable | IResolvable | Field [] | A list of metadata field names to explicitly exclude from the reranking process. |
fields | IResolvable | IResolvable | Field [] | A list of metadata field names to explicitly include in the reranking process. |
fieldsToExclude?
Type:
IResolvable
|
IResolvable
|
Field
[]
(optional)
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.
fieldsToInclude?
Type:
IResolvable
|
IResolvable
|
Field
[]
(optional)
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.