• v0.14.0
    Release / build (push) Successful in 6m21s
    Release / notes (push) Successful in 3s
    CI / test (push) Successful in 9m34s
    Stable

    gitea-actions released this 2026-10-08 16:22:07 +02:00 | 321 commits to main since this release

    Knowledge 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, which server init and the high-availability database
      setup now install, but a rerun on a running cluster does not:
      1. Install postgresql-<version>-pgvector on every database machine.
      2. As postgres, run CREATE EXTENSION vector in llmgw's database.
      3. Restart the control planes.
        Until then everything else works, and llmgw ctl kb list says why
        knowledge bases are off. On a SQLite store they stay off.
    • 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-kb for 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-run says what would leave the machine; --delete removes only
        what that machine sent.
    • 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-sources says 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's cache_salt keeps
      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_total and llmgw_kb_retrieval_seconds;
      docs/knowledge.md.
    Downloads