AI Virtual Teaching Assistant
A retrieval-augmented question answering system for the IIT Madras Tools in Data Science course, built as a small RAG research lab. Embeddings are cached by content hash so trying a new retriever or reranker is cheap, and the same pipeline runs behind a FastAPI endpoint in Docker with tests and CI.
- problem
- Students need answers about a course that stay grounded in the course's own material.
- approach
- A modular pipeline where chunking, embeddings, retrieval (dense, BM25, hybrid), query transformation (HyDE, multi-query), RRF fusion, reranking and generation are each chosen by name in a YAML config; evaluation runs save their exact config and per-question results so a change can be measured.