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.contextEnrichmentConfiguration
(Consumer<ContextEnrichmentConfiguration.Builder> contextEnrichmentConfiguration) The context enrichment configuration used for ingestion of the data into the vector store.contextEnrichmentConfiguration
(ContextEnrichmentConfiguration contextEnrichmentConfiguration) The context enrichment configuration used for ingestion of the data into the vector store.customTransformationConfiguration
(Consumer<CustomTransformationConfiguration.Builder> customTransformationConfiguration) A custom document transformer for parsed data source documents.customTransformationConfiguration
(CustomTransformationConfiguration customTransformationConfiguration) A custom document transformer for parsed data source documents.parsingConfiguration
(Consumer<ParsingConfiguration.Builder> parsingConfiguration) Configurations for a parser to use for parsing documents in your data source.parsingConfiguration
(ParsingConfiguration parsingConfiguration) Configurations for a parser to use for parsing documents in your 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, 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:
-
contextEnrichmentConfiguration
VectorIngestionConfiguration.Builder contextEnrichmentConfiguration(ContextEnrichmentConfiguration contextEnrichmentConfiguration) The context enrichment configuration used for ingestion of the data into the vector store.
- Parameters:
contextEnrichmentConfiguration
- The context enrichment configuration used for ingestion of the data into the vector store.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contextEnrichmentConfiguration
default VectorIngestionConfiguration.Builder contextEnrichmentConfiguration(Consumer<ContextEnrichmentConfiguration.Builder> contextEnrichmentConfiguration) The context enrichment configuration used for ingestion of the data into the vector store.
This is a convenience method that creates an instance of theContextEnrichmentConfiguration.Builder
avoiding the need to create one manually viaContextEnrichmentConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocontextEnrichmentConfiguration(ContextEnrichmentConfiguration)
.- Parameters:
contextEnrichmentConfiguration
- a consumer that will call methods onContextEnrichmentConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
customTransformationConfiguration
VectorIngestionConfiguration.Builder customTransformationConfiguration(CustomTransformationConfiguration customTransformationConfiguration) A custom document transformer for parsed data source documents.
- Parameters:
customTransformationConfiguration
- A custom document transformer for parsed data source documents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customTransformationConfiguration
default VectorIngestionConfiguration.Builder customTransformationConfiguration(Consumer<CustomTransformationConfiguration.Builder> customTransformationConfiguration) A custom document transformer for parsed data source documents.
This is a convenience method that creates an instance of theCustomTransformationConfiguration.Builder
avoiding the need to create one manually viaCustomTransformationConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocustomTransformationConfiguration(CustomTransformationConfiguration)
.- Parameters:
customTransformationConfiguration
- a consumer that will call methods onCustomTransformationConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
parsingConfiguration
VectorIngestionConfiguration.Builder parsingConfiguration(ParsingConfiguration parsingConfiguration) Configurations for a parser to use for parsing documents in your data source. If you exclude this field, the default parser will be used.
- Parameters:
parsingConfiguration
- Configurations for a parser to use for parsing documents in your data source. If you exclude this field, the default parser will be used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parsingConfiguration
default VectorIngestionConfiguration.Builder parsingConfiguration(Consumer<ParsingConfiguration.Builder> parsingConfiguration) Configurations for a parser to use for parsing documents in your data source. If you exclude this field, the default parser will be used.
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:
-