Project idea · ungraded

Course FAQ Chatbot

Build a chatbot that answers questions about this course — what a step covers, how Run and Submit differ, which step to do next — using RAG over the course's lesson text, and that cites the lessons it used. It should say "I don't know" when the answer is not in the material.

You will use

Milestones

Build the smallest working version first. Ticks are saved in this browser only.

Stretch goals

  • Keep conversation history so follow-up questions work.
  • Serve it with FastAPI and add a chat box to a web page.
  • Log questions the bot could not answer to find gaps in the lessons.

Data

Use the lesson articles of this course (each step's lesson) or notes from your own classes. For a local model without API keys, install Ollama and pull a small model.

Run it yourself

pip install langchain-core langchain-ollama scikit-learn
python faq_bot.py