Table of Contents

Property PassageCount

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

PassageCount

Gets the number of passages being used as context. Only meaningful when UsesFullContext is false.

public int PassageCount { get; }

Property Value

int

Examples

pdfChat.ResponseGenerationStarted += (sender, e) =>
{
    if (!e.UsesFullContext)
    {
        Console.WriteLine($"Generating from {e.PassageCount} passages");
    }
};
Share