Learn RAG step by step

Eight short steps, about an hour in all. Each one is a page to read or a tool to try, and each ends by handing you to the next. Nothing to install, no account, and everything runs in your browser.

Start with step 1: What is RAG →

Step 1 · about 5 minWhat is RAG?Why a model needs your documents, and the four steps every RAG system runs: split, embed, search, generate.Try: Read the short guide.Open →Step 2 · about 10 minThe RAG toolAsk a question about an example handbook and see the chunks, their scores and the prompt a model would get.Try: Press ▶ Show me under Step by step, then try the questions under "Try".Open →Step 3 · about 10 minChunking VisualizerSee where a document is cut, which chunks break mid-sentence, and how size and overlap change it.Try: Move the size and overlap sliders, then fix a setup that cuts an answer in two.Open →Step 4 · about 6 minWhat are embeddings?How text becomes a vector, and how a similarity score is worked out, with the sum done by hand.Try: Read the guide, then open step 5 of Step by step in the RAG tool to see the map.Open →Step 5 · about 6 minHybrid search: words plus meaningWhen keyword search wins, when meaning search wins, and how hybrid search blends the two.Try: Read the guide, then try the "Exact code" and "Different words" questions in the RAG tool.Open →Step 6 · about 6 minRe-ranking: a second, more careful lookWhy a second, slower model re-orders the chunks search found, and when it helps.Try: Read the guide, then switch re-ranking on in the RAG tool's Settings.Open →Step 7 · about 8 minHow to test RAG retrievalTest questions, hit rate, MRR and nDCG in plain language, with a worked example you can open and run.Try: Read the guide, then open the example evaluation and run it.Open →Step 8 · about 6 minWhat is GraphRAG?When an answer needs links between facts, and how a knowledge graph follows them.Try: Read the guide, then follow the links in the Graph RAG playground.Open →

Already know the basics? Go straight to the RAG tool with your own document, or read the seven common RAG mistakes.