Property HasDocuments
HasDocuments
Gets whether any documents have been loaded.
public bool HasDocuments { get; }
Property Value
Examples
using var chat = new PdfChat(chatModel, embeddingModel);
if (!chat.HasDocuments)
{
Console.WriteLine("No documents loaded. Please load a PDF first.");
}