20 October 202610 min readConsulting workflows

Internal knowledge search on-premise: RAG with a local LLM over your policies, contracts, manuals and tickets

TL;DR

  • Internal knowledge search on-premise is retrieval-augmented generation over your own policies, contracts, manuals and tickets: open embedding models, a vector index and a local LLM that answers with citations, all inside your network.
  • The corpus is the sensitive data, and so are its derivatives: embeddings can be inverted back toward the text, the index is a second copy of the corpus, and query logs show what people are working on.
  • Answer quality is decided upstream: tables flattened into prose, two-column manuals read across columns and scanned PDFs without layout-aware OCR produce confident wrong answers that no larger model fixes.
  • A single 24–48 GB GPU running an 8–12B model typically serves a few hundred users; in our scenario the local stack (about €1,600 a month including a maintenance allowance) crosses a €25-per-seat copilot at roughly 65 users.
  • Evaluate with a 50-question test set: retrieval hit rate in the top five, groundedness of every cited claim, graded correctness, and refusal on the ten questions the corpus cannot answer.

Questions people ask

What is internal knowledge search with a local LLM?
It is retrieval-augmented generation run inside your own infrastructure. Documents are processed, chunked and embedded with an open model, stored in a vector index, and retrieved per question; a local open-weight LLM then writes an answer from those passages only, with citations. No model is trained on the corpus, so a document removed from the index disappears from the answers the same day.
Why run RAG on-premise instead of using a cloud copilot?
Because every part of a search stack is a copy of the corpus. The vector index holds the chunked documents, embeddings can be inverted back toward the text, and query logs reveal what people are working on. Keeping processing, embedding, index and generation in your network removes the GDPR transfer question under Art. 44–49 and most of the processor question under Art. 28, and it satisfies data sovereignty requirements without a contract clause.
How much GPU does on-premise knowledge search need?
Usually one card. An 8–12B answer model quantized to 4 or 8 bits occupies roughly 8–12 GB, leaving room on a 24 GB GPU for concurrent requests, and a 48 GB card runs a 30B-class model the same way. The load from a few hundred users asking a handful of questions a day is a few requests a minute with bursts. Treat this as a planning figure and measure concurrency in the pilot.
How do you handle document permissions in a RAG system?
Store the groups allowed to open each source document on every chunk at ingestion, filter the candidate set by the user’s groups before similarity search runs, and sync permission changes and deletes on every incremental update. Filtering after retrieval is too late, because the restricted text has already reached the model. Keep a standing two-account test — one privileged user, one not — in every release.
How do you evaluate an internal search assistant?
With a 50-question test set written by the intended users, each with the passage that answers it and a reference answer, plus ten questions the corpus cannot answer. Measure retrieval hit rate in the top five, groundedness of every claim to a cited passage, correctness graded 0–2 by a person, and refusal on the unanswerable questions. Re-run it after every change to chunking, embeddings or the prompt.
Is on-premise knowledge search cheaper than per-seat copilots?
Above a few dozen users, usually yes on running cost. In a scenario with a €600 monthly GPU line, a €1,000 maintenance allowance and a €25 per-seat copilot, the local stack costs less from about 65 users and stays flat to several hundred. Per-seat copilots remain the better fit under about 50 users, when the corpus already lives in one vendor’s suite, or when there is no engineering capacity to run a stack.

Want this worked out on your documents?

We will price a real sample against OpenAI or Anthropic and tell you whether Local AI consulting or a local model on your hardware is the cheaper first step.