interface ContextEnrichmentConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Bedrock.Mixins.CfnDataSourcePropsMixin.ContextEnrichmentConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsbedrock/mixins#CfnDataSourcePropsMixin_ContextEnrichmentConfigurationProperty |
Java | software.amazon.awscdk.mixins.preview.services.bedrock.mixins.CfnDataSourcePropsMixin.ContextEnrichmentConfigurationProperty |
Python | aws_cdk.mixins_preview.aws_bedrock.mixins.CfnDataSourcePropsMixin.ContextEnrichmentConfigurationProperty |
TypeScript | @aws-cdk/mixins-preview » aws_bedrock » mixins » CfnDataSourcePropsMixin » ContextEnrichmentConfigurationProperty |
Context enrichment configuration is used to provide additional context to the RAG application.
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 contextEnrichmentConfigurationProperty: bedrock_mixins.CfnDataSourcePropsMixin.ContextEnrichmentConfigurationProperty = {
bedrockFoundationModelConfiguration: {
enrichmentStrategyConfiguration: {
method: 'method',
},
modelArn: 'modelArn',
},
type: 'type',
};
Properties
| Name | Type | Description |
|---|---|---|
| bedrock | IResolvable | Bedrock | The configuration of the Amazon Bedrock foundation model used for context enrichment. |
| type? | string | The method used for context enrichment. |
bedrockFoundationModelConfiguration?
Type:
IResolvable | Bedrock
(optional)
The configuration of the Amazon Bedrock foundation model used for context enrichment.
type?
Type:
string
(optional)
The method used for context enrichment.
It must be Amazon Bedrock foundation models.

.NET
Go
Java
Python
TypeScript