DataSourceFixedSizeChunkingConfigurationArgs

data class DataSourceFixedSizeChunkingConfigurationArgs(val maxTokens: Output<Int>, val overlapPercentage: Output<Int>) : ConvertibleToJava<DataSourceFixedSizeChunkingConfigurationArgs>

Configurations for when you choose fixed-size chunking. If you set the chunkingStrategy as NONE, exclude this field.

Constructors

constructor(maxTokens: Output<Int>, overlapPercentage: Output<Int>)

Properties

Link copied to clipboard
val maxTokens: Output<Int>

The maximum number of tokens to include in a chunk.

Link copied to clipboard
val overlapPercentage: Output<Int>

The percentage of overlap between adjacent chunks of a data source.

Functions

Link copied to clipboard
open override fun toJava(): DataSourceFixedSizeChunkingConfigurationArgs