-
v0.14.0
Stablereleased this
2026-10-08 16:22:07 +02:00 | 321 commits to main since this releaseKnowledge bases: a company's documents, put in by people from their own
machines, kept apart per tenant, and answered from.Upgrading.
- pgvector on a cluster set up before this release. Knowledge bases
need pgvector, whichserver initand the high-availability database
setup now install, but a rerun on a running cluster does not:- Install
postgresql-<version>-pgvectoron every database machine. - As postgres, run
CREATE EXTENSION vectorin llmgw's database. - Restart the control planes.
Until then everything else works, andllmgw ctl kb listsays why
knowledge bases are off. On a SQLite store they stay off.
- Install
- An embedding model. A collection needs a catalog model with
capabilities.embeddings, for example bge-m3, whose weights are in the
mirror. - The client. People download
llmgw-kbfor their system from this
release.
Added
- Collections and who may read them. A collection is owned by an
organization, team, project or person. Grants add up down the tenancy
tree and never cross an organization. A collection a key may not read is
answered as one that does not exist. Chunks are kept in PostgreSQL with
pgvector, partitioned by organization, with an HNSW index per collection,
and row-level security on the table as a second line behind every
query's own filter. A project, team or organization that owns collections
is not deleted; a person's collections go with their account. llmgw-kb, its own download for Windows, macOS and Linux, run by
people with their own key. It reads documents where they are and sends
text and vectors, never the files, for what changed only; a SQLite ledger
on the machine remembers what it did.- It reads PDF, Word, Excel, PowerPoint, OpenDocument, RTF, EPUB, HTML,
MHTML, mail with attachments, notebooks, subtitles, ZIP archives, and
text and source code in any common encoding. - Legacy Office files are read with LibreOffice, and scanned pages with
Tesseract, when those are installed. --dry-runsays what would leave the machine;--deleteremoves only
what that machine sent.
- It reads PDF, Word, Excel, PowerPoint, OpenDocument, RTF, EPUB, HTML,
- Answers from documents. A chat request names collections in
X-Llmgw-Knowledge, or its part of the tree has a default (llmgw ctl kb default). The best passages, chosen by meaning plus a little for the
question's words, are added to the system message, numbered, and
x-llmgw-sourcessays which were used. This happens before the
guardrails judge the request, and the answer is never served from the
answer cache. On vLLM replicas the organization'scache_saltkeeps
tenants' prefix caches apart. It works through the Responses and Messages
APIs too. - Administration:
llmgw ctl kb(create, list, grant, revoke, default,
docs, rm, search, delete),/api/v1/kb, the console's Knowledge screen,
and a Documents picker on the portal's chat page. - Metrics
llmgw_kb_retrievals_totalandllmgw_kb_retrieval_seconds;
docs/knowledge.md.
Downloads
- pgvector on a cluster set up before this release. Knowledge bases