Z-ENG: Retrieval-Augmented Generation (RAG) System for Student Supervision Email Support

2026-2027 ősz

Szoftver

Téma leírása

Design and implement a Retrieval-Augmented Generation (RAG) system that assists in preparing responses to routine student supervision emails related to registration, deadlines, extensions, thesis procedures, and similar administrative questions. The system should retrieve relevant information from official university guideline documents and use a locally hosted Large Language Model (LLM) to generate grounded draft responses.

The system should function as an academic decision-support and email drafting tool, where generated responses can be reviewed by the supervisor before being sent, rather than as a fully autonomous email-response system.

The project integrates: Retrieval-Augmented Generation (RAG), natural language processing, semantic search, vector databases, local Large Language Models, and workflow automation.

Project Objective:

To design, implement, and evaluate a RAG-based system that retrieves relevant information from university guideline documents and generates accurate and grounded draft responses to student supervision emails, while comparing its performance with a standalone LLM that does not use document retrieval.

Main Requirements of the Project:

1- Knowledge Base and Document Processing

  • Collect suitable university thesis, internship, or supervision guideline documents.

  • Extract and preprocess the document text.

  • Divide the documents into suitable text chunks.

  • Generate embeddings and store them in a vector database such as Qdrant.

2- Baseline LLM System

  • Use Ollama to run a suitable local Large Language Model.

  • Implement a baseline system that generates responses directly from the student email without document retrieval.

  • Integrate the workflow using n8n.

3- RAG-Based Email Response System

  • Perform semantic search to retrieve guideline sections relevant to the received question.

  • Provide the retrieved information as context to the local LLM.

  • Generate a grounded draft response based on the retrieved university information.

  • Include the relevant retrieved source or guideline section where appropriate.

4- Test Dataset

  • Create a synthetic dataset of realistic student supervision emails covering topics such as registration, deadlines, extensions, thesis procedures, and general administrative questions.

  • Define a reference answer and relevant guideline section for the main evaluation questions.

  • Include some questions for which the guideline documents do not provide sufficient information.

A carefully prepared dataset of approximately 150–300 questions is sufficient for the required project.

5- Testing & Evaluation

  • Compare the RAG-based system with the standalone Ollama baseline.

  • Evaluate answer correctness, relevance, and faithfulness to the provided guideline information.

  • Evaluate retrieval performance using an appropriate metric such as Recall@k or retrieval accuracy.

  • Analyze cases where the system produces incorrect or unsupported responses.

  • Perform one simple RAG experiment, such as comparing different Top-k retrieval values or document chunk sizes.

  • Compare the response time of the two approaches and discuss their main limitations.

The project is considered complete if it delivers the following outcome:

  1. A processed university-guideline knowledge base stored in a vector database.

  2. A working standalone Ollama baseline system.

  3. A functional RAG-based email response system using n8n + Ollama + vector database.

  4. A structured test dataset for evaluation.

  5. A quantitative comparison demonstrating the effect of retrieval on the quality of generated responses.

Maximális létszám: 1 fő