Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

This module integrates AI capabilities into Drupal, allowing for AI-powered content generation within CKEditor 5, the creation of interactive AI chatbots, and the development of AI agents. It supports self-hosted models via LM Studio or Ollama, with options to use services like Deepseek, OpenAI, or Gemini, and enables Retrieval-Augmented Generation (RAG) for enriching content by scanning articles or files.

This is a module that uses AI specifically self-hosted using LM Studio or Ollama and free models like Deepseek. It can add into ckeditor5 to generate content, create chatbots that allow direct exchange, AI agents, with RAG embeding and Model Context Protocol support to be able to scan the content of articles or files to enrich content

Require

Your database must support VECTOR type.
It must have MySQL version 9+ or Mariadb 11.7+ for RAG
You can use AI providers like Deepseek, OpenAI, or Gemini.
If you want to host your server yourself, you can install LM Studio on your server.

How to use

  • You must install and run LM Studio or Ollama on the server. Load the necessary free models, I highly recommend you use deepseek 7B or Gemma 3 which are very light for weak servers. The nomic-embed-text or mxbai-embed-large models are needed if you want to use embedding
  • After installing the module, go to the settings module, you can configure the url and api key (for gemini). You can define the types of prompts used for ckeditor.
  • You can add the ai chat block or go to the /chat path to be able to chat with AI.
  • You can use VBO to create a view and select the entities you want to embed into the document so that the AI ​​chat can be smarter.
  • You can define functions and permissions so you can ask AI to do something when chatting. (MCP vs function calling is new so this feature will be updated latter).
  • If you want RAG your image, document, pdf.... you can do with module
    OCR File
  • Chat inteface is using bootstrap 5, you can restyle template with your custom theme, fully support bootstrap 5 admin


This is a module for personal research on self-hosted solutions so you should be sure about the hardware before installing.

If you find this module valuable, consider supporting the developer by buying me a ☕

Activity

Total releases
1
First release
Apr 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Dormant

Releases

Version Type Release date
1.x-dev Dev Apr 22, 2025