Space Coast Labs · RAG/WIKI
The model only knows your documents.
Retrieval augmented generation — RAG — points a language model at your own knowledge instead of its training memory. We break your documents into searchable pieces and store them, turn the model's creativity down, and make it answer from your documents alone, showing the page it pulled from. When fine-tuning — retraining the model itself — is the better tool, we say so.
RAG Agent Systems
What it is
RAG stands for retrieval augmented generation. It is a way of running a language model that reads before it speaks. A plain model answers from everything it absorbed during training — a vast mix of internet text, none of it specifically yours — so it can sound certain about your industry and be wrong. A RAG system changes the order of operations: you ask a question, it retrieves the passages in your documents that matter, hands them to the model, and the model answers from those. An open-book exam instead of a closed-book one — reading your pages, not guessing from memory.
Chunking and storage
The build starts with your documents — policies, contracts, manuals, old proposals, the notes nobody can find when they need them. We split them into chunks: passages of a few hundred words, cut so no idea falls on a seam. Each chunk becomes an embedding — a long list of numbers that captures what the passage is about. The chunks live in a vector database, which is storage you can search by meaning rather than exact keywords. Ask how your firm handles a late renewal and the system finds the paragraph about late filings, even if nobody ever wrote those words side by side. That stored, searchable body of your material is the corpus — everything the model is allowed to answer from.
What temperature is
Every language model has a setting called temperature — a dial for how adventurous it is with words. Turn it up and the model takes risks: surprising choices, creative leaps, a different answer to the same question tomorrow. Turn it toward zero and it plays the odds — the most likely next word, every time, the same question returning the same answer. Marketing copy wants a high temperature. Your firm's knowledge does not. We run retrieval systems low, because the safe answer is the one you can defend.
The model lives in your corpus
When a language model makes something up and delivers it with confidence, the industry calls it a hallucination. The model answers only from the retrieved passages, shows which page each answer came from, and says so plainly when the documents do not contain the answer. You cannot promise a model will never slip — anyone promising that is selling something. What you can do is take away its favorite way of failing and make every answer checkable, so a slip gets caught instead of believed.
Wiki
Retrieval's first generation worked over a pile of chunks, and the knowledge stayed invisible to anyone without a search box. The current shape, and the one we build most often, is a wiki: we create a corpus from your company data, organized into pages a person can actually read, and the model accesses the wiki when it answers. The maintenance story changes too. A policy changes, someone edits the page, and every answer built on it follows — the model reads the wiki live, at answer time. A wrong answer gets traced to the page it came from and fixed at the source, in plain text, by a person who knows the subject. In most cases we find this superior to raw chunk retrieval. Not in all: some firms have a deep pile of existing documents nobody will reorganize, and retrieval over that pile is the honest first build. We evaluate case by case. A private wiki answers for the people inside a firm; public pages have a different problem — a search engine or an AI answer system has to find them and read them first. That is the separate AI-assisted GEO/SEO work.
RAG vs Fine-Tuning
Two tools, opposite directions
RAG and fine-tuning both adapt a model to your work, in opposite directions. RAG keeps the knowledge outside the model: your documents sit in storage, the model reads them at answer time, and updating what it knows is a document edit — minutes, no retraining. Fine-tuning is additional training that bakes a pattern into the model's weights — the internal numbers training adjusts. What it learns becomes part of how it behaves, and changing that means training again. RAG changes what the model can see. Fine-tuning changes how the model behaves.
A great example of fine-tuning
We built one to show exactly that. The Hemingway model is a small open-weights model — one anyone can download and run — trained on about 1,200 curated examples of one literary voice, drawn only from public-domain texts. In a blind head-to-head against the same model given a carefully written prompt, the fine-tune won the clear majority. The voice lives in the weights. Hemingway is no longer with us, and that means the corpus (no pun intended) is complete. No new work is coming. Fine-tuning is appropriate in this case because nothing will change.
Where fine-tuning goes wrong
Fine-tuning a model for a law firm could lead to huge problems — not because the training itself is dangerous, but because the law moves. New rulings, new statutes, new forms. A fine-tuned model's knowledge froze on the day training stopped, it cannot cite its sources because they dissolved into the weights, and the only fix is retraining. A confident answer nobody can check is exactly the wrong shape for legal work, where pointing at the authority is the whole point. That is the territory our legal drafting work lives in, and it is retrieval territory.
Where fine-tuning belongs
Fine-Tuning is best for vision models, such as identifying cancer on scans, knots in wood, or perhaps to identify lego pieces. Those three share a fixed visual pattern, thousands of labeled examples, and a judgment that has to come back the same way every time. The pattern does not move underfoot the way the law does. That stability is what fine-tuning needs — and when your problem looks like that, it is the right tool, and a small one often does the job.
Where it is not a fit
If the knowledge lives in people's heads and nobody will write it down, there is nothing to retrieve yet — start with an hour of writing, not a build. If nobody owns the documents once the system is live, the corpus quietly rots and the model quotes last year's policy with a straight face — a wiki needs an owner. And if you want a model that sounds smart about everything, this is not that. A corpus-bound model will tell you what it does not know all day long. Some people find that annoying. We think it is the point.
Every answer carries its source.
No demo to click here — a knowledge system is not a phone line, and we will not stage a fake search. The model answers from your pages, points back to the page it used, and says when your corpus does not contain the answer.
Have a pile of documents?
Bring the one your firm keeps re-searching — the policies, the manuals, the “what did we decide last time” archive. Thirty minutes and you'll leave knowing whether retrieval, a wiki, or a fine-tune fits your case — or that you're not ready to build yet, which happens and is a fine answer.
