Download the PHP package lenorix/laravel-ai-jobs without Composer
On this page you can find all versions of the php package lenorix/laravel-ai-jobs. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download lenorix/laravel-ai-jobs
More information about lenorix/laravel-ai-jobs
Files in lenorix/laravel-ai-jobs
Package laravel-ai-jobs
Short Description Queue AI to process in background
License Unlicense
Homepage https://github.com/lenorix/laravel-ai-jobs
Informations about the package laravel-ai-jobs
Laravel AI Jobs
Queue AI to process in background.
Support us
Support this work in GitHub or get in contact.
Installation
You can install the package via composer:
This uses lenorix/laravel-job-status
package, so you need to use its migrations.
You can publish and run the migrations with:
Usage
After create your maltekuhr/laravel-gpt
class extending GPTChat
create a job and extend
Lenorix\LaravelAiJobs\GptChatJob
class.
And now queue it instead of use send
method, and save the tracker ID:
When the tracker isSuccessful
method returns true, get ready an instance of
your GPTChat
and use GptChatFuture
to update that with the result.
Now you can use that as usually, using latestMessage
method.
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
- Jesus Hernandez
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of laravel-ai-jobs with dependencies
illuminate/contracts Version ^10.0||^11.0||^12.0
lenorix/laravel-job-status Version ^0.4
maltekuhr/laravel-gpt Version ^0.1
spatie/laravel-package-tools Version ^1.16