Lesson 25 — Retrieval-augmented generation: the pipeline
Unit IV · Grounding

L25_similarity.py                            student     Word-count cosine similarity on five pairs: similar, unrelated, synonym miss, false match, plural.
L25_trace.py                                 student     Traces one question through chunk, represent, store, retrieve and assemble, printing each stage.
L25_mini_handbook.txt                        student     Three Ridgeline handbook documents used by the trace.

Python 3.11 or newer. Standard library only. Run each program from the folder the lesson tells you to put it in:
    python <file>.py        (Windows)
    python3 <file>.py       (macOS and Linux)
