Context enrichment configuration is used to provide additional context to the RAG application using Amazon Bedrock foundation models.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{
"EnrichmentStrategyConfiguration" : EnrichmentStrategyConfiguration
,
"ModelArn" : String
}
Properties
EnrichmentStrategyConfiguration
-
The enrichment stategy used to provide additional context. For example, Neptune GraphRAG uses Amazon Bedrock foundation models to perform chunk entity extraction.
Required: Yes
Type: EnrichmentStrategyConfiguration
Update requires: No interruption
ModelArn
-
The Amazon Resource Name (ARN) of the model used to create vector embeddings for the knowledge base.
Required: Yes
Type: String
Pattern:
^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}::foundation-model/([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.]?[a-z0-9-]{1,63})([:][a-z0-9-]{1,63}){0,2})|(arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:(|[0-9a-z-]{1,20}):(|[0-9]{12}):(inference-profile|application-inference-profile)/[a-zA-Z0-9-:.]+)$
Minimum:
1
Maximum:
2048
Update requires: No interruption