interface BedrockFoundationModelContextEnrichmentConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Bedrock.Mixins.CfnDataSourcePropsMixin.BedrockFoundationModelContextEnrichmentConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsbedrock/mixins#CfnDataSourcePropsMixin_BedrockFoundationModelContextEnrichmentConfigurationProperty |
Java | software.amazon.awscdk.mixins.preview.services.bedrock.mixins.CfnDataSourcePropsMixin.BedrockFoundationModelContextEnrichmentConfigurationProperty |
Python | aws_cdk.mixins_preview.aws_bedrock.mixins.CfnDataSourcePropsMixin.BedrockFoundationModelContextEnrichmentConfigurationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_bedrock » mixins » 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 { mixins as bedrock_mixins } from '@aws-cdk/mixins-preview/aws-bedrock';
const bedrockFoundationModelContextEnrichmentConfigurationProperty: bedrock_mixins.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