By Team Edtoolkits · AI learning
Compare retrieval on handbook questions with a question the notes cannot answer, using the lesson's scripted assistant.
Use the guide alongside the working tool.
Open RAG: Look It Up, Then Answer →Explore the lesson
Watch a question fetch cards from a shelf into the prompt.
Ask questions of a tiny library handbook.
Turn retrieval off and see what changes.
A comparison to try
Ask a handbook question with retrieval off and on, keeping the wording fixed. Then ask something absent from the notes and inspect the retrieved passages before accepting the answer.
Read the result
The useful chain is question, relevant passage, supported response. A matching word can retrieve the wrong note, so read what the selected passage actually establishes, including whether it answers the question at all.
A mistake to avoid
This lesson uses word matching and scripted responses over eight notes. It does not run an embedding model or language model. Retrieval can supply evidence, but does not itself guarantee correctness, completeness or resistance to injected instructions.
Teaching model and privacy
The handbook has 8 short notes and the search is a simple word match, not a real embedding search. The answer is scripted from the best note, not written by a real model. Nothing leaves your browser.
Ready to apply this workflow?
Try RAG: Look It Up, Then Answer →Explore a related workflow
- Choose a course entry point and verify saved progress
Use prior knowledge to select a starting chapter while distinguishing local progress from an account or a qualification.
- AI Tokens: Inspect Pieces, Spaces and Stable Teaching IDs
Compare common words, rare words and numbers without using the playground as an exact provider counter.
- Inspect candidates before continuing text
Compare normalized next-word probabilities with the choices sampled from them.
- Choose complexity using held-out error
Compare training and test curves before calling a detailed fit an improvement.
Found unclear instructions or an unexpected result? Contact Team Edtoolkits.