Skip to content

FixedSizeChunkingConfigurationDict

Dictionary Type

FixedSizeChunkingConfigurationDict

Bases: TypedDict

Dictionary form of FixedSizeChunkingConfiguration.

Attributes

max_tokens instance-attribute
max_tokens: Required[int]

The maximum number of tokens to include in a chunk.

overlap_percentage instance-attribute
overlap_percentage: Required[int]

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