Property IndexingMode
IndexingMode
Gets the processing mode used for this document.
public DocumentIndexingResult.DocumentIndexingMode IndexingMode { get; }
Property Value
Examples
var result = await chat.LoadDocumentAsync("report.pdf");
if (result.IndexingMode == DocumentIndexingResult.DocumentIndexingMode.FullDocument)
Console.WriteLine("Document included in full context.");
else
Console.WriteLine("Document indexed for passage retrieval.");
Remarks
FullDocument indicates the document fits within the token budget and is included in full. PassageRetrieval indicates the document was chunked for per-query passage retrieval.