What is RAG? A plain-language guide to the tech that keeps your AI from making things up

Customer service 2026-04-20 · Satsuma Creative · 9 min read

RAG (Retrieval-Augmented Generation) makes an AI answer only from the data you give it, and admit it when it doesn't know. This article explains vectors, chunking, retrieval, and reranking in plain language, and why doing RAG well is much harder than just getting it working.

TL;DR

  • Analogy: an LLM is a well-read assistant who doesn't know your company;RAG is the process of "first look through your company's documents, then have the assistant answer based on them"
  • The technical core: split your company's documents into chunks → compute embeddings (vectors) → compute an embedding for the visitor's question too → put the most similar chunks into the prompt → the LLM answers based on those chunks
  • Vectors = turning meaning into a numeric position. Sentences with similar meanings get similar vectors, so "Can I get a refund?" finds the "Refund policy" section
  • The last mile:don't let the LLM improvise — the system prompt enforces "if it isn't written down, answer UNKNOWN; don't make it up"
  • Most AI customer service SaaS products have mediocre RAG, because their chunking, embedding model, and system prompt are one generic template, never tuned for an individual client

Or put another way: how do you make an AI answer only from what you give it, and never make things up?


Let's start with an analogy

Imagine you hire a fresh-graduate assistant. You can train them in one of two ways:

Option one: have themmemorizethe entire employee handbook. When you test them, they answer from memory. - Downside: memory drifts, gets mixed up, and fills gaps with guesses - And when the handbook is updated, theystill remember the old version, and need retraining before they change

Option two: teach themhow to look things up in the handbook. When you test them, they first turn to the right section,read only those pages, then answer. - Upside: answers always come from the latest handbook - When the answer isn't there, they honestly say "The handbook doesn't cover this; let me ask my manager" - Add a new section and there's no retraining; they can use it immediately

Option two is RAG。

The LLM (large language model) plays the "assistant who looks things up," not the "assistant who memorizes the book."


What does RAG stand for?

Retrieval-Augmented Generation.

Broken into three steps:

  1. Retrieval: find content related to the question in the knowledge base
  2. Augmented: insert the retrieved content into the prompt
  3. Generation: have the LLM answer based on that content

The order matters:retrieve first, then generate. The LLM doesn't see "all the world's knowledge," only "the few passages you selected for it."


What is a "vector"? In plain language

The most mysterious part is "how to find the content relevant to a question in a pile of documents." The traditional approach is keyword search (SQL LIKE), but it has a fatal flaw:

Question: "My account was hacked. What do I do?" - Knowledge base entry: "Procedure for handling suspicious logins" - Keyword search:misses it(neither "account" nor "hacked" appears in the title)

The solution: convert each passage into a string of numbers called a "vector," which represents itsposition in meaning。

More concretely:

「我帳號被盜了」     → [0.21, -0.45, 0.78, ..., 0.12]
「異常登入處理」      → [0.19, -0.43, 0.81, ..., 0.15]   ← 數字很像,在同一區域
「TVC 廣告報價」     → [-0.55, 0.92, -0.30, ..., 0.61]  ← 數字差很多,在遠處

These numbers are computed by an AI called an "embedding model." It has read billions of sentences and learned to placethings with similar meanings close together in numerical space。

So retrieval becomes: convert the question into a vector too, then findthe passages that are mathematically closest. This is called "cosine similarity": the smaller the angle between two vectors, the more similar they are.

You don't need the math. Just remember this picture:

meaning is position. Things that sit close together are related.


RAG is easy to build, hard to do well

Sounds simple, right? Chunk the documents, convert them to vectors, search, hand the results to the LLM. Butgetting RAG to answer accuratelymeans getting past four engineering pitfalls:

Pitfall 1: chunking strategy

How do you split a 100-page PDF?

  • Chunks too small (50 characters each): information gets fragmented, and the LLM can't piece together a complete answer
  • Chunks too large (2,000 characters each): too much is packed into one chunk, the vector captures an "average meaning," and search loses precision

