ChunkingOptions.MaxChunkSize

ChunkingOptions.MaxChunkSize property

Gets or sets the maximum size of each chunk in tokens.

public int MaxChunkSize { get; set; }

Property Value

The maximum chunk size in tokens. Must be between MinimumChunkSize and MaximumChunkSize. Default is DefaultMaxChunkSize.

Exceptions

exceptioncondition
ArgumentOutOfRangeExceptionThrown when the value is less than MinimumChunkSize or greater than MaximumChunkSize.

See Also