The use of Large Language Models (LLMs) for Massive Open Online Courses (MOOCs) presents new opportunities to facilitate context-aware support. In this context, LLMs have two main limitations: (1) the inability to provide answers relevant to the context of the student and (2) the risk of providing inaccurate answers. Retrieval-Augmented Generation (RAG) has been designed to overcome these limitations by combining the retrieval of curated information with the language processing capabilities of LLMs. However, there is little evidence on how the choice of deployment architecture and LLM affects the latency, answer quality, cost and student perception of RAG tutors. This paper presents the design, multi-LLM evaluation and student perception of RAG-Tutor, a RAG architecture built to serve as a chatbot for MOOCs. RAG-Tutor was evaluated in an “Introduction to Operating Systems” MOOC across three deployment architectures and seven LLMs, using a benchmark of 196 expert-validated questions. An exploratory study with 30 students examined self-reported perceptions of satisfaction, trust and explainability. RAG-Tutor demonstrates the feasibility of RAG systems by showing that: (1) RAG approaches outperform stand-alone LLMs; (2) not all architectures provide real-time interactions and high-quality answers; and (3) the choice of LLM has an impact on student perceptions.



