Skip to content

maltekuhr/laravel-gpt

Repository files navigation

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.

About

LaravelGPT: Streamlined integration of OpenAI's ChatGPT (GPT-3.5, GPT-4) into Laravel applications for advanced AI-powered text generation and analysis.

Topics

Resources

License

Stars

Watchers

Forks

Languages