This issue proposes upgrading the Cadet Chatbot with a Retrieval-Augmented Generation (RAG) pipeline backed by pgvector in Postgres. The goal is to enable dynamic retrieval of relevant passages from the full SICP textbook, improve memory beyond single conversations, and enhance pedagogical quality. A detailed proposal is attached in the PDF.
Proposal-Revamping Louis with RAG.pdf