Knowledge & data

RAG Knowledge Base: When Your Company Needs One

What is a RAG knowledge base, and does your company need one? Plain explanation, warning signs, RAG vs fine-tuning vs search, data prep, and access rules.

Written by Artur · Updated · 8 min read

A RAG knowledge base is an assistant that answers questions from your own documents instead of from its general training. It finds the relevant passages first, then writes an answer and shows where it came from. You need one when your team keeps asking each other questions that are already answered somewhere in a pile of files.

What is RAG in plain words?

Imagine a new employee with an excellent memory for language but no idea how your company works. You give them access to a well-organized archive and one rule: answer only from the archive and name the page.

RAG works the same way, in two steps.

  1. Retrieval. Your documents are split into small pieces and stored in a search index. When someone asks a question, the system finds the pieces that match the meaning of the question, not just the same words.
  2. Generation. A language model receives the question plus those pieces and writes the answer. It is told to use only what it was given and to cite it.

The model does not “learn” your documents. It reads the right pages at the moment of the question. When a policy changes, you update the document, and the next answer changes with it.

How do you know you need one?

Look for these signs:

  • Staff ask the same questions in chat every week: pricing exceptions, return rules, technical specs, onboarding steps.
  • New hires take months to become useful because knowledge lives in people’s heads and old threads.
  • Answers exist, but across a shared drive, a wiki, email attachments, and PDFs, and nobody knows which version is current.
  • Support or sales gives inconsistent answers to the same customer question.
  • Experts spend a large part of the day answering questions instead of doing expert work.
  • You have thousands of pages of contracts, manuals, or reports and need facts from them fast.

If you recognize three or more, a knowledge base is worth a serious look.

What do real scenarios look like?

Industrial equipment distributor. Sales engineers need exact specs and compatibility rules from hundreds of catalog PDFs. A RAG assistant answers “Does model X work with controller Y at 24 V?” and links the page in the manual.

Law or accounting firm. Associates search past memos, templates, and regulations. The assistant finds the three relevant precedents, quotes them, and respects client-matter access, so a team never sees a file it should not.

Service business with a support team. New agents ask the assistant how to handle a refund case. It returns the current policy with the source, and an updated policy replaces the old one overnight.

These three get confused all the time. They are different tools.

Regular search RAG Fine-tuning
What it does Returns a list of documents or snippets Finds passages, then writes a sourced answer Adjusts model behavior using example data
Handles changing facts Yes, if the index is updated Yes, update a document and answers change Poorly, you must retrain
Shows sources Yes Yes, by design Usually no
Good for Known-item lookup, exact keywords Questions over large, changing document sets Style, tone, strict output formats, narrow classification
Main risk Reader must still dig through results Bad retrieval means bad answers Cost, stale knowledge, hard to audit
Needs your data prepared Some Yes, quality matters a lot Yes, labeled examples

A practical rule: if the problem is “the model does not know our facts,” use RAG. If it is “the model knows the facts but answers in the wrong shape,” consider fine-tuning or better prompting. If people only need to find a file by name, a good search bar is enough and much cheaper.

How do you prepare the data?

Most of the project effort goes here, not into the model. A typical order:

  1. Inventory the sources. Drives, wiki, CRM notes, ticket history, PDFs, email templates. Write down who owns each one.
  2. Pick the source of truth. For every topic, decide which document wins when two disagree. Archive the rest or mark it outdated.
  3. Clean the files. Scanned PDFs need text recognition. Tables and images need special handling because naive extraction mangles them.
  4. Split into pieces that make sense. Cut by section or topic, not every 500 words blindly. Keep titles, dates, and document names attached to each piece.
  5. Add metadata. Department, product, language, version, owner, valid-until date. It makes retrieval more precise and lets you filter.
  6. Build a test set. Collect 50 to 100 real questions with the correct answer and the right source. This is how you measure the system, and how you notice when it breaks.
  7. Set a refresh routine. Decide who updates the documents and how often the index is rebuilt.

What about access rights?

A knowledge base must not become a leak. If the intern can ask “what is the CEO’s salary?” and get an answer from an HR file, the project is dangerous.

  • Store the permissions of each document alongside its pieces, taken from the source system.
  • Apply the filter during retrieval, before any text reaches the model. Never rely on instructions like “do not reveal confidential data” in the prompt.
  • Log who asked what and which sources were used.
  • Decide where the data lives and which model vendors process it. For sensitive documents, check the vendor’s data terms or use a deployment where your data is not used for training.
  • Review permissions again when people change roles.

