LESSON 22.C3 · 6 STAGES · 3 CONTROLS · 3 CHECKSPRO · PREVIEW
The RAG pipeline end to end
One question runs through every step of a RAG pipeline, from files to answer.
Pro lesson. Stage 1 is free to watch. Pro opens all 6 stages, 3 controls and 3 checks, in this lesson and every other.
Go Pro · $8.25/moEXPLAINER · 22.C3 · RAG BAY3 FILES · 14 BLOCKS · 2 REMOVED
01
Stage 1 of 6 · Parse and clean
Ingestion reads 3 files, and parsing removes the markup. Cleaning removes the nav bar and the footer.
Explain it simply
On the left you see the three help files as they arrive: Markdown, HTML and plain text. Parsing reads each format and keeps the words, so the grey marks go. The nav bar and the footer say nothing about the machine. Cleaning throws them away, so they cannot crowd out real text later.
Three files: manual.md, warranty.html and faq.txt. Parsing makes 14 blocks. Cleaning removes 2 blocks, the nav bar and the footer. 767 characters become 652.
file text, chunkscuts, settingsremoved, cut answerscores, answerindex links
Toy: 3 help files and 1 question. The cross-encoder and the LLM are hand-set stand-ins.
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
Parse each file into blocks, then remove the boilerplate blocks.
PRO LESSON · YOU WATCHED STAGE 1 OF 6
Unlock the full explainer
- 5 more stages and 3 live controls
- 2 mix-up cards and 3 predict-then-reveal checks
- Watch it as a narrated video, in three voices
- Every Pro lesson and capstone · 656 in total
$99 a year, or $15 a month. Cancel any time.