Skip to content

A laravel package to integrate openai api in laravel application

License

Notifications You must be signed in to change notification settings

subashrijal5/laravel-chatgpt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chatgpt Laravel

This is where your description should go. Take a look at contributing.md to see a to do list.

Installation

Via Composer

 composer require subashrijal5/chatgpt-laravel

In config/app.php add provider

 Subashrijal5\ChatgptLaravel\ChatgptLaravelServiceProvider::class

Usage

Using Facade:

use Subashrijal5\ChatgptLaravel\Facades\ChatgptLaravel;

$response =  ChatgptLaravel::studyNotes('Your Topic');

available methods:

use Subashrijal5\ChatgptLaravel\Facades\ChatgptLaravel;

ChatgptLaravel::askQuestion('Your question');
ChatgptLaravel::correctGrammer('Your Topic');
ChatgptLaravel::essayWriter('Your Topic');
ChatgptLaravel::essayOutline('Your Topic');
ChatgptLaravel::storyTeller('Your Topic', 'Your Genre');
ChatgptLaravel::storyTeller('Your Topic');
ChatgptLaravel::solveMathematicalProblem('Your Problem');

Change log

Please see the changelog for more information on what has changed recently.

Testing

$ composer test

Contributing

Please see contributing.md for details and a todolist.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Credits

License

MIT. Please see the license file for more information.

About

A laravel package to integrate openai api in laravel application

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages