Download the PHP package gamalkh299/gpt-content-reviewer without Composer
On this page you can find all versions of the php package gamalkh299/gpt-content-reviewer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download gamalkh299/gpt-content-reviewer
More information about gamalkh299/gpt-content-reviewer
Files in gamalkh299/gpt-content-reviewer
Package gpt-content-reviewer
Short Description A Laravel package to review content and images using ChatGPT API
License MIT
Homepage https://github.com/gamalkh299/gpt-content-reviewer
Informations about the package gpt-content-reviewer
A Laravel package to review content and images using ChatGPT API
This package allows you to review the content of a model using ChatGPT Moderation API.
Installation
You can install the package via composer:
You can publish and run the migrations with:
This is the contents of the published config file:
Usage
- At fisrt, you need to get an API key from ChatGPT.
- Then, you need to add the API key to your
.env
file.
Then add the following trait to the model you want to review its content.
Don't forget to implement the getReviewableColumns abstract function to specify the columns you want to review and handleReviewResult abstract function to handle the review result.
before you use it you need to run the following command to create the review table.
you can use the package to create a review for a model and it will be added to the queue to be reviewed.
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- Gamal Khaled
License
The MIT License (MIT). Please see License File for more information.
All versions of gpt-content-reviewer with dependencies
spatie/laravel-package-tools Version ^1.16
illuminate/contracts Version ^10.0||^11.0