LaravelGPT: Streamlined integration of OpenAI’s ChatGPT

https://opengraph.githubassets.com/cb33cef3832d92a00f727ddc8a42164af2b8feb164db14501a83c9b7d4b1720a/maltekuhr/laravel-gpt

LaravelGPT

Unleash the Power of OpenAI’s ChatGPT API

Latest Version on Packagist
Total Downloads

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.

Laravel News Links