Table of Contents

Property Intent

Namespace
LMKit.Extraction.Ocr
Assembly
LM-Kit.NET.dll

Intent

Gets the resolved intent that governs how the OCR engine instructs the model and post-processes its output.

public VlmOcrIntent Intent { get; }

Property Value

VlmOcrIntent

Examples

var ocr = new VlmOcr(model, VlmOcrIntent.Undefined);
Console.WriteLine($"Resolved intent: {ocr.Intent}"); // e.g. VlmOcrIntent.Markdown

Remarks

When Undefined is passed to the constructor, the engine resolves a default intent based on the loaded model family. This property always returns the resolved value, never Undefined.

Share