Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-85085

AI Summarise feature answers (quiz) questions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 4.5
    • AI
    • MOODLE_405_STABLE

      I'm using the aiprovider_openai together with a locally hosted vLLM and the model Meta Llama 3.3 70B. We noticed that the summarise function sometimes also answers questions that appear on the page, for example in quizzes. This often happens when there is only one question on the quiz page.

      This should not happen. I've tried improving the system instruction, but that doesn't help reliably.
      I think it helps to modify the user prompt like this:
      $userobj->content = "Summarise the following text:\n\n\"{$this->action->get_configuration('prompttext')}\"";
      (instead of only giving the page content as user prompt)

            matt.porritt@moodle.com Matt Porritt
            mgauk Martin Gauk
            Votes:
            6 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.