Skip to main content

Two course chatbots, one semester

teaching
AI in education
My students had an extra teaching assistant this semester, one that answered only from my course notes. Here is how it came together.
Author

Aritra Pan

Published

November 19, 2026

This semester my M.Sc. Data Science students at MSE had an extra teaching assistant for two courses, Statistics with R and Introduction to Artificial Intelligence. It never slept, never lost patience, and answered only from my course notes. Here is how it came together.

Why bother

Doubts don’t keep office hours. They turn up at 1 a.m., the night before an exam. A general-purpose chatbot will answer at that hour too, but in its own notation, with its own examples, and sometimes with confident nonsense. I wanted answers that matched what we had done in class.

Starting small

I had considered building a custom system. I started instead with a free, off-the-shelf tool that answers from the documents you give it, one notebook per course. If the idea failed, I would have lost some time, not a budget.

What went in

Only my own material: class notes, the case studies, and the code we ran in class. Before uploading, I removed everything meant for me alone: session timings, teaching cues, marking schemes, and anything related to exams. No textbook content went in. Then every number was rechecked against the actual code and data.

Making it sound like the course

The personalisation was mostly a set of written instructions on how to answer:

  • plain language first, formula second;
  • use the cases the class already knows: the fraud desk at a payments company, a village census, a delivery start-up;
  • say where in the course notes the answer comes from;
  • when a question goes past the notes, say so clearly instead of improvising;
  • a little dry humour, aimed at the material and never at the student.

How it went

Access was limited to the students of the two courses, and each student’s conversation stayed private to them. They leaned on it while building their end-of-course group projects, at hours when I was not available.

What it can’t do

It knows only what I gave it. Its voice is a milder version of mine.

Next

A version anyone can use. Until then, the Learn by Playing section of this site is open to everyone.

Statistically Yours,
Aritra