3w-publishing / craft-ChatGPT-integration
1.0.4
2023-09-26 14:51 UTC
Requires
- php: >=8.0.2
- craftcms/cms: ^4.0.0
Requires (Dev)
- craftcms/ecs: dev-main
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