maltekuhr / laravel-gpt by maltekuhr

Streamlined integration of OpenAI's ChatGPT (GPT-3.5, GPT-4) into Laravel applications.
32,800
93
6
Package Data
Maintainer Username: maltekuhr
Maintainer Contact: malte@maltekuhr.de (Malte Kuhr)
Package Create Date: 2023-06-15
Package Last Update: 2024-11-11
Home Page:
Language: PHP
License: MIT
Last Refreshed: 2024-11-24 15:09:50
Package Statistics
Total Downloads: 32,800
Monthly Downloads: 3,583
Daily Downloads: 26
Total Stars: 93
Total Watchers: 6
Total Forks: 20
Total Open Issues: 0

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.