Interface FixedSizeChunkingConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<FixedSizeChunkingConfiguration.Builder,,FixedSizeChunkingConfiguration> SdkBuilder<FixedSizeChunkingConfiguration.Builder,,FixedSizeChunkingConfiguration> SdkPojo
- Enclosing class:
FixedSizeChunkingConfiguration
public static interface FixedSizeChunkingConfiguration.Builder
extends SdkPojo, CopyableBuilder<FixedSizeChunkingConfiguration.Builder,FixedSizeChunkingConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionThe maximum number of tokens to include in a chunk.overlapPercentage(Integer overlapPercentage) The percentage of overlap between adjacent chunks of a data source.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
-
maxTokens
The maximum number of tokens to include in a chunk.
- Parameters:
maxTokens- The maximum number of tokens to include in a chunk.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overlapPercentage
The percentage of overlap between adjacent chunks of a data source.
- Parameters:
overlapPercentage- The percentage of overlap between adjacent chunks of a data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-