AI · the RAG game
Play it through first, then take it apart
The basic game uses one small room, one robot and a stack of pages: ten levels to build an intuition for RAG.
The technical topics then take one problem at a time: play it, and read why it happened if you want to.
The basic game Playable
The Paper Room
Ten short levels. Help a small robot take a question, find the right page and hand both to an LLM that writes the reply — from “find that one page” to “answer through relations”. Intuition first; the techniques come later, in the topics below.
The game is in Chinese.
0 of 10 levels cleared
Companion · ReadableThe Paper Room: reproduction notes Every level’s material, actions, evidence verdicts and prewritten replies, step by step.
Levels
Playing in order works best the first time; you can also pick any level. Progress is kept only in this browser.
- 01Not played找到那一页Learned: 找到唯一资料
- 02Not played从几页里挑出对的Learned: 从不同资料中选择
- 03Not played换了问法也能找到Learned: 理解不同问法
- 04Not played请 LLM 写回信Learned: 把问题和资料交给 LLM,生成回答
- 05Not played排在前面的不一定最有用Learned: 检索候选与排序
- 06Not played换一种说法Learned: 改善查询表达
- 07Not played这句话说的是哪家店Learned: 找回片段的上下文
- 08Not played两种查找方式Learned: 关键词与语义检索
- 09Not played还缺一条线索Learned: 发现信息缺口,再次检索
- 10Not played关系里的答案Learned: 利用实体关系回答问题
Technical topics
One problem at a time, each backed by a real, recorded experiment. The topics previewed at the end of the game’s levels are opened up here.
Coming next
- 02Where to cut the documentChunkingComing soon
- 03Nobody asks the way the document is writtenQuery rewriteComing soon
- 04Some words have to match exactlyHybrid searchComing soon
- 05The first three decide everythingRerankComing soon
- 06Knowledge bases go staleKnowledge base healthComing soon
- 07You changed one file and broke another answerVersioning & regressionComing soon
- 08The answer is not in any single pieceGraphRAGExploring
- 09Decide what is missing, then search againAgentic RAGExploring
Each of these is an experiment first and a page second. The site’s source, including the experiment code, is not public yet.