Terus RAG

Blocks ::: block_terusrag
Maintained by Khairu Aqsara
Moodle block plugin implements Retrieval-Augmented Generation (RAG) functionality, allowing users to query course content using large language models. The plugin integrates with either Google's Gemini API, Ollama or OpenAI to provide intelligent responses based on your course data.

Terus RAG v1.0.7

Moodle 4.1, 4.2, 4.3
Released: Thursday, 17 April 2025, 10:38 AM

Changes in this Release:

  • Improved PHPDoc Descriptions:
    • Updated parameter descriptions for the process_chunk_batch method in gemini.php, ollama.php, and openai.php files.
    • Added clarification about parameter types and their indexing for better code readability and developer guidance.
  • JavaScript Enhancements:
    • Modified raginterface.min.js and its source map to fix and improve functionality within the RAG block interface.
  • Version Update:
    • Plugin version updated to 2025040923.
    • Release version updated from v1.0.6 to v1.0.7.

Version information

Version build number
2025040923
Version release name
v1.0.7
Can be updated from
v1.0.4 (2025032822), v1.0.6 (2025040512)
Maturity
Stable version
MD5 Sum
3d1129ada6d6815f62582da037e00a77
Supported software
Moodle 4.1, Moodle 4.2, Moodle 4.3
  • Latest release for Moodle 4.1
  • Latest release for Moodle 4.2
  • Latest release for Moodle 4.3

Version control information

Version control system (VCS)
GIT
VCS repository URL
VCS tag
v1.0.7

Default installation instructions for plugins of the type Blocks

  1. Make sure you have all the required versions.
  2. Download and unpack the block folder.
  3. Place the folder (eg "myblock") in the "blocks" subdirectory.
  4. Visit http://yoursite.com/admin to complete the installation
  5. Turn editing on in any home or course page.
  6. Add the block to the page
  7. Visit the config link in the block for more options.