Table of Contents

Property RequestedCount

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

RequestedCount

Gets the maximum number of partitions that were requested.

public int RequestedCount { get; }

Property Value

int

Examples

ragChat.RetrievalCompleted += (sender, e) =>
{
    double ratio = (double)e.RetrievedPartitions.Count / e.RequestedCount;
    Console.WriteLine($"Retrieved {ratio:P0} of the requested {e.RequestedCount} partitions");
};
Share