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