Skip to main content

Create AI reinforcement activity (Only for moodle 4.5 or higher)

Description​

This action will request the Datacurso AI service to generate a personalised reinforcement activity for users who meet the rule conditions.

πŸ’‘ In practice: use this when you want to automatically provide extra practice to learners who are inactive or struggling.

Pre-requisites​

  1. Moodle 4.5 or higher
  2. Have the Restriction by user plugin installed and enabled, which can be downloaded for free from: https://moodle.org/plugins/availability_user.
  3. Have the Course Creator AI plugin installed and enabled, which can be downloaded for free from: https://moodle.org/plugins/local_coursegen.

Action configuration​

  1. Prompt:
    Enter the instruction that the AI will use to generate the reinforcement activity.

    • You can include placeholders to personalise the prompt for each user. Available placeholders:
      • {$a->coursename} – Course name
      • {$a->courseurl} – Course URL
      • {$a->fullname} – User full name
      • {$a->firstname} – User first name
      • {$a->lastname} – User last name

    Tip: A good prompt explains what to reinforce and what the learner should practice.

  2. Generate images:
    If enabled, the AI may generate and include images in the created activity when supported by the target activity type.

  3. Section:
    Select the course section where the activity will be created.

  4. Insert before:
    Optionally choose an existing activity to insert the new activity before. If set to None, the new activity will be appended at the end of the selected section.

Create AI activity