LM-Kit.NET 2026.7.4
Released: Jul 22, 2026
2026.7.4 中的更新
特性
- PDF redaction (LMKit.Document.Pdf.PdfRedactor): Permanently removes content from PDFs (text glyphs, image pixels, vector graphics, annotations, Form XObject content) by search term, page area, or /Redact annotation. Removed content is unrecoverable.
- Smart redaction: Combine on-device PII detection (LMKit.TextAnalysis.PiiExtraction) with PdfRedactor to detect, review, and permanently remove sensitive data from PDFs. Added a new smart_pii_redaction sample.
- Added Windows Icon (ICO / CUR) image decoding.
- Added AVIF (AV1 image) decoding.
- Embedding provider abstraction (LMKit.Abstractions.IEmbedder): Pluggable embedding backends across RAG and other consumers, with EmbedderBase for writing a custom provider in a single method. The LM-based RagEngine constructors are now obsolete; wrap a local model with new Embedder(model).
- Amazon Bedrock embeddings (LMKit.Integrations.Aws.Embeddings.BedrockEmbedder): Use Amazon Titan and Cohere embedding models via AWS Bedrock as an IEmbedder.
- Microsoft.Extensions.AI embeddings: Use any IEmbeddingGenerator as an IEmbedder via ExtensionsAIEmbedder / AsEmbedder().