Interface VectorIngestionConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<VectorIngestionConfiguration.Builder,
,VectorIngestionConfiguration> SdkBuilder<VectorIngestionConfiguration.Builder,
,VectorIngestionConfiguration> SdkPojo
- Enclosing class:
VectorIngestionConfiguration
public static interface VectorIngestionConfiguration.Builder
extends SdkPojo, CopyableBuilder<VectorIngestionConfiguration.Builder,VectorIngestionConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionchunkingConfiguration
(Consumer<ChunkingConfiguration.Builder> chunkingConfiguration) Details about how to chunk the documents in the data source.chunkingConfiguration
(ChunkingConfiguration chunkingConfiguration) Details about how to chunk the documents in 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 Details
-
chunkingConfiguration
VectorIngestionConfiguration.Builder chunkingConfiguration(ChunkingConfiguration chunkingConfiguration) Details about how to chunk the documents in the data source. A chunk refers to an excerpt from a data source that is returned when the knowledge base that it belongs to is queried.
- Parameters:
chunkingConfiguration
- Details about how to chunk the documents in the data source. A chunk refers to an excerpt from a data source that is returned when the knowledge base that it belongs to is queried.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
chunkingConfiguration
default VectorIngestionConfiguration.Builder chunkingConfiguration(Consumer<ChunkingConfiguration.Builder> chunkingConfiguration) Details about how to chunk the documents in the data source. A chunk refers to an excerpt from a data source that is returned when the knowledge base that it belongs to is queried.
This is a convenience method that creates an instance of theChunkingConfiguration.Builder
avoiding the need to create one manually viaChunkingConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tochunkingConfiguration(ChunkingConfiguration)
.- Parameters:
chunkingConfiguration
- a consumer that will call methods onChunkingConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-