Property DocumentCount
DocumentCount
Gets the total number of documents currently loaded.
public int DocumentCount { get; }
Property Value
Examples
using var chat = new PdfChat(chatModel, embeddingModel);
await chat.LoadDocumentAsync("report.pdf");
await chat.LoadDocumentAsync("appendix.pdf");
Console.WriteLine($"Total documents loaded: {chat.DocumentCount}");