Class ChunkingStrategyStatic
Inherited Members
Namespace: Glitch9.AIDevKit.OpenAI
Assembly: Glitch9.AIDevKit.Provider.OpenAI.dll
Syntax
public class ChunkingStrategyStatic
Properties
| Edit this page View SourceChunkOverlapTokens
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
[JsonProperty("chunkoverlap_tokens")]
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
[JsonProperty("max_chunksize_tokens")]
public int MaxChunkSizeTokens { get; set; }
Property Value
| Type | Description |
|---|---|
| int |