Table of Contents

Property FullDocumentTokenBudget

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

FullDocumentTokenBudget

Gets or sets the maximum token budget for full document inclusion.

public int FullDocumentTokenBudget { get; set; }

Property Value

int

The token budget, clamped between 256 and 75% of ContextSize. Default is 4096.

Remarks

Documents whose total token count fits within this budget are included in full when PreferFullDocumentContext is true. Documents exceeding this budget are chunked, with relevant passages retrieved per query.