Table of Contents

Property ExceededTokenBudget

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

ExceededTokenBudget

Gets a value indicating whether the document exceeded the available token budget.

public bool ExceededTokenBudget { get; }

Property Value

bool

Examples

var result = await chat.LoadDocumentAsync("large-manual.pdf");

if (result.ExceededTokenBudget)
    Console.WriteLine("Document was too large for full context; using passage retrieval.");

Remarks

When true, the document was too large to fit within the remaining FullDocumentTokenBudget and was processed using PassageRetrieval instead.

Share