A Laravel Nova 4 powerful tool that leverages the capabilities of ChatGPT to automate the generation of realistic and meaningful data for your database seeding need.
naif/chatgpt-seeder is a Laravel package for a laravel nova 4 powerful tool that leverages the capabilities of chatgpt to automate the generation of realistic and meaningful data for your database seeding need..
It currently has 9 GitHub stars and 48 downloads on Packagist (latest version v1.0.7).
Install it with composer require naif/chatgpt-seeder.
Discover more Laravel packages by naif
or browse all Laravel packages to compare alternatives.
Last updated
You can install the package into a Laravel app that uses Nova 4 via composer:
composer require naif/chatgpt-seeder
Publish the package's configuration file
php artisan vendor:publish --provider="Naif\ChatgptSeeder\ToolServiceProvider"
Add the below to .env file:
CHATGPT_SEEDER_API_KEY= (OpenAI API Key)
CHATGPT_SEEDER_MAX_TOKENS=1000
CHATGPT_SEEDER_GENERATE_RETRY=3
Add the tool to NovaServiceProvider.php
public function tools()
{
return [
new ChatgptSeeder()
];
}
ChatGPT Seeder's configuration file, located at config/chatgpt-seeder.php
Allows you to set and customize:
1- Access ChatGPT Seeder Tool from the Laravel Nova dashboard.
2- Fill in the required information, such as:
3- Click the "Generate" button to initiate the data generation process.
4- Data Preview will show up displaying the first 8 records.
5- Click Proceed to insert data to table, or click on Regenerate again until you are satisfied with the result.
https://naif.io
Bug Tracker:
https://github.com/naifalshaye/chatgpt-seeder/issues
The MIT License (MIT). Please see License File for more information.