Cognitive Scaffold

Preparing your thinking workspace

arrow_back_ios_new
MENTAL MODEL · M1226

RAG - Retrieval-Augmented Generation

RAG - Retrieval-Augmented Generation
SystemsHigh supportSystems Theory
Included
account_tree

Updated 2026-07-30

Loading revision record…

Summary

Before asking AI to answer a question, first retrieve relevant information from an external knowledge base (such as your company's documents), then feed the retrieved information to AI as a 'cheat sheet', so that it generates answers based on these facts.

Definition

Before asking AI to answer a question, first retrieve relevant information from an external knowledge base (such as your company's documents), then feed the retrieved information to AI as a 'cheat sheet', so that it generates answers based on these facts. Scaffold use: an external hard drive for the brain. It solves the problem of AI 'confidently making up nonsense' (hallucination). For individuals, RAG metaphorically represents the separation of 'memory' and 'thinking' — do not try to memorize all knowledge (model parameters), but rather build an efficient retrieval system (external knowledge base).

How to use

An external hard drive for the brain. It solves the problem of AI 'confidently making up nonsense' (hallucination). For individuals, RAG metaphorically represents the separation of 'memory' and 'thinking' — do not try to memorize all knowledge (model parameters), but rather build an efficient retrieval system (external knowledge base).

Mechanism

RAG retrieves relevant documents from an external knowledge base before generation, then combines the retrieved content to answer, reducing hallucination and introducing traceable knowledge. Retrieve first, then answer.

Practice

In progress 0/4

Practice this model in one real situation:

Check to track your progress (stored locally)
Learning progress0%

Cases

  • Enterprise Q&A bots, legal/medical assistants answering based on documents, customer service with citations.

Common pitfalls

  • Poor retrieval quality leads to irrelevant answers; lack of source tracing leaves hallucination; ignoring chunking and reranking.
Sources

Source support: Explicit

References currently contain only Wikipedia links; primary sources still need review.

  • link
    zh.wikipedia.orghttps://zh.wikipedia.org/wiki/%E6%AA%A2%E7%B4%A2%E5%A2%9E%E5%BC%B7%E7%94%9F%E6%88%90ZH · Explicit
    verified
account_treeGenealogyexpand_more

RELATED MODELS