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
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
Remarks
For example, Neptune GraphRAG uses Amazon Bedrock foundation models to perform chunk entity extraction.
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; }