eca_quiz
1 sites
No security coverage
AI-Powered Quiz Generation for Drupal
The ECA Quiz module extends the ECA (Event-Condition-Action), Quiz and AI modules to automate the creation of interactive quizzes by providing action plugins.
This module provides the necessary AI and entity related action plugins for the Quiz Questions by ECA and AI recipe.
Key Features
- β AI-Generated Questions: Uses an AI action with customizable prompt templates (currently supporting OpenAI) to generate quiz questions in JSON format.
- β Automatic Quiz Generation: An ECA action plugin processes an AI-generated JSON string to create quiz questions with multiple-choice answers as Drupal entities.
- β Flexible integration: Based on the Quiz module for structured quiz management and ECA for workflow automation.
- β Extensible architecture: Built on a foundation of proven, well-maintained Drupal modules and best practices.
How It Works
- AI Prompt Action: Sends a structured prompt to an AI provider (e.g., OpenAI) to generate quiz questions.
- JSON Processing: The AI returns questions in JSON format, including question text, categories, options, and correct answers.
- Quiz Generation Action: Parses the JSON and automatically creates quiz questions and alternatives in Drupal.
- Ready-to-Use Quizzes: The generated quizzes are immediately available for use in courses, assessments, or interactive content.
Use Cases
- π E-Learning Platforms: Automate quiz generation for courses.
- π€ AI-Assisted Content Creation: Reduce manual effort in creating engaging quizzes.
- π Dynamic Assessments: Generate up-to-date quizzes based on evolving content or user input.
Requirements
- AI module with configured OpenAI provider. This requires an OpenAI platform API key. See introduction on theΒ OpenAI platform.
- ECA (Event-Condition-Action)
- Quiz module
Recipe
Use the Quiz Questions by ECA and AI recipe for creating a quick and ready setup for quiz question generation.