Interface VectorKnowledgeBaseConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<VectorKnowledgeBaseConfiguration.Builder,,VectorKnowledgeBaseConfiguration> SdkBuilder<VectorKnowledgeBaseConfiguration.Builder,,VectorKnowledgeBaseConfiguration> SdkPojo
- Enclosing class:
VectorKnowledgeBaseConfiguration
public static interface VectorKnowledgeBaseConfiguration.Builder
extends SdkPojo, CopyableBuilder<VectorKnowledgeBaseConfiguration.Builder,VectorKnowledgeBaseConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionembeddingModelArn(String embeddingModelArn) The Amazon Resource Name (ARN) of the model used to create vector embeddings for the knowledge base.embeddingModelConfiguration(Consumer<EmbeddingModelConfiguration.Builder> embeddingModelConfiguration) The embeddings model configuration details for the vector model used in Knowledge Base.embeddingModelConfiguration(EmbeddingModelConfiguration embeddingModelConfiguration) The embeddings model configuration details for the vector model used in Knowledge Base.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
embeddingModelArn
The Amazon Resource Name (ARN) of the model used to create vector embeddings for the knowledge base.
- Parameters:
embeddingModelArn- 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.
-
embeddingModelConfiguration
VectorKnowledgeBaseConfiguration.Builder embeddingModelConfiguration(EmbeddingModelConfiguration embeddingModelConfiguration) The embeddings model configuration details for the vector model used in Knowledge Base.
- Parameters:
embeddingModelConfiguration- The embeddings model configuration details for the vector model used in Knowledge Base.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
embeddingModelConfiguration
default VectorKnowledgeBaseConfiguration.Builder embeddingModelConfiguration(Consumer<EmbeddingModelConfiguration.Builder> embeddingModelConfiguration) The embeddings model configuration details for the vector model used in Knowledge Base.
This is a convenience method that creates an instance of theEmbeddingModelConfiguration.Builderavoiding the need to create one manually viaEmbeddingModelConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toembeddingModelConfiguration(EmbeddingModelConfiguration).- Parameters:
embeddingModelConfiguration- a consumer that will call methods onEmbeddingModelConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-