RAG Sandbox
See why that chunk got retrieved, in 2D space.
The 2D embedding plot makes semantic similarity a literal picture instead of a metaphor — learners watch their own chunk get pulled toward or away from the query as they edit the question.
What goes in, what comes out
Learner uploads a document set, picks a chunking strategy, and asks a question; instead of just returning an answer, the sandbox projects every chunk's embedding into a 2D plot (pgvector-backed similarity) with the query as a labeled point, so retrieval becomes a literal spatial picture. A citation-truth overlay then highlights, span by span, exactly which retrieved chunk each sentence of the model's answer maps back to — or flags it unsupported.
A document set (PDF/markdown/text), a natural-language question, and an optional known-answer for scoring.
A 2D embedding plot of chunks vs. query, the retrieved top-k with scores, the generated answer with a citation-truth overlay, and a retrieval-quality score.
Chunk size/overlap, embedding model, top-k, hybrid (keyword+vector) weighting, reranker on/off, and citation-strictness (refuse below a confidence threshold).
In-module lab for AIE-202/203, graded eval-gate lab (retrieval score at or above threshold); reused as a grounding exercise inside RAG-heavy specializations.
Go deeper, elsewhere
Hand-picked public explainers and open tools that complement this one — always optional, never required, never graded.
Concepts click when you open the machinery.
Three labs are already live and free — the same hands-on style this playground brings to its module.