CS:APP Chapter 2 RAG Assistant
A small Retrieval-Augmented Generation (RAG) chat tool built to help study Computer Systems: A Programmer’s Perspective — currently focused on Chapter 2.
📚 Course-Focused Knowledge
Currently trained on notes/content for CS:APP Chapter 2 (data representations, bit-level operations, two’s complement, etc.).
More chapters can be added later as the dataset grows.
💬 Ask Questions
Ask a question in natural language and the assistant retrieves relevant chunks from the knowledge base to generate a grounded answer.
Note: no chat memory yet — each question is handled independently.
🔍 Explainable by Design
The goal is transparency: answers should be backed by retrieved text. (Citations/source display can be added as a future improvement.)
If an answer isn’t supported, treat it as a hint—not a final truth.
Project Overview
This project demonstrates how RAG can support studying systems concepts by combining: retrieval (finding relevant notes) + generation (explaining in plain language). It’s designed as a lightweight academic tool for quick clarification and review.
Collaboration welcome — if you spot bugs or unclear answers, open an issue or suggest improvements.