Property Model
- Namespace
- LMKit.Extraction
- Assembly
- LM-Kit.NET.dll
Model
Gets the language model instance used to drive the extraction process.
public LM Model { get; }
Property Value
Examples
var te = new TextExtraction(LM.LoadFromModelID("lmkit-tasks:4b-preview"));
Console.WriteLine($"Context length: {te.Model.ContextLength}");
// Use model capabilities to tailor configuration
te.PreferredInferenceModality = te.Model.HasVision ? InferenceModality.Multimodal : InferenceModality.Text;