govigilant/statamic-gpt-spell-corrector
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.
govigilant/statamic-gpt-spell-corrector 适用场景与选型建议
govigilant/statamic-gpt-spell-corrector 是一款 基于 Vue 开发的 Composer 扩展包,目前已累计 59 次下载、GitHub Stars 达 1, 最近一次更新时间为 2024 年 09 月 04 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「statamic」 「openai」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 govigilant/statamic-gpt-spell-corrector 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 govigilant/statamic-gpt-spell-corrector 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 govigilant/statamic-gpt-spell-corrector 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
PHP 8.0+ OpenAI API client with fully typed/documented requests+responses models, guzzle and symfony/http-client support and async/parallel requests.
Statamic Fine Seo addon
Estimate AI API costs before making expensive calls
A powerful package that seamlessly integrates OpenAI's advanced AI capabilities into your Laravel applications. This package offers quick setup and intuitive configuration to leverage AI models for chat, embeddings, and more.
A lightweight floating toolbar for Statamic that gives logged-in users quick access to the CP and entry editor
统计信息
- 总下载量: 59
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 28
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-09-04
