Interface BedrockFoundationModelContextEnrichmentConfiguration.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<BedrockFoundationModelContextEnrichmentConfiguration.Builder,,- BedrockFoundationModelContextEnrichmentConfiguration> - SdkBuilder<BedrockFoundationModelContextEnrichmentConfiguration.Builder,,- BedrockFoundationModelContextEnrichmentConfiguration> - SdkPojo
- Enclosing class:
- BedrockFoundationModelContextEnrichmentConfiguration
@Mutable
@NotThreadSafe
public static interface BedrockFoundationModelContextEnrichmentConfiguration.Builder
extends SdkPojo, CopyableBuilder<BedrockFoundationModelContextEnrichmentConfiguration.Builder,BedrockFoundationModelContextEnrichmentConfiguration> 
- 
Method SummaryModifier and TypeMethodDescriptionenrichmentStrategyConfiguration(Consumer<EnrichmentStrategyConfiguration.Builder> enrichmentStrategyConfiguration) The enrichment stategy used to provide additional context.enrichmentStrategyConfiguration(EnrichmentStrategyConfiguration enrichmentStrategyConfiguration) The enrichment stategy used to provide additional context.The Amazon Resource Name (ARN) of the model used to create vector embeddings for the knowledge base.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
enrichmentStrategyConfigurationBedrockFoundationModelContextEnrichmentConfiguration.Builder enrichmentStrategyConfiguration(EnrichmentStrategyConfiguration enrichmentStrategyConfiguration) The enrichment stategy used to provide additional context. For example, Neptune GraphRAG uses Amazon Bedrock foundation models to perform chunk entity extraction. - Parameters:
- enrichmentStrategyConfiguration- The enrichment stategy used to provide additional context. For example, Neptune GraphRAG uses Amazon Bedrock foundation models to perform chunk entity extraction.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
enrichmentStrategyConfigurationdefault BedrockFoundationModelContextEnrichmentConfiguration.Builder enrichmentStrategyConfiguration(Consumer<EnrichmentStrategyConfiguration.Builder> enrichmentStrategyConfiguration) The enrichment stategy used to provide additional context. For example, Neptune GraphRAG uses Amazon Bedrock foundation models to perform chunk entity extraction. This is a convenience method that creates an instance of theEnrichmentStrategyConfiguration.Builderavoiding the need to create one manually viaEnrichmentStrategyConfiguration.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toenrichmentStrategyConfiguration(EnrichmentStrategyConfiguration).- Parameters:
- enrichmentStrategyConfiguration- a consumer that will call methods on- EnrichmentStrategyConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
modelArnThe Amazon Resource Name (ARN) of the model used to create vector embeddings for the knowledge base. - Parameters:
- modelArn- The Amazon Resource Name (ARN) of the model used to create vector embeddings for the knowledge base.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-