Exabis AI Chat Block

Blocks ::: block_exaaichat
Maintained by Andreas Riepl
Exabis AI Chat Block is a Moodle plugin that brings configurable, course-aware AI chat directly into your courses. It supports dynamic placeholders (e.g. user name, grades, current date), custom instructions per target group, and per-course API keys, while integrating with multiple AI providers (OpenAI, Ollama, Google Gemini and other OpenAI-compatible services).
Latest release:
28 sites
235 downloads
8 fans
Current versions available: 1

Main Features:

  • Source of Truth Configuration:
    Use contextualized Moodle course data—such as gradebook information, username, and other fields—to enrich AI responses. These can be injected using dynamic placeholders.

  • Dynamic placeholders:
    Custom User Messages with dynamic placeholders: Each block instance can define an initial message sent to the AI. The message supports user- and course-based placeholders that are automatically replaced before the request is sent.

    Example message template:
    "My name is {user.fullname} and my final course grade is {grade:Final Grade}."
    These placeholders are replaced with actual user and course data before being sent.

    As the AI is not aware of the current date/time, you can also add a placeholder for the current date/time, such as {userdate}.

  • Custom Instructions:
    Define communication style or behaviour for different target groups within a course.
    eg. act like a tutor: “Act as a patient, friendly teacher. Explain each concept as if to a beginner. Use plain words, short sentences, and real-world examples. Where appropriate, give step-by-step instructions and small practice tasks the student can try. Ask one follow-up question to check understanding.”

  • Course configuration:
    Trainers can use their own API keys on a per-course level—no admin configuration needed.

  • Moodle AI Provider Integration:
    All configured Moodle AI Providers can be used in the AI Chat Block
    Users are able to switch between different AI Providers

  • Supported AI Providers:
    Currently supported and tested AI Providers: OpenAI, Ollama, Google Gemini.
    All other OpenAI-compatible providers can also be used.

  • Prompt Logging:
    All API requests can be logged and later reviewed by course trainers. To access the logs go to: Course -> More -> Reports -> Exabis AI Chat Logs

Free AI Models and API Keys:

The AI Chat Block can be used without paid licenses by leveraging free or self-hosted AI providers. These options are ideal for testing, experimentation, or cost-sensitive environments.

Use Cases:

  • Provide grading rules: Trainers define rules in the instruction field for how grading inquiries should be answered.

  • Contextualized student questions: Students can ask course-specific questions using gradebook data (e.g. "What do I need to do to pass this course?").

  • Target-group–specific communication styles: For example, “Act as a Tutor”, “Talk like a pirate”,...

  • Prompt reflection: Trainers can review prompt logs in course reports.

  • Experiment with AI models: Trainers can use their own API keys to test different AIs.

Advanced Features:

  • Simple RAG Integration:
    Files uploaded to the OpenAI Platform can be queried by the AI agent. Instructions:

    • Create a new vector store on the OpenAI Platform: https://platform.openai.com/storage/vector_stores/

    • Add files to newly created vector store (processing these files may take a couple of minutes)

    • Configure the vector store ID (eg. vs_1234abc) in the block settings

  • Responses API Support (New API from OpenAI)

  • Assistant API Support (Deprecated API from OpenAI)

  • Azure (Self-hosted Open AI) - Supports Azure-hosted OpenAI instances

Planned features:

  • Allow trainers to pre-select available AI models for students

  • User-based vector storage (RAG):
    This feature allows students to ask the AI questions about any course materials, such as PDFs, Word files, presentations, or text documents.
    All these files are automatically analysed and stored in a student-specific “knowledge base” (a vector store) on the AI Provider servers.

  • Extended placeholder support

For more documentation, visit: https://www.exabis.at/en/moodle-modules/ki-chat/funktionen

The original development of the block was carried out by GTN in collaboration with the Laboratory for Advanced Technology in Education at the University of Zagreb Faculty of Organization and Informatics. The Laboratory contributed to the plugin’s conceptual design, pedagogical framework, and evaluation process, bringing extensive expertise in educational technology and its application within higher education contexts.

For more information, visit: https://www.foi.unizg.hr/en/about-us/departments/late

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2

Contributors

Andreas Riepl (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments

Show comments
  • Plugins bot
    Sat, 7 June 2025, 8:20 PM
    Approval issue created: CONTRIB-9947
  • Ihor Katerniak
    Tue, 16 Dec 2025, 5:25 AM
    During testing of the Exabis AI Chat Block in Moodle 5, we noticed that the standard roles (Teacher, Student) do not have the necessary capabilities to use the chat.

    Currently, for the Teacher role, only the following capabilities exist:

    moodle/block:view → Yes

    moodle/block:edit → No

    block/exaaichat:addinstance → No

    ❌ Capabilities like block/exaaichat:use, block/exaaichat:ask, or any capability to actually interact with the AI are missing.

    Impact:

    Teachers and Students can see the block (if added by Admin), but cannot interact with the chat.

    API calls to the AI are executed (tokens are consumed), but responses are not returned to users.

    This effectively makes the block unusable for non-admin roles in Moodle 5.

    Request / Suggestion:
    Please add proper capabilities for Teacher and Student roles, such as:

    block/exaaichat:use → allow sending messages

    block/exaaichat:ask → allow asking questions

    Any additional capability necessary for AI interaction

    This will ensure that the block works correctly for all intended roles and that AI responses are delivered as expected.
  • pro-web at
    Tue, 16 Dec 2025, 8:15 PM
    dear Ihor,

    i saw that you posted the same on our bug tracker.
    I've created an issue there: https://github.com/gtn/moodle-block_exaaichat/issues/22
Please login to post comments