govigilant/statamic-gpt-spell-corrector
最新稳定版本:1.1.0
Composer 安装命令:
composer require govigilant/statamic-gpt-spell-corrector
包简介
Automatically correct spelling in Statamic Bard fields using OpenAI
关键字:
README 文档
README
GPT Spell Corrector is a Statamic addon that uses OpenAI to correct spelling mistakes on Bard fields
Features
This addon will add a button to the Bard editor for spelling correction.
When activation the spell correction it will send the contents of the Bard editor to OpenAI using a pre-configured prompt. The OpenAI response is then put back into the editor.
How to Install
composer require govigilant/statamic-gpt-spell-corrector
As this package uses openai-php/laravel you need to configure that package too.
You can do that by running php artisan openai:install.
Then add the OpenAI variables to your environment file:
OPENAI_API_KEY=sk-... OPENAI_ORGANIZATION=org-... GPT_SPELL_CORRECTOR_MODEL=gpt-4o
Customizing the prompt
If you need to customize the prompt you can overwrite the prompt view in this package.
Vigilant
This package was created for Vigilant, an open source all-in-one Website Monitoring tool. Check out the website or Github. Join the Discord if you have any questions about this package.
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 58
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-09-04
