RAG Pipeline
Retrieve trusted context, rank sources, draft grounded answers, and show citations with confidence.
What you build
Each module is small enough to understand and useful enough to extend into a real product.
Retrieve trusted context, rank sources, draft grounded answers, and show citations with confidence.
Score model outputs against expected keywords, forbidden claims, and behavior checks.
Detect PII, financial, legal, medical, and self-harm risk before responses reach users.
Turn goals into reviewable workflows with retrieval, drafting, evaluation, and human handoff.
Learning path
This is not passive reading. Every phase ends with code, prompts, evals, datasets, or workflow specs that contributors can improve.
Phase 00
Understand the GenAI loop: user goal, prompt, context, output, evaluation, safety, and product action.
Runnable proof
The repo runs without API keys, so anyone can clone it, test it, and contribute immediately.
npm run check
build passed
demo generated
Smoke tests passed.
Open source
Add an embeddings lesson, improve retrieval ranking, create eval cases, or build the first browser UI. The repo has starter issues ready.