AI Text to questions generator

General plugins (Local) ::: local_aiquestions
Maintained by Yedidia Klein, I am a moodler :-PRuthy Salomon
A local plugin that is accessible from course top menu, that generates question on a given text using OpenAI ChatGPT. Note that Open AI API key is required for using this plugin.
Latest release:
375 sites
769 downloads
37 fans
Current versions available: 1

A local plugin that is accessible from course top menu, that generates question on a given text using OpenAI ChatGPT.

From course top menu, the teacher can choose "AI Questions" - then he get a form that he could paste or write text.

and choosing the desired amount of questions.

By clicking "Generate  Questions" button - the system send the request to ChatGPT and create questions in course question bank with the results from ChatGPT.

Then the teacher could use these questions in quizes.

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2

Contributors

Yedidia Klein (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Plugins bot
    Thu, Mar 30, 2023, 4:01 PM
    Approval issue created: CONTRIB-9242
  • Rodolfo Otjuela
    Thu, Jun 29, 2023, 8:10 PM
    Hello, after installing the plugin on Moodle version 4.2.1+, it does not allow me to enter the API key. I have tried in multiple browsers. Thank you for reviewing this error.
  • Yedidia Klein
    Wed, Jul 5, 2023, 8:13 PM
    Hello, juts checked it on 4.2 - can't find any problem..
    try to access [moodle_address]/admin/settings.php?section=local_aiquestions_settings
  • Wazza
    Mon, Jul 31, 2023, 5:21 PM
    Very nice plugin. I do have a suggestion: could we use the 'download course content' option in Moodle to get the course content and generate questions over the entire course? Or, could we generate questions on some sections or resources in a course? This way we don't need to enter the text manually, as it most likely is already in the course content available.
  • çağrı akkaya
    Fri, Aug 25, 2023, 5:59 PM
    Excellent work and many thanks. works super
  • Cristian Calvillo
    Thu, Oct 19, 2023, 9:23 AM
    Hello, I have a problem after set the API and configure it, the plugin is unable to generate the questions, I got this error "Error:Questions were not created" Any had experienced any similar error?
  • Juan Francisco Romero
    Thu, Nov 2, 2023, 2:23 AM
    Hello Cristian, I have the same problem. Please your help Yedidia Klein.
  • Heikki Wilenius
    Mon, Dec 4, 2023, 2:32 PM
    Have you tried the OpenAI API key with other applications? Is your cron set up properly? There have been no breaking changes in the code – so the problem is probably in the API key or your Moodle setup.
  • Alex N
    Fri, Dec 22, 2023, 10:54 PM
    Hello Yedidia,

    I have the same problem with Moodle 4.1.

    I have set cron correctly - it works. I have also installed other AI plugins that work with the api key.

    Could it have something to do with the PHP version? I don't get any error message.

    It just loads all the time, "Number of tries sent to OpenAI: 0 out of 10 tries" .

    I have also tested it with a new api key. I am not using chatgpt 4.0

    Thank you for your help.
  • ravi nistala
    Tue, Jan 9, 2024, 10:56 PM
    First i have installed it on moodle 4.3.5+ it did not work. but when i tried it in 4.2.5 thne openapi terminated my account. Below is the email which i got.
    i am using this api call from an ip based non SSL server.
    Does anybody had the same issue? Do we need to have a proper domain name and/or ssl in order to use this plugin?
    Help is needed.
    "
    We have determined that you are using OpenAI services in ways that violate our policies.

    Due to this breach we are halting access to our products immediately for the account associated with the email nvvnravi@hotmail.com. Common reasons for breach include violations of our usage policies or accessing our services from an unsupported location. You may also wish to review our Terms of Use.

    If you believe this is in error and would like to appeal, please contact us through our help center. We will review your appeal and will contact you if we reinstate your access.

    Best,
    The OpenAI team

  • Ralph Ballier
    Wed, Mar 20, 2024, 3:25 AM
    Hello,
    I created a key, which was possible without any problems. Then I added it to the plugin and tried to create questions in Moodle. It shows me that there have been ten attempts to create a key, but unfortunately no questions are created. Why does it not work?

    I am using Moodle 4.3.3 (Build: 20240212)

    Ralph
  • Ralph Ballier
    Wed, Mar 20, 2024, 3:32 AM
    It does not work with Moodle 4.2 either.
  • Ralph Ballier
    Wed, Mar 20, 2024, 10:47 PM
    I have just discovered the error message. It reads: "Error. Questions were not created". I can only agree with that.
  • Ralph Ballier
    Fri, Mar 22, 2024, 3:16 AM
    The problem is solved.

    The API is subject to a charge. After payment, the question creation worked.

    But the plugin seems to access an old version of ChatGPT. Angela Merkel is still German Chancellor. The newer versions are also subject to a fee. It's probably no longer so easy to access them.
  • Pavol Helmeci
    Sun, Jun 2, 2024, 1:20 PM
    How to modify a plugin to create questions form files? Thanks
Please login to post comments