Table of Contents

Property SectionCount

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

SectionCount

Gets the number of text sections to embed. Only meaningful during EmbeddingStarted and EmbeddingCompleted phases.

public int SectionCount { get; }

Property Value

int

Examples

pdfChat.DocumentImportProgress += (sender, e) =>
{
    if (e.Phase == DocumentImportPhase.EmbeddingCompleted)
    {
        Console.WriteLine($"Embedded {e.SectionCount} text sections");
    }
};
Share