What are the honest downsides?

  • Garbage in, garbage out. If your documents contradict each other, the assistant will too. Cleanup is the unglamorous half of the job.
  • It can still be wrong. Retrieval misses things, and a model can misread a passage. Citations let a person verify in seconds, so keep them visible.
  • Complex questions are harder. Questions that need numbers from five different tables or multi-step reasoning across documents need extra engineering, not just an index.
  • It needs an owner. Without someone responsible for content freshness, quality decays within months.
  • Privacy work is real work. Access rules and data handling add time, and skipping them is how companies get into trouble.

When do you not need a RAG system?

  • You have a few dozen short documents. A well-organized wiki and normal search will do.
  • Your knowledge is mostly in people’s heads. Write it down first, then index it.
  • You need exact numbers from a database. Connect a model to the database with a query tool instead of reading documents.
  • Your documents change every hour and have no structure, such as raw chat logs. The cost of keeping the index trustworthy may exceed the benefit.
  • Nobody will own the content. The system will rot.

Sometimes the best first step is a short audit of your documents and questions. A day spent on it can save months of building the wrong thing. If the problem turns out to be a repetitive workflow rather than missing knowledge, workflow automation may fit better.

How we do it at iishnik

We begin with a free 30-minute call about your documents and the questions your team asks. Then we run a paid audit: sources, data quality, access rules, and a test set of real questions. The audit counts toward the pilot if you continue, and the price is fixed after it. Payment is 50/50, with the second half due after a live demo on your own documents. Code and access stay with you, and we fix issues free for 7 days after delivery.

The RAG knowledge base service starts from $28,000 plus from $1,500/mo for hosting, monitoring, and updates. To discuss your document set, contact us.

FAQ

What does RAG stand for?

Retrieval-Augmented Generation. The system first retrieves relevant passages from your documents, then a language model writes an answer using only those passages and cites them.

Is RAG better than fine-tuning?

They solve different problems. RAG gives a model access to your changing facts. Fine-tuning changes how a model behaves, such as tone or output format. Most business knowledge projects need RAG first, and some add fine-tuning later.

How much does a RAG knowledge base cost?

A custom build from a serious studio starts from $28,000 plus a monthly fee for hosting, monitoring, and updates. Model and storage usage are billed by vendors, so check their current price lists.

Can a RAG system respect who is allowed to see which document?

Yes, if permissions are applied at retrieval time, before the model sees any text. It must be designed in from the start, not added later, and it should be tested with real user roles.

Will a RAG assistant make things up?

It can, but far less when it must cite sources and say it does not know. Good systems show the source passage next to every answer so a person can check it quickly.

Questions and answers

What does RAG stand for?
Retrieval-Augmented Generation. The system first retrieves relevant passages from your documents, then a language model writes an answer using only those passages.
Is RAG better than fine-tuning?
They solve different problems. RAG gives a model access to your changing facts. Fine-tuning changes how a model behaves, such as tone or format. Most business knowledge projects need RAG first.
How much does a RAG knowledge base cost?
A custom build from a serious studio starts from $28,000 plus a monthly fee for hosting, monitoring, and updates. Model and storage usage are billed by vendors, so check their price lists.
Can a RAG system respect who is allowed to see which document?
Yes, if permissions are applied at retrieval time, before the model sees any text. It must be designed in from the start, not added later.
Will a RAG assistant make things up?
It can, but far less when it must cite sources and say it does not know. Good systems show the source passage next to every answer.

Get a free AI plan

Get a free AI plan

Tell us about the task. We reply within 24 hours with questions or a first plan.

What happens next

  1. 01We read your request and reply within one business day.
  2. 02We agree on a time for a free 30-minute call.
  3. 03You get a first plan with a budget range and next step.

Contact directly

info@iishnik.com Orders, questions about services and prices, general information
partners@iishnik.com Partnerships, joint projects, collaboration proposals, media
What do you need? Choose one or more
Only if you prefer a quick message there
Budget (optional)

We will reply within 24 hours.

Get a free AI plan