定制 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.

统计信息

  • 总下载量: 59
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

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

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固