Repository navigation
RAG lab: eight build-it-yourself notebooks with self-checks, solutions and instructor notes - #17
Merged
Merged
Conversation
…es, correct settings Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…s and instructor notes The local lab was a tour of a finished library. Learners now write the chunker, cosine similarity, a numpy vector store, the prompt, a Chroma store, hybrid search, an evaluation and defences against stale, uncovered and hostile documents. Each notebook source holds the stub and the solution, so the learner and instructor versions cannot drift apart. - labagent rag init creates README, eight notebooks, the SEC notebook as 09, eight sample docs - labagent rag init --solutions adds solutions/ for instructors - tests execute every solution notebook and check that every student notebook stops at a failed check Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
The local RAG lab was a tour of a finished library (
RAGLabClient). Learners now build each part themselves, one notebook at a time, with a self-check after every exercise.add,search)ChromaStore, metadata filters09_sec_filings_ragis the old SEC notebook, unchanged and optional.labagent/ai/rag/lab/), so learner and instructor versions cannot drift.labagent rag initcreates the lab folder (README, nine notebooks, eight sample docs).--solutionsaddssolutions/for instructors.docs/rag-local.mdrewritten, newdocs/rag-lab-instructor.md, README line updated.pip install -ehere, so the docs say to upgrade pip first.Tested
sentence-transformersorchromadbis missing (so CI, which installs only the dev extra, runs the structural tests only).Not tested
🤖 Generated with Claude Code