Build a small RAG system you can explain
Pick a question that matters to one reader. A small set of sources is enough to test how your app finds an answer and what it does when the answer is missing.

Imagine a new club member asking who organizes events. Can your app find the relevant line in a handbook, use it to answer, and let the reader open it? What happens if the member asks for a date the handbook leaves out?
That’s the idea behind retrieval-augmented generation (RAG). Your system retrieves relevant material, then gives that material to a model to help it answer. Start with one reader, one useful question, and about five short documents you have permission to use.
Research → Plan → Build → Test → Explain. Read one source yourself. What can you answer for your reader? What remains open?
Use the club example to try retrieval with Python and the included documents. For your own project, bring a permitted source to the research exercise.
These pages are optional project support. Use the individual assignment, research handout, and Canvas for the actual requirements. You can use a model you already have access to.
Choose your next step
| If you want to… | Start here |
|---|---|
| Understand how search works | Try embeddings, compare ways to split a document, or compare databases and retrieval methods |
| Use software you’ve already built | Extend your FastAPI app and Docker deployment |
| Get a complete question-to-answer path working | Build one small feature at a time |
| Compare tools and costs | Check which libraries help and compare AI providers and token budgets |
| Ask a coding assistant for help | Choose a prompt for your next step |
| Find out why an answer is wrong | Trace one failure or compare the result with an expected source |
The five things your demo should show
- Open a permitted original document and the record your importer actually stored.
- Show how a passage became a chunk or a sourced graph relationship.
- Ask a question. Inspect the source IDs, passages, or graph paths the search returned.
- Show the answer from a real model and open a reference that supports a particular claim.
- Try a question the sources cannot answer. Show what happened and one improvement you checked.
Research both vector and graph retrieval. Your app can implement either approach or a combination you can justify. Keyword search helps establish a baseline. A mock response can help you build the interface. The finished individual project needs real retrieval and model generation. Inspect the optional local lab.
Keep your three deliverables separate
Your individual RAG app answers questions from your chosen sources. Your portfolio presents your professional direction and provides a place to show that work. The group content system is a shared workflow with identifiable contributions from each member. Use the existing project records.
Pacing from the course guide
Bring your research findings to the Plan review. Show your reader, sources, retrieval choice, and expected evidence. At Build, show a small hosted journey from import through retrieval to an answer. At Checked Release, verify persistence, citations, and repeatable setup. At Improve, use real peer feedback, make a change, and try the same check again.
Individual and group projects finish in the final week of class. Use Canvas for the dates and demo slots. The course roadmap links to each Canvas assignment and explains the exception for extenuating circumstances. Course milestone guide