Table of Contents

Property MaxChunkSize

Namespace
LMKit.Retrieval
Assembly
LM-Kit.NET.dll

MaxChunkSize

Gets or sets the maximum target size of a produced chunk, expressed in tokens.

public int MaxChunkSize { get; set; }

Property Value

int

The default value is 500.

Examples

var htmlChunker = new HtmlChunking { MaxChunkSize = 300 };
ragEngine.DefaultIChunking = htmlChunker;
Share