Table of Contents

Property Guidance

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

Guidance

Gets or sets semantic guidance for the splitting process.

public string Guidance { get; set; }

Property Value

string

A string providing contextual guidance to improve detection accuracy. Defaults to an empty string.

Examples

// Load a vision-capable model (8B or larger recommended)
LM model = LM.LoadFromModelID("qwen3-vl:8b");

// Provide guidance about expected document types
var splitter = new DocumentSplitting(model)
{
    Guidance = "The file contains a mix of invoices and purchase orders."
};

DocumentSplittingResult result = splitter.Split(new Attachment("batch.pdf"));
Console.WriteLine($"Found {result.DocumentCount} document(s)");

Remarks

Guidance can be used to provide additional context or instructions to the language model, helping it better understand the types of documents contained in the file.