Recommend this page to a friend! |
Download .zip |
Info | Documentation | Screenshots | View files (25) | Download .zip | Reputation | Support forum | Blog (1) | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2023-08-27 (6 months ago) | Not yet rated by the users | Total: 47 | All time: 10,669 This week: 92 |
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 | ||
Files |
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 | / | database | / | migrations |
File | Role | Description |
---|---|---|
create_chatgpt_nova4_table.php.stub | Class | Class source |
Files | / | dist | / | js |
File | Role | Description |
---|---|---|
tool.js | Data | Auxiliary data |
tool.js.LICENSE.txt | Doc. | Documentation |
Files | / | resources | / | js | / | pages |
File | Role | Description |
---|---|---|
History.vue | Data | Auxiliary data |
Tool.vue | Data | Auxiliary data |
View.vue | Data | Auxiliary data |
Files | / | src |
File | Role | Description | ||
---|---|---|---|---|
Http (2 directories) | ||||
Models (1 file) | ||||
Chatgpt.php | Class | Class source | ||
ToolServiceProvider.php | Class | Class source |
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.