MooChat
Maintained by
Brian Pool
Add AI-powered chatbots to your course sidebars. Create custom AI assistants with unique personalities, avatars, and rate limiting. Works seamlessly with Moodle's core AI subsystem - no external services required.
Comments
Comments are no longer open for new posts. Existing comments remain available to read.
I’m currently using MooChat on Moodle 4.5 for an institutional LMS, and first of all, thank you for a clean and well-structured plugin.
I’m exploring a custom extension where the chatbot acts as an AI tutor, with access to student context (name, custom profile fields like major), course info, and grade summary, injected into the system prompt.
Before going further, I wanted to ask a few architectural questions:
1- Is classes/local/send_message.php the intended place to enrich the prompt with additional context (student/course data)?
2- Are there any Moodle-side limitations or best practices you recommend when passing contextual data into core_ai\aiactions\generate_text?
3- From your perspective, is MooChat better forked for this use case, or extended directly?
I’m not asking for custom development, just validation that this approach aligns with how you intended the plugin to be extended.
Thanks again for your work any guidance would be appreciated.