ChunkingOptions.OverlapSize

ChunkingOptions.OverlapSize property

Gets or sets the number of tokens to overlap between consecutive chunks.

public int OverlapSize { get; set; }

Property Value

The overlap size in tokens. Must be non-negative and less than MaxChunkSize. Default is DefaultOverlapSize.

Exceptions

exceptioncondition
ArgumentOutOfRangeExceptionThrown when the value is negative.

See Also