Interface VectorIngestionConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<VectorIngestionConfiguration.Builder,
,VectorIngestionConfiguration> SdkBuilder<VectorIngestionConfiguration.Builder,
,VectorIngestionConfiguration> SdkPojo
- Enclosing class:
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.parsingConfiguration
(Consumer<ParsingConfiguration.Builder> parsingConfiguration) A custom parser for data source documents.parsingConfiguration
(ParsingConfiguration parsingConfiguration) A custom parser for data source documents.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 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:
-
parsingConfiguration
VectorIngestionConfiguration.Builder parsingConfiguration(ParsingConfiguration parsingConfiguration) A custom parser for data source documents.
- Parameters:
parsingConfiguration
- A custom parser for data source documents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parsingConfiguration
default VectorIngestionConfiguration.Builder parsingConfiguration(Consumer<ParsingConfiguration.Builder> parsingConfiguration) A custom parser for data source documents.
This is a convenience method that creates an instance of theParsingConfiguration.Builder
avoiding the need to create one manually viaParsingConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toparsingConfiguration(ParsingConfiguration)
.- Parameters:
parsingConfiguration
- a consumer that will call methods onParsingConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-