ContextEnrichmentConfigurationProperty Struct
Context enrichment configuration is used to provide additional context to the RAG application.
Example
ts
// 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-lib';
const contextEnrichmentConfigurationProperty: bedrock.CfnDataSource.ContextEnrichmentConfigurationProperty = {
type: 'type',
// the properties below are optional
bedrockFoundationModelConfiguration: {
enrichmentStrategyConfiguration: {
method: 'method',
},
modelArn: 'modelArn',
},
};
Properties
bedrockFoundationModelConfigurationIResolvable | CfnDataSource.BedrockFoundationModelContextEnrichmentConfigurationPropertybedrock_foundation_model_configurationtyping.Union[IResolvable, BedrockFoundationModelContextEnrichmentConfigurationProperty]bedrockFoundationModelConfigurationIResolvableBedrockFoundationModelConfigurationIResolvableBedrockFoundationModelConfigurationinterface{}#The configuration of the Amazon Bedrock foundation model used for context enrichment.
The method used for context enrichment.
It must be Amazon Bedrock foundation models.