Show / Hide Table of Contents

Interface CfnDataSourcePropsMixin.IBedrockFoundationModelContextEnrichmentConfigurationProperty

Context enrichment configuration is used to provide additional context to the RAG application using Amazon Bedrock foundation models.

Namespace: Amazon.CDK.Mixins.Preview.AWS.Bedrock.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public interface CfnDataSourcePropsMixin.IBedrockFoundationModelContextEnrichmentConfigurationProperty
Syntax (vb)
Public Interface CfnDataSourcePropsMixin.IBedrockFoundationModelContextEnrichmentConfigurationProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-bedrockfoundationmodelcontextenrichmentconfiguration.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.Mixins.Preview.AWS.Bedrock.Mixins;

             var bedrockFoundationModelContextEnrichmentConfigurationProperty = new BedrockFoundationModelContextEnrichmentConfigurationProperty {
                 EnrichmentStrategyConfiguration = new EnrichmentStrategyConfigurationProperty {
                     Method = "method"
                 },
                 ModelArn = "modelArn"
             };

Synopsis

Properties

EnrichmentStrategyConfiguration

The enrichment stategy used to provide additional context.

ModelArn

The Amazon Resource Name (ARN) of the model used to create vector embeddings for the knowledge base.

Properties

EnrichmentStrategyConfiguration

The enrichment stategy used to provide additional context.

object? EnrichmentStrategyConfiguration { get; }
Property Value

object

Remarks

For example, Neptune GraphRAG uses Amazon Bedrock foundation models to perform chunk entity extraction.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-bedrockfoundationmodelcontextenrichmentconfiguration.html#cfn-bedrock-datasource-bedrockfoundationmodelcontextenrichmentconfiguration-enrichmentstrategyconfiguration

Type union: either IResolvable or CfnDataSourcePropsMixin.IEnrichmentStrategyConfigurationProperty

ModelArn

The Amazon Resource Name (ARN) of the model used to create vector embeddings for the knowledge base.

string? ModelArn { get; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-datasource-bedrockfoundationmodelcontextenrichmentconfiguration.html#cfn-bedrock-datasource-bedrockfoundationmodelcontextenrichmentconfiguration-modelarn

Back to top Generated by DocFX