Class WhiteSpaceConfig
- Namespace
- GenerativeAI.Types
- Assembly
- GenerativeAI.dll
Configuration for the white space chunking algorithm.
public class WhiteSpaceConfig
- Inheritance
-
WhiteSpaceConfig
- Inherited Members
- Extension Methods
Properties
MaxOverlapTokens
Maximum number of overlapping tokens between two adjacent chunks.
[JsonPropertyName("maxOverlapTokens")]
public int? MaxOverlapTokens { get; set; }
Property Value
- int?
MaxTokensPerChunk
Maximum number of tokens per chunk.
[JsonPropertyName("maxTokensPerChunk")]
public int? MaxTokensPerChunk { get; set; }
Property Value
- int?