Interface CfnDataSourcePropsMixin.ContextEnrichmentConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDataSourcePropsMixin.ContextEnrichmentConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnDataSourcePropsMixin
@Stability(Stable)
public static interface CfnDataSourcePropsMixin.ContextEnrichmentConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.mixins.preview.services.bedrock.mixins.*;
ContextEnrichmentConfigurationProperty contextEnrichmentConfigurationProperty = ContextEnrichmentConfigurationProperty.builder()
.bedrockFoundationModelConfiguration(BedrockFoundationModelContextEnrichmentConfigurationProperty.builder()
.enrichmentStrategyConfiguration(EnrichmentStrategyConfigurationProperty.builder()
.method("method")
.build())
.modelArn("modelArn")
.build())
.type("type")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnDataSourcePropsMixin.ContextEnrichmentConfigurationProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBedrockFoundationModelConfiguration
The configuration of the Amazon Bedrock foundation model used for context enrichment.Returns union: either
IResolvableorCfnDataSourcePropsMixin.BedrockFoundationModelContextEnrichmentConfigurationProperty- See Also:
-
getType
The method used for context enrichment.It must be Amazon Bedrock foundation models.
- See Also:
-
builder
@Stability(Stable) static CfnDataSourcePropsMixin.ContextEnrichmentConfigurationProperty.Builder builder()
-