maltekuhr / laravel-gpt
Streamlined integration of OpenAI's ChatGPT (GPT-3.5, GPT-4) into Laravel applications.
Installs: 36 080
Dependents: 0
Suggesters: 0
Security: 0
Stars: 95
Watchers: 6
Forks: 20
Open Issues: 0
Requires
- php: ^8.1.0
- guzzlehttp/guzzle: ^7.5
- illuminate/support: ^9.2|^10|^11
- laravel/framework: ^9.0|^10|^11
- openai-php/client: ^0.8.4
Requires (Dev)
- orchestra/workbench: ^7.3|^8.5|9.x-dev
- phpunit/phpunit: ^9.0|^10
README
Unleash the Power of OpenAI's ChatGPT API
Introducing LaravelGPT, a tool designed to simplify the integration of OpenAI's ChatGPT with your Laravel applications. This package offers a seamless connection to the OpenAI Chat Completions API, even supporting Function Calling. Forget the complications of crafting the correct JSON schema - LaravelGPT does the work for you. Say goodbye to dense, hard-to-read code, and start building the applications of the future! With LaravelGPT, you can truly unleash the power of ChatGPT in your applications, setting the stage for innovation and advanced user interaction.
Installation
You can install the package via composer:
composer require maltekuhr/laravel-gpt
Next you need to configure your OpenAI API Key and Organization ID. You can find both in the OpenAI Dashboard.
OPENAI_ORGANIZATION=YOUR_ORGANIZATION_ID OPENAI_API_KEY=YOUR_API_KEY
You are now ready to use LaravelGPT! I recommend you to read the Documentation.
Further Documentation
For further documentation please see the Documentation.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email malte@maltekuhr.de instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.