Moodle Plugins directory: AI questions generator | Moodle.org
AI questions generator
Question bank plugins ::: qbank_questiongen
Maintained by
ByCS Lernplattform,
Philipp Memmel
This plugin allows you to automatically create questions using a large language model. It currently requires the local_ai_manager plugin (https://github.com/bycs-lp/moodle-local_ai_manager) that manages the connection to the external AI system. It's a fork of the "AI Text to questions generator" created by Yedidia Klein and Ruthy Salomon.
Latest release:
139 sites
168 downloads
12 fans
Current versions available: 1
AI question generator
This plugin allows you to automatically create questions using a large language model. It currently requires the local_ai_manager plugin (https://moodle.org/plugins/local_ai_manager, https://github.com/bycs-lp/moodle-local_ai_manager) that manages the connection to the external AI system. It's a fork of the "AI Text to questions generator" created by Yedidia Klein and Ruthy Salomon.
For a description of the features please have a look at the README on github: https://github.com/bycs-lp/moodle-qbank_questiongen
Useful links
Contributors
ByCS Lernplattform (Lead maintainer)
Philipp Memmel
Please login to view contributors details and/or to contact them
I have tried generating only 2 question per go instead of 5 or 10, sending or not sending the existing questions from the current category as context, but no luck
Is this an issue we should file on the github? Am I doing something wrong?
Thanks for any help.
Limits configuration: Time window for maximum number of requests: 1 day; Purpose Question generation
Maximum number of requests per time window (base role): 10
Maximum number of requests per time window (extended role) : 50
(though probably not relevant - using admin account with unlimited role)
I'll use email to also supply you with the short text file I was passing to the question generator, for which I wanted to generate some 4-5 comprehension multiple choice questions (Later on I also test True-false, but my need is the MC type).
Here I can just say that my texts are short from 400-700 words each.
On the AI questions generator page I tested:
Number of questions to generate - from 2 to 10
Mode: Tried all the three: Topic, Provide contents, Course contents (with that last one I used Moodle pages in the course)
I tried both checking and unchecking the "Send existing questions as context"
As for the prompts I used the defaults:
Primer: "You are a helpful teacher's assistant that creates moodle multiple choice questions based on the topics given by the user."
Instructions: "Write a multiple choice question in {{currentlang}} language in moodle XML format on a topic I will specify to you separately. Do not include the question title in the beginning of the question text. Return the answer as plain text without any formatting or wrapping like for example using markdown backticks. Only return the generated XML without any additional text before and after. For maths formulas use latex notation, wrap the formulas in \( ... \) for inline style and $$ ... $$ for display style."
(BTW. A nice feature of the original plugin is that it takes the first line of the outputted question and makes it the title of the question. I was trying top add this request to the Primer text once, but it did not seem to work. Maybe we need a separate option alongside the "Add a preconfigured prefix ("AI generated - ") to the question name" ?).
I did not change anything tin the Example text setting. I'm not quoting it here.
I suppose that's that. I will now write that email - I will be sending it from a gmail account I use for my profile here, though I keep it hidden.
Thanks !