subashrijal5/chatgpt-laravel

v1.0.1 2023-02-07 16:57 UTC

This package is auto-updated.

Last update: 2024-04-08 19:16:22 UTC


README

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 subashrijal5@gmail.com instead of using the issue tracker.

Credits

License

MIT. Please see the license file for more information.