Skip to main content

Week 4 — Labs & Capstones

This week has two capstone projects and one lab assignment.

TypeNameTime Estimate
CAPSTONEBS Degree Chatbot8–12 hours
CAPSTONEPolicy Chatbot6–10 hours
LABRAGAS Evaluation Dashboard3–5 hours

What You'll Submit

Labs are non-graded but expected — TA reference implementations exist, and your solutions will be compared.

Capstones are real deployments used by IIT Madras teams — treat them like production work.


Setup (Common for All)

bash
# Create project
uv init week4-rag && cd week4-rag
uv add \
openai anthropic langchain langchain-openai \
chromadb qdrant-client faiss-cpu \
rank_bm25 sentence-transformers flashrank \
ragas fastapi uvicorn python-dotenv \
streamlit pandas matplotlib

# Environment
cp .env.example .env
# Fill in your API keys
bash
# .env
OPENAI_API_KEY=sk-...
ANTHROPIC_API_KEY=sk-ant-...
COHERE_API_KEY=... # optional, for Cohere rerank