Table of Contents

Property RequestedCount

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

RequestedCount

Gets the maximum number of passages that were requested.

public int RequestedCount { get; }

Property Value

int

Examples

pdfChat.PassageRetrievalCompleted += (sender, e) =>
{
    if (e.RetrievedCount < e.RequestedCount)
    {
        Console.WriteLine($"Only {e.RetrievedCount} of {e.RequestedCount} requested passages were found");
    }
};
Share