arXiv:2610.02510cs.AIOct 2026

Manuscript Offprint

arXiv:2610.02510

On-Premises Multi-Course RAG Tutoring for Business Education: Hardware-Software Trade-offs in a Campus AI Tutor

Sidney Shapiro, Joshua Lindemann

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Campus AI tutors based on retrieval-augmented generation (RAG) must ground answers in assigned course materials while keeping textbooks and student dialogue on institutional infrastructure. We present CourseChat, an on-premises, multi-course RAG tutor for undergraduate business education, deployed behind a campus web gateway and intended for Moodle-embedded use. Six isolated course offerings—each keyed by its own course reference number (CRN)—share twin edge AI hosts running a FastAPI service, a local vector database, and a local large language model (LLM) served by Ollama. We report two generation-model bake-off rounds, a separate fixed-evidence source-fidelity comparison, and conversation and quiz audits. Several larger models failed a classroom speed gate, but a 12B model and a 7B alternative passed it. A separate mixture-of-experts candidate improved some corrections while introducing new factual and continuity errors. We therefore retain the 8B production model pending a demonstrated overall improvement, rather than claiming that 8B is universally optimal. Software changes improved follow-up topic resolution while preserving course scope; 435 prebuilt questions across 65 modules decouple practice from live generation. The results support treating model choice, evidence selection, serving compatibility, and product design as a joint engineering decision. They do not establish learning gains: faculty ratings, peak-load capacity, and complete public-gateway acceptance remain separate evaluation needs.

Keywords: retrieval-augmented generation (RAG); on-premises large language models; campus AI tutoring; business education; Moodle; course isolation; source fidelity; hardware-software co-design; educational technology

1 Introduction

Campus AI tutors promise grounded help on assigned materials without sending copyrighted textbooks or student dialogue to external APIs. Realizing that promise under institutional constraints is a systems problem: limited GPU memory, concurrent classroom use, LMS embeds, and a hard requirement that Course A never answer from Course B's corpus.

This paper documents CourseChat, a multi-course RAG tutor deployed for a business school. Students interact through a Moodle-embedding chat that supports (i) conversation grounded in the selected offering's indexed materials and (ii) module-scoped practice quizzes with answer keys, hints, and source excerpts. Six offerings (anonymized here as Courses 1–6) share one application binary while remaining isolated at the data and routing layers.

Our central claim is that building such a tutor requires an explicit hardware–software trade-off strategy: choose models and pipelines that fit the host memory and concurrency envelope; push

*ORCID: https://orcid.org/0000-0003-4193-1154 quality into retrieval, scoping, and evaluation rather than into ever-larger generators; and keep product surfaces (conversation vs. quiz) aligned with what the stack can guarantee.

The practical question is which component should change when a tutor gives a poor answer. An unhelpful follow-up can originate in lost conversational context, a missing passage, a relevance filter that rejects a useful passage, or a generator that misstates correctly retrieved evidence. A larger model addresses only some of these failures, and its benefits must be weighed against response time and serving compatibility. We use this distinction to organize both the architecture and the evaluation.

The paper makes three contributions. First, it describes a replicated local RAG architecture and its course-scoping and artifact-management boundaries. Second, it reports a generation-model comparison with fixed retrieval and token limits, alongside a deliberately separate model-and-response-contract experiment. Third, it connects observed failures to concrete design choices: retrieval-topic resolution, bounded evidence selection, and prebuilt practice banks. Together these provide an evidence-based account of why the current release retains an 8B model despite having enough memory to trial larger ones.

CourseChat began as a pilot project at the Dhillon School of Business to explore how a locally developed AI tutor could add value to students' learning. The university already provides students with access to Copilot and Gemini, and students also use ChatGPT and other generative AI tools. The pilot's purpose was therefore to complement these existing options with support tailored to local courses, teaching materials, and learning expectations. Rather than replicate general-purpose AI assistance, CourseChat was designed to help students engage with their assigned material and develop the confidence to work independently. Course-grounded explanations, practice questions, hints, and feedback were intended to encourage students to attempt problems themselves, examine their reasoning, and return to the course sources. The intended educational value lay in supporting students' own effort and understanding, with AI serving as a guide within that process.

References (15)