Property ExceededTokenBudget
ExceededTokenBudget
Gets a value indicating whether the document exceeded the available token budget.
public bool ExceededTokenBudget { get; }
Property Value
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.