The AI Education Generator is a web application built using Laravel and FilamentPHP to help educators and students generate educational content, such as lesson plans, quizzes, and summaries, based on uploaded documents. It leverages the power of OpenAI's API to process educational materials (e.g., syllabi, textbooks) and generate content tailored to the input.
- Document Upload: Upload educational documents (e.g., syllabi, textbooks) in supported formats.
- Content Generation: Generate lesson plans, quizzes, summaries, and other educational content using OpenAI's GPT models.
- FilamentPHP Admin Panel: Manage content, view reports, and adjust settings through a user-friendly FilamentPHP interface.
- Customizable Output: Adjust content generation settings to suit different educational needs.
- Easy Integration: Built with Laravel and FilamentPHP for seamless scalability and easy administration.
- PHP 8.1 or higher
- Laravel 9.x or higher
- Composer
- OpenAI API key
-
Clone the repository:
git clone https://github.com/mhafiziskandar/ai-education-generator.git
-
Navigate to the project directory:
cd ai-education-generator
-
Install PHP dependencies:
composer install
-
Set up your environment variables in the
.env
file:- OpenAI API key:
OPENAI_API_KEY=your-api-key
- OpenAI API key:
-
Publish Filament assets and configurations:
php artisan filament:install
-
Run the Laravel server:
php artisan serve
-
Open your browser and navigate to
http://localhost:8000
to use the application.
- Upload educational documents to generate relevant content such as lesson plans, quizzes, or summaries.
- Customize content generation settings via the FilamentPHP admin panel.
- View and manage generated content easily through the admin interface.
- Fork the repository.
- Create a new branch (
git checkout -b feature-name
). - Commit your changes (
git commit -am 'Add new feature'
). - Push to the branch (
git push origin feature-name
). - Create a new Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
- OpenAI for providing the GPT-3/4 API.
- Laravel for the robust web application framework.
- FilamentPHP for providing a modern admin panel for easy management.