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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default BedrockFoundationModelContextEnrichmentConfiguration.BuilderenrichmentStrategyConfiguration(Consumer<EnrichmentStrategyConfiguration.Builder> enrichmentStrategyConfiguration)The enrichment stategy used to provide additional context.BedrockFoundationModelContextEnrichmentConfiguration.BuilderenrichmentStrategyConfiguration(EnrichmentStrategyConfiguration enrichmentStrategyConfiguration)The enrichment stategy used to provide additional context.BedrockFoundationModelContextEnrichmentConfiguration.BuildermodelArn(String modelArn)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.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
enrichmentStrategyConfiguration
BedrockFoundationModelContextEnrichmentConfiguration.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.
-
enrichmentStrategyConfiguration
default 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 onEnrichmentStrategyConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
enrichmentStrategyConfiguration(EnrichmentStrategyConfiguration)
-
modelArn
BedrockFoundationModelContextEnrichmentConfiguration.Builder modelArn(String modelArn)
The 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.
-
-