Table of Contents

Property HasDocuments

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

HasDocuments

Gets whether any documents have been loaded.

public bool HasDocuments { get; }

Property Value

bool

Examples

using var chat = new PdfChat(chatModel, embeddingModel);

if (!chat.HasDocuments)
{
    Console.WriteLine("No documents loaded. Please load a PDF first.");
}
Share