Interface KnowledgeBaseConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<KnowledgeBaseConfiguration.Builder,KnowledgeBaseConfiguration>,SdkBuilder<KnowledgeBaseConfiguration.Builder,KnowledgeBaseConfiguration>,SdkPojo
- Enclosing class:
- KnowledgeBaseConfiguration
public static interface KnowledgeBaseConfiguration.Builder extends SdkPojo, CopyableBuilder<KnowledgeBaseConfiguration.Builder,KnowledgeBaseConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description KnowledgeBaseConfiguration.Buildertype(String type)The type of data that the data source is converted into for the knowledge base.KnowledgeBaseConfiguration.Buildertype(KnowledgeBaseType type)The type of data that the data source is converted into for the knowledge base.default KnowledgeBaseConfiguration.BuildervectorKnowledgeBaseConfiguration(Consumer<VectorKnowledgeBaseConfiguration.Builder> vectorKnowledgeBaseConfiguration)Contains details about the embeddings model that'sused to convert the data source.KnowledgeBaseConfiguration.BuildervectorKnowledgeBaseConfiguration(VectorKnowledgeBaseConfiguration vectorKnowledgeBaseConfiguration)Contains details about the embeddings model that'sused to convert the data source.-
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, sdkFields
-
-
-
-
Method Detail
-
type
KnowledgeBaseConfiguration.Builder type(String type)
The type of data that the data source is converted into for the knowledge base.
- Parameters:
type- The type of data that the data source is converted into for the knowledge base.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
KnowledgeBaseType,KnowledgeBaseType
-
type
KnowledgeBaseConfiguration.Builder type(KnowledgeBaseType type)
The type of data that the data source is converted into for the knowledge base.
- Parameters:
type- The type of data that the data source is converted into for the knowledge base.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
KnowledgeBaseType,KnowledgeBaseType
-
vectorKnowledgeBaseConfiguration
KnowledgeBaseConfiguration.Builder vectorKnowledgeBaseConfiguration(VectorKnowledgeBaseConfiguration vectorKnowledgeBaseConfiguration)
Contains details about the embeddings model that'sused to convert the data source.
- Parameters:
vectorKnowledgeBaseConfiguration- Contains details about the embeddings model that'sused to convert the data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vectorKnowledgeBaseConfiguration
default KnowledgeBaseConfiguration.Builder vectorKnowledgeBaseConfiguration(Consumer<VectorKnowledgeBaseConfiguration.Builder> vectorKnowledgeBaseConfiguration)
Contains details about the embeddings model that'sused to convert the data source.
This is a convenience method that creates an instance of theVectorKnowledgeBaseConfiguration.Builderavoiding the need to create one manually viaVectorKnowledgeBaseConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovectorKnowledgeBaseConfiguration(VectorKnowledgeBaseConfiguration).- Parameters:
vectorKnowledgeBaseConfiguration- a consumer that will call methods onVectorKnowledgeBaseConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
vectorKnowledgeBaseConfiguration(VectorKnowledgeBaseConfiguration)
-
-