AI Agents · Guided project
College Rules Assistant with RAG and Citations — Guided Project
An assistant that answers questions about your college or company rules only from the official document, quotes the rule and says "I couldn’t find this" instead of guessing.
- Intermediate
- ~6 hours
- 5 steps
The brief
Pick a real document — an academic rulebook, hostel rules or an internship policy. Split it into chunks, embed them, retrieve the best matches for each question and ask a model to answer only from them, with a source for every answer. The project shows you understand the most widely used pattern in applied AI and how to evaluate it.
Skills you will use: RAG · Embeddings · Prompt design · Evaluation
Build it
Step by step
Tick each step as you finish it. 0 of 5 done.
-
Step 1Prepare the document
Convert it to text and split it by headings into chunks of a few hundred words, keeping page numbers.
-
Step 2Build retrieval
Embed every chunk, store vectors in a list or small vector database, and write search(question, top_k=4).
-
Step 3Write the answer prompt
Answer only from the context, quote the rule, cite page numbers and refuse when the context does not contain the answer.
-
Step 4Create a test set
Write 20 questions with the expected chunk and answer, including 4 questions the document cannot answer.
-
Step 5Measure and improve
Record retrieval hits and answer correctness; adjust chunk size or add keyword search; report before and after.
Self-review before you call it done
Tick each point once your project really meets it. These are the things an interviewer will look for.
Check all 4 points, then mark the project as finished.
Next