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.3

Moodle 4.1, 4.2, 4.3
Released: Thursday, March 27, 2025, 1:33 AM

improve the handling of empty documents and enhance the BM25 class, as well as updates to the get_top_ranked_chunks method in multiple files. Additionally, there are modifications to the system prompt and plugin version.

Version information

Version build number
2025032700
Version release name
v1.0.3
Can be updated from
v1.0.0 (2025031111), v1.0.1 (2025031112), v1.0.2 (2025032623)
Can be updated to
v1.0.4 (2025032822)
Maturity
Stable version
MD5 Sum
7d42c3e6d93a0aa5b3b52cad558ea9e0
Supported software
PHP 7.4, PHP 8.1, Moodle 4.1, Moodle 4.2, PHP 8.2, Moodle 4.3

Version control information

Version control system (VCS)
GIT
VCS repository URL

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.