承接 govigilant/statamic-gpt-spell-corrector 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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.

Bard Button

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

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 1
  • 开发语言: Vue

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-09-04