SICPy chatbot knowledge base

Knowledge base for retrieval-augmented-generation (RAG) Q&A bots over SICPy. AI-generated on demand, checked into git directly, and regenerated only for major revisions of the book.

ChapterNotes (.ex)Index terms (.json)
1sicpy_notes_chapter1.exsicpy_index_terms_chapter1.json
2sicpy_notes_chapter2.exsicpy_index_terms_chapter2.json
3sicpy_notes_chapter3.exsicpy_index_terms_chapter3.json
4sicpy_notes_chapter4.exsicpy_index_terms_chapter4.json
5sicpy_notes_chapter5.exsicpy_index_terms_chapter5.json

For each chapter, sicpy_notes_chapter<N>.ex is an Elixir module (Cadet.Chatbot.SicpyNotesWithIndex.Chapter<N>) with one @summary_<section> module attribute per section/subsection — an original bullet-point summary of that section, followed by a "Key terms" line drawn from the book's own back-of-book index. sicpy_index_terms_chapter<N>.json is a term-to-section-numbers lookup built from the same index entries, for keyword-based retrieval alongside embedding-based search.