Show / Hide Table of Contents

Class CfnFlowVersion.RerankingMetadataSelectiveModeConfigurationProperty

Configuration for selectively including or excluding metadata fields during the reranking process.

Inheritance
object
CfnFlowVersion.RerankingMetadataSelectiveModeConfigurationProperty
Implements
CfnFlowVersion.IRerankingMetadataSelectiveModeConfigurationProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-rerankingmetadataselectivemodeconfiguration.html

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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-rerankingmetadataselectivemodeconfiguration.html

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

object

Remarks

All metadata fields except these will be considered when reordering search results. This parameter cannot be used together with fieldsToInclude.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-rerankingmetadataselectivemodeconfiguration.html#cfn-bedrock-flowversion-rerankingmetadataselectivemodeconfiguration-fieldstoexclude

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

object

Remarks

Only these fields will be considered when reordering search results. This parameter cannot be used together with fieldsToExclude.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-flowversion-rerankingmetadataselectivemodeconfiguration.html#cfn-bedrock-flowversion-rerankingmetadataselectivemodeconfiguration-fieldstoinclude

Type union: either IResolvable or (either IResolvable or CfnFlowVersion.IFieldForRerankingProperty)[]

Implements

CfnFlowVersion.IRerankingMetadataSelectiveModeConfigurationProperty
Back to top Generated by DocFX