Class CfnFlowVersion.RerankingMetadataSelectiveModeConfigurationProperty
Configuration for selectively including or excluding metadata fields during the reranking process.
Inherited Members
Namespace: Amazon.CDK.AWS.Bedrock
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnFlowVersion.RerankingMetadataSelectiveModeConfigurationProperty : CfnFlowVersion.IRerankingMetadataSelectiveModeConfigurationProperty
Syntax (vb)
Public Class CfnFlowVersion.RerankingMetadataSelectiveModeConfigurationProperty Implements CfnFlowVersion.IRerankingMetadataSelectiveModeConfigurationProperty
Remarks
This allows you to control which metadata attributes are considered when reordering search results.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Bedrock;
var rerankingMetadataSelectiveModeConfigurationProperty = new RerankingMetadataSelectiveModeConfigurationProperty {
FieldsToExclude = new [] { new FieldForRerankingProperty {
FieldName = "fieldName"
} },
FieldsToInclude = new [] { new FieldForRerankingProperty {
FieldName = "fieldName"
} }
};
Synopsis
Constructors
| RerankingMetadataSelectiveModeConfigurationProperty() | Configuration for selectively including or excluding metadata fields during the reranking process. |
Properties
| FieldsToExclude | A list of metadata field names to explicitly exclude from the reranking process. |
| FieldsToInclude | A list of metadata field names to explicitly include in the reranking process. |
Constructors
RerankingMetadataSelectiveModeConfigurationProperty()
Configuration for selectively including or excluding metadata fields during the reranking process.
public RerankingMetadataSelectiveModeConfigurationProperty()
Remarks
This allows you to control which metadata attributes are considered when reordering search results.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Bedrock;
var rerankingMetadataSelectiveModeConfigurationProperty = new RerankingMetadataSelectiveModeConfigurationProperty {
FieldsToExclude = new [] { new FieldForRerankingProperty {
FieldName = "fieldName"
} },
FieldsToInclude = new [] { new FieldForRerankingProperty {
FieldName = "fieldName"
} }
};
Properties
FieldsToExclude
A list of metadata field names to explicitly exclude from the reranking process.
public object? FieldsToExclude { get; set; }
Property Value
Remarks
All metadata fields except these will be considered when reordering search results. This parameter cannot be used together with fieldsToInclude.
Type union: either IResolvable or (either IResolvable or CfnFlowVersion.IFieldForRerankingProperty)[]
FieldsToInclude
A list of metadata field names to explicitly include in the reranking process.
public object? FieldsToInclude { get; set; }
Property Value
Remarks
Only these fields will be considered when reordering search results. This parameter cannot be used together with fieldsToExclude.
Type union: either IResolvable or (either IResolvable or CfnFlowVersion.IFieldForRerankingProperty)[]