In practice:300–500 characters per chunk, with a 50-character overlap between neighboring chunks(so key sentences don't get cut in half).

Chunking also has to respectnatural boundaries— you can't split a single FAQ answer in two. Split by markdown headings, lists, and paragraph structure, not by length.

Pitfall 2: choosing an embedding model

The best embedding models for Chinese and English aredifferent。

  • Best for general English: OpenAI text-embedding-3-large、Cohere embed-v3
  • Reliable for Chinese–English bilingual:paraphrase-multilingual-MiniLM-L12-v2(what our Xiao Ai uses)
  • Best for Chinese only (as of early 2026):bge-m3、gte-Qwen2

Pick the wrong model andthe same knowledge base performs 30% worse。

Pure vector search has a weakness:for exact matches like names, product codes, and numeric IDs, vectors lose precision。

Example: a player asks, "How do I complete mission S-1A?" - Pure vector search: may treat "S-1A" as a generic symbol and match answers for other missions - Add BM25 keyword search: "S-1A" is an exact hit, and the results are ranked together

In practice you need hybrid dense (vector) + sparse (BM25) search, then a reranker model to reorder the top results.

Pitfall 4: reranking

After vector search finds the top 20 candidates, a more precise model (usually smaller but deeper) reorders them to pick the top 3–5.

Why? An embedding model is trained for "similarity"; a reranker is trained for "relevance" — and they're not the same. The embedding model catches passages with a similar "shape"; the reranker confirms which ones actually answer the question.

Skipping reranking typically drops top-1 accuracy by 15–20%.


The last mile of RAG: don't let the LLM improvise

Even after all four steps, you'll still see the LLM improvise: it reads the knowledge base passages and fills in the gaps on its own.

Example: - Q: "How much is Plan A?" - Retrieved passage: "Plan A overview... (no price listed)" - LLM answers: "Plan A starts at NT$3,000." ← made up

At this point the problem isn't just technical; it'srule design:

1. system prompt 明寫:「只能用知識庫回答。沒寫的事一律說『我不確定,
   請真人協助』。不要憑常識補腦。」

2. 每次回應強制輸出 ACTION tag([ANSWER]/[UNKNOWN]/[HANDOFF]),系統按
   tag 路由——不准 LLM 自己 fallback 到掰

3. 答案附 citation,讓 LLM 知道會被追溯

Only when all three are in place will the LLM actually behave.

→ Want to see it in action?Xiao Ai on the Satsuma website → runs on exactly this architecture. Ask her "Do you do e-commerce?" and she won't make something up. She'll say, "I'm not sure about that. Would you like to leave your email for Satsuma?"


Why most AI customer service SaaS products have mediocre RAG

The techniques are all public. So why do results vary so much?

The answer iseconomics, not technology.

Engineering step Done carefully Done from a template
Chunking strategy Tuned per client One set of rules
Embedding model Chosen by language / domain One model for everything
Hybrid search Enabled based on KB content Pure vector by default
Reranking Add a reranker Skipped to save cost
Rule design One SOP per client Generic system prompt

A SaaS charging NT$3,000 a month can't fine-tune all of this for your KB. The economics don't work.

→ To get RAG above an 80/100, what you need iscustom delivery, not SaaS.


Conclusion: RAG is the answer, but not a cure-all

RAG can fix the "AI makes things up" bug, but onlywell-built RAG can. Building it isn't hard; building it well is.

Here's how to evaluate AI customer service products on the market:

Ask vendors three questions:

  1. Which embedding model do you use? How does it perform in Chinese? (If they can't answer, it's a templated SaaS)
  2. Do answers include citations? ("Yes, but the feature isn't enabled yet" = they haven't built it)
  3. Will it make things up when it doesn't know? (Have them demo live and ask something the KB doesn't cover)

Only vendors who can answer all three actually know how to do RAG.


Further reading: - Why does AI customer service keep missing the point? → - The complete guide to AI teammates → - Want to try RAG yourself? Head tothe bottom-right corner of the Satsuma homepage and chat with Xiao Ai. Try to trip her up


Satsuma Creative

An integrated marketing and creative agency. With roots in advertising and game development, we develop AI as a teammate, not sell it as a tool.