Interface CfnDataSourcePropsMixin.BedrockFoundationModelContextEnrichmentConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDataSourcePropsMixin.BedrockFoundationModelContextEnrichmentConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnDataSourcePropsMixin
@Stability(Stable)
public static interface CfnDataSourcePropsMixin.BedrockFoundationModelContextEnrichmentConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Context enrichment configuration is used to provide additional context to the RAG application using Amazon Bedrock foundation models.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.bedrock.*;
BedrockFoundationModelContextEnrichmentConfigurationProperty bedrockFoundationModelContextEnrichmentConfigurationProperty = BedrockFoundationModelContextEnrichmentConfigurationProperty.builder()
.enrichmentStrategyConfiguration(EnrichmentStrategyConfigurationProperty.builder()
.method("method")
.build())
.modelArn("modelArn")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnDataSourcePropsMixin.BedrockFoundationModelContextEnrichmentConfigurationProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEnrichmentStrategyConfiguration
The enrichment stategy used to provide additional context.For example, Neptune GraphRAG uses Amazon Bedrock foundation models to perform chunk entity extraction.
Returns union: either
IResolvableorCfnDataSourcePropsMixin.EnrichmentStrategyConfigurationProperty- See Also:
-
getModelArn
The Amazon Resource Name (ARN) of the model used to create vector embeddings for the knowledge base.- See Also:
-
builder
@Stability(Stable) static CfnDataSourcePropsMixin.BedrockFoundationModelContextEnrichmentConfigurationProperty.Builder builder()
-