# Exercise Generator

The AI Exercise Generator helps you create quiz questions automatically using artificial intelligence. You provide a topic or content, and the AI generates questions that you can review, edit, and add to your exercises.

## Accessing the Exercise Generator

The Exercise Generator is available when creating or editing an exercise, provided that:

1. AI helpers are enabled at the platform level
2. The exercise generator is enabled in the course settings
3. At least one AI text provider is configured

Look for the **AI Generator** button or section within the exercise creation interface.

## How to Generate Questions

![The AI exercise generator form with fields for topic, question type, and difficulty](https://3870221420-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSHilSeDtvDev0n1c7wbJ%2Fuploads%2Fgit-blob-5cf4665a017debeb82dbda03f5ab4fd58b8947cc%2Fai-exercise-generator.png?alt=media)

1. Open the AI Generator form within an exercise
2. Configure the generation parameters:
   * **AI provider** — Select which AI provider to use (if multiple are configured). If only one provider is available, it is selected automatically.
   * **Topic or content** — Describe what the questions should be about, or paste the content that questions should be based on
   * **Number of questions** — How many questions to generate
   * **Question type** — What type of questions to generate (multiple choice, true/false, fill in the blanks, etc.)
   * **Difficulty level** — The desired difficulty of the questions
3. Click **Generate**
4. The AI produces a set of questions with answer options and correct answers marked

## Reviewing and Editing

![AI-generated questions displayed for review with options to edit, accept, or remove each one](https://3870221420-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSHilSeDtvDev0n1c7wbJ%2Fuploads%2Fgit-blob-4d3a1182f0318dce936276a5ef8a32c01f046249%2Fai-exercise-generator-results.png?alt=media)

Generated questions are presented as **suggestions**. You should:

* **Review each question** for accuracy and relevance
* **Edit the wording** if needed — adjust questions, answer options, and feedback
* **Verify correct answers** — make sure the AI has identified the right answers
* **Remove unsuitable questions** — delete any that don't meet your standards
* **Adjust scoring** — set appropriate point values for each question

Once you are satisfied, add the questions to your exercise.

## Tips

* **Provide specific topics** — The more specific your topic description, the more relevant the generated questions will be
* **Always review** — AI-generated content may contain errors. Never publish questions without reviewing them first.
* **Use as a starting point** — Generated questions are a time-saver, not a finished product. Edit them to match your teaching style and course content.
* **Mix with manual questions** — Combine AI-generated questions with manually created ones for the best results
* **Try different providers** — If multiple AI providers are available, try different ones to see which produces the best questions for your subject area
