Class ChunkingStrategyStatic
Inheritance
object
ChunkingStrategyStatic
Namespace: Glitch9.AIDevKit.OpenAI
Assembly: .dll
Syntax
public class ChunkingStrategyStatic
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_chunksize_tokens.
Declaration
public int ChunkOverlapTokens { get; set; }
Property Value
Type | Description |
---|---|
int |
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.
Declaration
public int MaxChunkSizeTokens { get; set; }
Property Value
Type | Description |
---|---|
int |