3w-publishing/craft-ChatGPT-integration

该软件包已被弃用且不再维护。作者建议使用 digitaldiff/craft-ChatGPT-integration 软件包。

ChatGPT 集成

安装: 647

依赖项: 0

建议者: 0

安全: 0

星标: 2

关注者: 1

分支: 0

开放问题: 2

语言:Twig

类型:craft-plugin

1.0.4 2023-09-26 14:51 UTC

This package is auto-updated.

Last update: 2024-03-20 09:47:17 UTC


README

该插件为每个文本字段、文本区域和红actor添加下拉菜单。

使用此功能,文本可以自动纠正、翻译、缩短和创建。当然,还可以添加许多其他功能。几乎没有限制。

文本会直接通过 ChatGPT 的相应命令发送。可以在设置中全局输入命令。

为了使插件工作,需要一个 OpenAI ( https://openai.com/ ) 账户,并创建一个 API 密钥。 https://platform.openai.com/account/api-keys

OpenAI 可能会有额外的费用。

需求

此插件需要 Craft CMS 4.4.3 或更高版本,以及 PHP 8.0.2 或更高版本。

安装

您可以从插件商店或使用 Composer 安装此插件。

从插件商店

转到项目控制面板中的插件商店,搜索“ChatGPT-integration”。然后按“安装”。

使用 Composer

打开您的终端,并运行以下命令

# go to the project directory
cd /path/to/my-project.test

# tell Composer to load the plugin
composer require 3w-publishing/craft-chatgpt-integration

# tell Craft to install the plugin
./craft plugin/install chatgpt-integration