Table of Contents

Property DocumentCount

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

DocumentCount

Gets the total number of documents currently loaded.

public int DocumentCount { get; }

Property Value

int

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}");
Share