1.1.1 • Published 2 years ago

koishi-plugin-chatgpt-api v1.1.1

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

koishi-plugin-chatgpt-api

ChatGPT API 插件,使用官方 API。

安装

npm

npm install koishi-plugin-chatgpt-api

配置

需要先安装好 Cache 服务。

  • apikey: string ChatGPT API Key。
  • prefix: string[] 触发词。若无触发词则任意情况都能触发。
  • model: string 模型名称。默认 text-davinci-003