@cdklabs/generative-ai-cdk-constructs
@cdklabs/generative-ai-cdk-constructs / bedrock / ContextEnrichment
abstract
ContextEnrichmentAbstract class representing a context enrichment strategy. The enrichment stategy used to provide additional context. For example, Neptune GraphRAG uses Amazon Bedrock foundation models to perform chunk entity extraction.
new ContextEnrichment():
ContextEnrichment
ContextEnrichment
abstract
configuration:ContextEnrichmentConfigurationProperty
The CloudFormation property representation of this configuration
abstract
generatePolicyStatements():PolicyStatement
[]
PolicyStatement
[]
static
foundationModel(props
):ContextEnrichment
Creates a Foundation Model-based enrichment strategy used to provide additional context to the RAG application.
FoundationModelContextEnrichmentProps
ContextEnrichment