LM-Kit.NET 2026.3.2

Released: Mar 8, 2026

2026.3.2 での更新項目

機能

  • Added model cards for qwen3-coder:30b-a3b and lightonocr-2-bbox:1b.
  • Added SearchHighlightEngine (LMKit.Document.Search): searches text in paginated documents (PDF or image) and produces a highlighted copy. Supports exact, regex, and fuzzy (Damerau-Levenshtein) matching. Accepts optional pre-computed PageElement instances for raster PDFs or images.
  • Added SearchHighlightOptions, SearchHighlightResult, HighlightAppearance, and SearchMode enum (LMKit.Document.Search).
  • Added pdf_search_highlight built-in tool: searches text in a PDF and saves a highlighted copy with matches visually marked.
  • Added LM.TensorOverride (LMKit.Model): enables fine-grained control over tensor device placement via regex pattern matching, particularly useful for offloading MoE (Mixture of Experts) expert weights to CPU while keeping attention layers on GPU. Includes factory methods TensorOverride.Cpu(pattern) and TensorOverride.Gpu(pattern, gpuIndex).
  • Added LM.DeviceConfiguration.TensorOverrides property to configure per-tensor device placement at model load time.
  • Automatic memory extraction in MultiTurnConversation (LMKit.TextGeneration): when AgentMemory.ExtractionMode is set to LlmBased, conversations now automatically extract and store facts after each turn. Previously, automatic extraction only worked through the Agent pipeline. This enables memory extraction for RagChat, PdfChat, and direct MultiTurnConversation usage.