interface BedrockFoundationModelContextEnrichmentConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Bedrock.CfnDataSourcePropsMixin.BedrockFoundationModelContextEnrichmentConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsbedrock#CfnDataSourcePropsMixin_BedrockFoundationModelContextEnrichmentConfigurationProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.bedrock.CfnDataSourcePropsMixin.BedrockFoundationModelContextEnrichmentConfigurationProperty |
Python | aws_cdk.cfn_property_mixins.aws_bedrock.CfnDataSourcePropsMixin.BedrockFoundationModelContextEnrichmentConfigurationProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_bedrock » CfnDataSourcePropsMixin » BedrockFoundationModelContextEnrichmentConfigurationProperty |
Context enrichment configuration is used to provide additional context to the RAG application using Amazon Bedrock foundation models.
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/cfn-property-mixins';
const bedrockFoundationModelContextEnrichmentConfigurationProperty: bedrock.CfnDataSourcePropsMixin.BedrockFoundationModelContextEnrichmentConfigurationProperty = {
enrichmentStrategyConfiguration: {
method: 'method',
},
modelArn: 'modelArn',
};
Properties
| Name | Type | Description |
|---|---|---|
| enrichment | IResolvable | Enrichment | The enrichment stategy used to provide additional context. |
| model | string | The Amazon Resource Name (ARN) of the model used to create vector embeddings for the knowledge base. |
enrichmentStrategyConfiguration?
Type:
IResolvable | Enrichment
(optional)
The enrichment stategy used to provide additional context.
For example, Neptune GraphRAG uses Amazon Bedrock foundation models to perform chunk entity extraction.
modelArn?
Type:
string
(optional)
The Amazon Resource Name (ARN) of the model used to create vector embeddings for the knowledge base.

.NET
Go
Java
Python
TypeScript