← All tools & templates
Learn AI in stages: stage 4 of 6Some setup

Stage 4: One Place for Everything

Put what your business knows in one organized place AI can read, so it answers from your real information instead of guessing.

The assistant you've been using doesn't know your policies, your customers or your jobs. A knowledge base fixes that. You keep the information in one organized place, and the AI looks up the right pieces for each question, then answers from them and shows its sources. That look-up-then-answer pattern is called RAG. Done well, the owner and every seat can ask the same system and get answers that match the business.

Download the starter sheet

Excel workbook. Sources, seats and test questions. No signup.

What's inside

  • RAG explained without the jargon
  • Which information to search and which to look up directly
  • Where to keep it, from a shared folder to a real database
  • A starter database design, tested, with per-seat visibility
  • The assistant's instructions, a test plan and a downloadable starter sheet

The idea in one picture

RAG stands for retrieval-augmented generation. In plain words: look it up first, then answer from what you found. The assistant doesn't memorize your business. It looks things up every time. That's why fixing a note fixes the next answer, with nothing to retrain.

Two kinds of information, two ways to read it

Don't let the AI work out totals from snippets of text. Counts and sums should come from the database or a spreadsheet formula, and the AI should write around the result.

Choose where it lives

The discipline matters more than the tool. Start with the simplest thing that works.

Get the information ready

This is the real work, and no AI can do it for you.

  1. List every source on the Sources tab of the starter sheet, including what only lives in someone's head.
  2. Give each one an owner, a role rather than a person.
  3. Write one topic per page, with a plain title a stranger would search for.
  4. Put a 'last reviewed' date on every page.
  5. Merge duplicates and retire old versions. Two conflicting documents produce two conflicting answers.
  6. Mark what's sensitive, and who may see it.
  7. Write down the things people just know, such as how we handle a complaint.

Three rungs to build

How to tell when you've outgrown a rung →

A starter database design

For rung 3, or for a helper building rung 2. This is the shape, kept deliberately small.

One table for the notes, with who may see each

create extension if not exists vector;

create table knowledge (
  id          bigint generated always as identity primary key,
  title       text not null,
  body        text not null,
  topic       text,
  owner       text,                                 -- a role, e.g. 'office'
  visible_to  text[] not null
              default '{owner,office,field,books}', -- the seats that may see it
  reviewed_on date,
  embedding   vector(1536)                          -- size of your embedding model's output
);

create index on knowledge using hnsw (embedding vector_cosine_ops);

The embedding is a list of numbers that stands for the meaning of the text. Your embedding model produces it, and the size in the table must match that model. 1536 is the size of some popular models. This structure was run against a real Postgres with the pgvector extension.

Find the closest notes, for one seat only

select title, body, reviewed_on
from knowledge
where 'field' = any(visible_to)              -- the asker's seat
order by embedding <=> $1                    -- $1 is the question, as numbers
limit 5;

The rule is applied in the search itself, not in the prompt. Telling an AI 'don't mention payroll' is a request. If payroll is never retrieved, it can't come out. In a test, the field seat got no payroll row back and the bookkeeper seat did.

The assistant's instructions

Test it before anyone relies on it

When it goes wrong

Keep a log of the questions it couldn't answer and read it weekly. That list is your to-do list for what to write down next.

Next: one assistant, every seat →

More tools & templates

Rather have someone choose and build it?

I'll look at how your business runs, pick the right setup, and build it. Book a 30-minute call and I'll tell you honestly what makes sense.