< CollectionsStack
RAG, from chunk to citation.
Every stage of a RAG system in the order data flows through it, ending in an answer that cites its sources.
8 sections · 10 problems · 2 projects
0 of 12 done
Start Next: 01 Build a Document Chunker
Section 01
Split
0 of 1
Cut the documents into pieces small enough to retrieve and whole enough to read.
Section 02
Embed
0 of 2
Turn each piece into a vector, and compare vectors.
Section 03
Retrieve
0 of 2
Find the nearest pieces, inside the filters the question sets.
Section 04
Rerank
0 of 1
Put the best of them first.
Section 05
Generate
0 of 1
Answer from what was found.
Section 06
Ground
0 of 2
Cite a source for every claim, or say there is none.
Section 07
Measure
0 of 1
Score the retrieval, so a change can be judged.
Section 08
Build it
0 of 2
The whole system on real models.