Table of Contents

Property Phase

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

Phase

Gets the current phase of the import operation.

public DocumentImportPhase Phase { get; }

Property Value

DocumentImportPhase

Examples

pdfChat.DocumentImportProgress += (sender, e) =>
{
    if (e.Phase == DocumentImportPhase.EmbeddingStarted)
    {
        Console.WriteLine($"Generating embeddings for {e.SectionCount} sections...");
    }
};
Share