LM-Kit.NET 2026.5.6

Released: May 31, 2026

2026.5.6 中的更新

特性

  • Added model card for paddleocr-vl-1.6:0.9b: PaddleOCR-VL 1.6, an ultra-compact 0.9B vision-language model for document parsing (OCR, tables, formulas, charts, text spotting, seals, layout analysis), reaching 96.33% on OmniDocBench v1.6 (state of the art). Architecturally compatible with 1.5 for drop-in migration. The paddleocr-vl:0.9b model card is now deprecated in favor of paddleocr-vl-1.6:0.9b.
  • Added PostgreSQL pgvector integration (LM-Kit.NET.Data.Connectors.PgVector): a new PgVectorEmbeddingStore that implements IVectorStore on top of PostgreSQL with the pgvector extension, joining the existing Qdrant connector as a backend for embedding storage, semantic memory, and RAG. Each collection maps to a table (id text primary key, embedding vector(N), metadata jsonb); similarity search uses cosine distance (<=>) and returns cosine-similarity scores. The store is thread-safe (pooled NpgsqlDataSource) and can be constructed from a connection string or an existing data source, with an optional schema. A static PgVectorEmbeddingStore.EnsureDatabaseExistsAsync(...) helper creates the target database on demand, and the connector auto-provisions the vector extension, schema, tables, and metadata indexes on first use.