LaravelGPT: Add ChatGPT/ OpenAI into your Laravel App
ChatGPT is OpenAI's text generation model that can be used to generate human-like responses to text prompts. It uses deep learning techniques to understand natural language and produce coherent and contextually relevant text. LaravelGPT simplifies the integration of ChatGPT into Laravel applications.
Introducing LaravelGPT - the ultimate solution for simplifying the integration of OpenAI's ChatGPT into your Laravel applications. With this powerful tool, you can now enjoy a seamless connection to the OpenAI Chat Completions API, without having to worry about the complexities of JSON schema crafting. But that's not all - LaravelGPT offers even more advanced features, such as Function Calling support, which allows you to take your application's performance to the next level.
Gone are the days of dense, hard-to-read code, and welcome to the future of application development. With LaravelGPT, you can now unleash the full power of ChatGPT into your applications, giving your users a truly innovative and advanced user experience like never before. So why wait? Start building the applications of the future today with LaravelGPT and take your development game to the next level!
Install LaravelGPT
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.
License
LaravelGTP is released as an open-source project under MIT License (MIT).