Share via


VectorStoreStaticChunkingStrategyOptions interface

Options to configure a vector store static chunking strategy.

Properties

chunkOverlapTokens

The number of tokens that overlap between chunks. The default value is 400. Note that the overlap must not exceed half of max_chunk_size_tokens.

maxChunkSizeTokens

The maximum number of tokens in each chunk. The default value is 800. The minimum value is 100 and the maximum value is 4096.

Property Details

chunkOverlapTokens

The number of tokens that overlap between chunks. The default value is 400. Note that the overlap must not exceed half of max_chunk_size_tokens.

chunkOverlapTokens: number

Property Value

number

maxChunkSizeTokens

The maximum number of tokens in each chunk. The default value is 800. The minimum value is 100 and the maximum value is 4096.

maxChunkSizeTokens: number

Property Value

number