Hands-on RAG for Education:
From a Generic Chatbot to
a Document-Grounded System

Tutorial at the 27th ACM Annual Conference on Cybersecurity and Information Technology Education
(ACM SIGCITE 2026), Wilmington, North Carolina, November 12–14, 2026
Tutorial: Friday, November 13, 2026, 1:15–2:30 PM, Congdon Hall 1003

ACM SIGCITE logo ACM SIGCITE 2026 conference logo

Abstract

General-purpose chatbots can give misleading answers to advising questions when they lack an institution's current policies and catalog. This tutorial introduces computing educators to Retrieval-Augmented Generation (RAG) as a way to ground responses in institutional documents. Participants compare four RAG approaches, from no-code platforms to a custom implementation, using the same documents, test set, and scoring rubric. They then build an advising assistant from university webpages and PDFs, working through document conversion, chunking, retrieval, and answer generation. The exercises focus on citations and declining to answer when sources provide insufficient evidence. The final module considers why course recommendations require more than policy retrieval and discusses safeguards for responsible use.

By the end of the tutorial, participants will be able to

  • explain how RAG grounds answers and why grounding matters for advising,
  • compare four ways to build a RAG assistant in terms of effort, control, and data exposure,
  • build an advising assistant from institutional HTML and PDF documents and evaluate it with a test set and rubric, and
  • explain what course recommendation requires beyond document question answering and which safeguards responsible deployment needs.

No prior experience with LLMs or embeddings is required. Basic Python is helpful. Please bring a laptop with a current web browser.

Programs

Time: Friday, November 13, 2026, 1:15–2:30 PM (75 minutes)
Location: Congdon Hall 1003, University of North Carolina Wilmington, Wilmington, NC

Opening (5 min)

  • Logging in to the tutorial JupyterHub and checking the environment
  • Two ways to run the labs: the tutorial server today, and Google Colab after class

Module 1. Four Ways to Build RAG (20 min)

  • Why we need RAG: a chatbot without documents invents contact details
  • How RAG works: find the relevant chunks, then answer from them
  • The two tasks, the five test questions, and the 0–2 scoring rule
  • Consumer platforms (NotebookLM)
  • Managed RAG APIs (Gemini File Search)
  • Self-hosted applications (AnythingLLM)
  • Comparing the scores, and trading convenience for control over retrieval and data

Module 2. Building an Advising Assistant from Scratch (35 min)

  • Converting HTML and PDF documents to Markdown, and fixing merged table cells
  • Fixed-length versus heading-based chunking
  • Embedding and retrieval with a small open model
  • A grounded prompt with citations, and testing a one-sentence change
  • Scoring the test set, comparing the four approaches, and other ways to evaluate RAG
  • From notebook to chatbot: putting each of the four approaches behind a chat window (self-paced Notebook 3)
  • After class (optional): hybrid BM25 retrieval, a vector database, and student profiles

Module 3. How Far Can We Trust the Answers? (8 min)

  • Where a RAG answer can still go wrong, with examples from our own tests
  • Showing the source chunks with every answer so that people can check it
  • Confidence signals, and why they must be tested before use

Module 4. Optional: Course Advising as a More Complicated Task (7 min)

  • Why course recommendation needs rules and student data, not just retrieval
  • A hybrid design: rules decide what is allowed, RAG explains the policies, and an advisor confirms
  • Safeguards for responsible deployment
  • Q&A

Presenters

Yong Zheng

Presenter

Dr. Yong Zheng

Associate Professor
School of Computing,
Illinois Institute of Technology,
Chicago, IL, USA

Jian Zhang

Assistant

Jian Zhang

Ph.D. Student
School of Computing,
Illinois Institute of Technology,
Chicago, IL, USA

Materials

  • Lab resources
    • Notebooks: run the lab version on the tutorial JupyterHub during the session, and the Colab version after the tutorial.
      • Notebook 1, three ready-made ways to build a RAG assistant:
      • Notebook 2, build a RAG assistant from scratch:
      • Notebook 3, from notebook to chatbot (self-paced, after the tutorial):
        • Colab version only Open In Colab
    • Documents
      • Policy question answering: Tuition, Fees, and Costs page (HTML), ITM Graduate Student Handbook (PDF)
      • Course advising: PhD in Information Technology catalog page (HTML), ITM course descriptions (PDF)
    • Testing: testing questions, expected answers, and scoring rubric, see edrag-test-questions.html
  • Slides: EdRAG_SIGCITE2026_public.pdf
  • Reference: Yong Zheng (2026). Hands-on RAG for Education: From a Generic Chatbot to a Document-Grounded System. In Proceedings of the 27th ACM Annual Conference on Cybersecurity and Information Technology Education (ACM SIGCITE '26). ACM. DOI: 10.1145/3857770.3858323