Property Instruction
- Namespace
- LMKit.Extraction.Ocr
- Assembly
- LM-Kit.NET.dll
Instruction
Gets or sets the natural-language instruction used to guide the transcription.
public string Instruction { get; set; }
Property Value
Examples
var ocr = new VlmOcr(model)
{
Instruction = "Transcribe this page as Markdown."
};
Remarks
This instruction is provided to the underlying model along with the image and can be used to influence the output format (for example, plain text, lightly structured text, or other conventions supported by the model).
If set to null, the value is treated as an empty string. When empty, the
engine relies on model- and configuration-specific defaults for how text should
be returned.