Recommend this page to a friend! |
Download |
Info | Documentation | Screenshots | Files | Install with Composer | Download | Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not enough user ratings | Total: 51 | All time: 10,677 This week: 86 |
Version | License | PHP version | Categories | |||
chatgpt 1.0.0 | MIT/X Consortium ... | 7 | Web services, Artificial intelligence, P... |
A Laravel Nova 4 ChatGPT Integration Tool combines Laravel Nova 4 with the ChatGPT API.
You can install the package into a Laravel app that uses Nova via composer:
composer require naif/chatgpt
Publish Model, Migration and Config files
php artisan vendor:publish --provider="Naif\Chatgpt\ToolServiceProvider"
Run Migrate
php artisan migrate
Add the below to .env file:
CHATGPT_NOVA4_API_KEY=###############
CHATGPT_NOVA4_MAX_TOKENS=1000
You can increase the tokens to get more text from ChatGPT response.
Add the tool to NovaServiceProvider.php
public function tools()
{
return [
new Chatgpt()
];
}
<img src="screenshots/dark-home.png" width="800">
<img src="screenshots/light-home.png" width="800">
<img src="screenshots/history.png" width="800">
<img src="screenshots/view.png" width="800">
naif@naif.io
https://naif.io
Bug Tracker:
https://github.com/naifalshaye/chatgpt-nova4/issues
The MIT License (MIT). Please see License File for more information.
Screenshots (5) | ||
Files (30) |
File | Role | Description | ||
---|---|---|---|---|
config (1 file) | ||||
database (1 directory) | ||||
dist (1 file, 2 directories) | ||||
resources (2 directories) | ||||
routes (2 files) | ||||
src (2 files, 2 directories) | ||||
composer.json | Data | Auxiliary data | ||
composer.lock | Data | Auxiliary data | ||
nova.mix.js | Data | Auxiliary data | ||
package.json | Data | Auxiliary data | ||
postcss.config.js | Data | Auxiliary data | ||
README.md | Doc. | Documentation | ||
webpack.mix.js | Data | Auxiliary data |
Files (30) | / | database | / | migrations |
File | Role | Description |
---|---|---|
create_chatgpt_nova4_table.php.stub | Class | Class source |
Files (30) | / | dist |
File | Role | Description | ||
---|---|---|---|---|
css (1 file) | ||||
js (2 files) | ||||
mix-manifest.json | Data | Auxiliary data |
Files (30) | / | dist | / | js |
File | Role | Description |
---|---|---|
tool.js | Data | Auxiliary data |
tool.js.LICENSE.txt | Doc. | Documentation |
Files (30) | / | resources | / | js | / | pages |
File | Role | Description |
---|---|---|
History.vue | Data | Auxiliary data |
Tool.vue | Data | Auxiliary data |
View.vue | Data | Auxiliary data |
Files (30) | / | routes |
File | Role | Description |
---|---|---|
api.php | Class | Class source |
inertia.php | Example | Example script |
Files (30) | / | src |
File | Role | Description | ||
---|---|---|---|---|
Http (2 directories) | ||||
Models (1 file) | ||||
Chatgpt.php | Class | Class source | ||
ToolServiceProvider.php | Class | Class source |
Files (30) | / | src | / | Http | / | Controllers |
File | Role | Description |
---|---|---|
ChatGPTController.php | Class | Class source |
The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
Install with Composer |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.