About Services Tools Blog Contact us
← All services

Local LLM integration and private RAG for UK businesses

Language models on your own hardware, retrieving over your documents so each answer cites a source.

We set up language models that run on your own hardware and answer from your own documents. Models run on-premise with Ollama, llama.cpp or LM Studio, the vector search stays on the same machine, and nothing is sent to a third party unless you agree a step that needs it. We work from Maidstone with teams of about 5 to 50 staff across the UK.

What a private RAG system does

Private RAG, retrieval-augmented generation, means the model answers from passages retrieved from your documents, SOPs and data, held in local vector storage. The question is embedded the same way, and the reply names the source file.

  • Policy and SOP lookup. Quotes the live procedure for a refund, a despatch or a safety check.
  • Extraction and classification. Invoices and enquiry emails become database fields. Mail and product rows are labelled with your categories.
  • Semantic search. Find a passage by meaning, not by filename.
  • Search and content work. Cluster the queries people use to find you, flag near-duplicate copy, and show topics the site does not cover.
  • Images, speech and folders. A vision model reads a product photo, a voice model turns speech into a record, and a dropped file is ingested on the next run.

How the pieces fit together

A file moves through five stages.

Ingest

LlamaIndex reads PDFs, notes and exported text. A folder workflow picks up a new file on the next run.

Embed

Nomic embeddings via Ollama turn each chunk into a vector. The same model embeds the question, so similar passages meet even when the wording differs.

Store

Vectors sit in a plain JSON or file-based store on disk. It copies with your normal backup, and answering does not call the public internet.

Retrieve

Only the closest chunks, with file name and position, are passed on. The model does not see the rest of the corpus.

Answer

Qwen and Gemma family open-weight models, through Ollama, llama.cpp or LM Studio, write from those chunks. If the retrieved text does not contain the answer, the system says so.

When a local model is the right tool

Local models suit privacy-sensitive, high-volume or predictable work on hardware you control. The cost sits in the machine and the build, not in a fee on every call.

Where a cloud model still fits

The largest cloud models still do better on some open-ended reasoning. Everyday calls stay on your premises. A named step may call a cloud model, only for text you have agreed can leave.

Joining it to systems you already run

PHP and Python can ask the local model to draft, classify or extract, then write the result back to the record you already keep. Model Context Protocol tools expose that knowledge to an LLM assistant or a developer workflow, including Dash, our macOS agent harness.

Repeated back-office loops belong with our automation and agent workflows. A join to a database, an API or an accounts package is bespoke software. The model stays a component. Your existing system stays the record.

How we work

  1. Scope the documents and the questions. We list what must stay on your premises, what a useful answer looks like, and which system receives the result.
  2. Prove it on a sample. A slice of your real files runs through ingest, embed, store and retrieve on a machine you control, and you read the citations first.
  3. Wire the path you will use. A folder drop, a PHP or Python call, an MCP tool, or one step in a wider workflow.
  4. Write the hybrid rules. Which tasks stay local, which may call a cloud model, and what is logged.
  5. Leave a run book. How to add a file, how to rebuild the index, and how to spot a thin answer.

Questions

Does our data leave the building?

On a local setup, documents, embeddings and model calls stay on hardware you control. A cloud model runs only for a named step, and only for text you have agreed may leave.

What hardware do we need?

A current desktop or small office server covers many of these jobs, with memory for the model and disk for the files. We judge from a sample if you need more.

How accurate is it, and what about hallucinations?

A model can still write a sentence that is not in your files. Retrieval limits it to the passages it was given and returns the source with the reply. A person checks anything that would cost money or breach a rule. We do not promise a perfect score.

How does the knowledge base stay up to date?

New files go through the same ingest. Drop a document in the folder and the next run picks it up. Retired files leave the index so old wording does not outrank the current procedure.

How do you approach cost?

We quote a fixed build after seeing the documents, the questions and the system to join. There is no per-question fee from us, and local calls add no cloud usage bill. You cover the computer the model runs on. If a local model is a poor fit, we say so before you commit.

Tell us what should stay in the building

Bring a sample of the documents and the questions your team already asks. Email [email protected], or use the contact form. From Maidstone we work with firms across the UK.

Start a project