Moodle Plugins directory: AI Connector | Moodle.org
AI Connector
The plugin that enables connection to AI services: ChatGPT, DALL-E, and Stable Diffusion. This plugin allows the user to fill in all needed fields to make API calls and provides a test page to check if all connections work.
Key Features:
Prompt Completion: The plugin allows users to generate completions for a given prompt text using OpenAI's ChatGPT models. It supports different models and provides options for specifying the temperature of the generated output.
DALL-E Integration: The plugin enables users to generate images based on a given prompt text using OpenAI's DALL-E model. Users can also edit existing images by providing an image file.
Stable Diffusion: The plugin integrates with the Stable Diffusion API provided by DeepAI. It allows users to perform stable diffusion on a given prompt text, which can be useful for tasks like text-based image synthesis.
The plugin requires API keys for OpenAI and DeepAI services, which can be configured in the Moodle settings. It provides methods for making HTTP requests to the respective AI endpoints and handling the responses.
The "AI" plugin enhances Moodle's capabilities by bringing AI-powered features to the platform, enabling users to leverage advanced AI technologies for various educational and learning purposes.
Could you please provide some further help about how to deploy your plugin? For example perhaps, how to deploy "AI" capabilities in forum activities?
Thanks.
Emmanuel
it's a great plugin and exactly what i need 😎.
Is it possible to ad a setting, to configure the endpoint?
I need to connect the plugin to another service with openai api.
Best regards
Jan
I have a few questions about your plugin. Is there a way to contact you?
Best regards,
Cedric
Thanks for your interest in the AI Connector plugin!
The AI Connector is a foundational plugin that enables communication with OpenAI’s API — it does not modify Moodle activities like forums directly. Instead, it provides a set of functions that other plugins or custom code can use to bring AI capabilities into different parts of Moodle.
A detailed documentation can be found here: https://github.com/enovation/moodle-local_ai_connector/blob/main/readme.md
Thanks! Glad to hear the plugin fits your needs 😎
At the moment, it’s not possible to configure a custom endpoint — the plugin is tightly coupled with the official OpenAI API.
However, if you’d like to connect it to another service that follows the OpenAI API structure, feel free to contribute on GitHub and extend the plugin’s functionality. We’d be happy to review and potentially merge improvements that make it more flexible!
You can reach us via the contact form at https://www.enovation.ie/lets-talk/— just mention "AI Connector plugin" in your message.