eFlow Technologies
Lead maintainer
This plugin integrates an AI tutoring system into Moodle, providing real-time assistance to students and teachers.
/local/eflow_aitutor in your Moodle installationTo obtain your API credentials:
The plugin automatically polls the eFlow API every 30 seconds to check for new responses. This happens when:
Polling is automatically paused when the chat is closed to conserve resources.
The plugin connects to the eFlow API for AI responses. The flow is:
When iframe mode is enabled, the plugin can display external content in an iframe instead of the chat interface. The iframe URL can include the following Moodle variable placeholders:
moodle_user_id: The current user's IDmoodle_course_id: The current course's IDmoodle_activity_id: The current activity's ID (if available)For example, if you set the iframe URL to:
https://learn.eflow.app/embed/eL990000316938e/moodle_user_id/moodle_course_id/moodle_activity_id/app
The plugin will automatically replace the placeholders with actual values:
This allows the iframe content to be aware of the Moodle context in which it's being displayed.
chat.js: Main chat interfacepoller.js: Handles API polling functionalityclasses/external/send_message.php: Sends messages to the APIclasses/external/check_responses.php: Checks for new responseslib.php: Contains utility functions including API authenticationThis plugin is licensed under the GNU GPL v3 or later.