interface ContextEnrichmentConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Bedrock.CfnDataSourcePropsMixin.ContextEnrichmentConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsbedrock#CfnDataSourcePropsMixin_ContextEnrichmentConfigurationProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.bedrock.CfnDataSourcePropsMixin.ContextEnrichmentConfigurationProperty |
Python | aws_cdk.cfn_property_mixins.aws_bedrock.CfnDataSourcePropsMixin.ContextEnrichmentConfigurationProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_bedrock » 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 { aws_bedrock as bedrock } from '@aws-cdk/cfn-property-mixins';
const contextEnrichmentConfigurationProperty: bedrock.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