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 date and time: to be announced

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: to be announced (90 minutes)
Location: University of North Carolina Wilmington, Wilmington, NC

Opening (5 min)

  • Logging in to the tutorial JupyterHub and checking the environment

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

  • Why a generic chatbot invents answers to advising questions
  • Consumer platforms (NotebookLM)
  • Managed RAG APIs (Gemini File Search)
  • Self-hosted open-source applications (AnythingLLM)
  • Trading convenience for control over retrieval and data

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

  • Converting HTML and PDF documents to Markdown
  • Fixed-length versus heading-based chunking
  • Embedding and retrieval with a small open model
  • Grounded generation with citations and refusal
  • Scoring the test set and comparing the four approaches
  • Optional: hybrid BM25 retrieval, a vector database, and student profiles

Module 3. Optional: Course Advising as a More Complicated Task(15 min)

  • Why course recommendation needs more than retrieval
  • A hybrid design with a structured catalog, rule-based checks, RAG, and a recommender
  • Safeguards for responsible deployment
  • Q&A

Presenters

Yong Zheng

Dr. Yong Zheng

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

Materials

  • Lab Resources
    • Notebook (JupyterHub and Google Colab versions): coming soon
    • Documents/Texts Input:
      • The task of policy answering: Tuition Rate Webpage (HTML), Student handbook (PDF)
      • The task of course advising: Program Requirement Webpage (HTML), Course Information (PDF)
    • Tesing set: Click here
  • Slides: coming soon
  • 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