diff --git a/document/content/docs/introduction/development/upgrading/4111.mdx b/document/content/docs/introduction/development/upgrading/4111.mdx new file mode 100644 index 000000000..a58308ede --- /dev/null +++ b/document/content/docs/introduction/development/upgrading/4111.mdx @@ -0,0 +1,20 @@ +--- +title: 'V4.11.1(进行中)' +description: 'FastGPT V4.11.1 更新说明' +--- + + + +## 🚀 新增内容 + +1. 账号注销 + +## ⚙️ 优化 + +1. 兑换码功能支持指定对公支付模式。 +2. 优化支付套餐模式。 + +## 🐛 修复 + + +## 🔨 工具更新 \ No newline at end of file diff --git a/document/content/docs/introduction/development/upgrading/meta.json b/document/content/docs/introduction/development/upgrading/meta.json index 11feee515..b0ef40c7c 100644 --- a/document/content/docs/introduction/development/upgrading/meta.json +++ b/document/content/docs/introduction/development/upgrading/meta.json @@ -1,5 +1,76 @@ { "title": "版本更新/升级操作", "description": "FastGPT 版本更新介绍及升级操作", - "pages": ["intro","4101","4100","4914","4913","4912","4911","4910","499","498","497","496","495","494","493","492","491","490","4823","4822","4821","4820","4819","4818","4817","4816","4815","4814","4813","4812","4811","4810","489","488","487","486","485","484","483","482","481","48","471","47","469","468","467","466","465","464","463","462","461","46","452","451","45","447","446","445","442","441","44","43","421","42","41","40"] -} \ No newline at end of file + "pages": [ + "intro", + "4111", + "4110", + "4101", + "4100", + "4914", + "4913", + "4912", + "4911", + "4910", + "499", + "498", + "497", + "496", + "495", + "494", + "493", + "492", + "491", + "490", + "4823", + "4822", + "4821", + "4820", + "4819", + "4818", + "4817", + "4816", + "4815", + "4814", + "4813", + "4812", + "4811", + "4810", + "489", + "488", + "487", + "486", + "485", + "484", + "483", + "482", + "481", + "48", + "471", + "47", + "469", + "468", + "467", + "466", + "465", + "464", + "463", + "462", + "461", + "46", + "452", + "451", + "45", + "447", + "446", + "445", + "442", + "441", + "44", + "43", + "421", + "42", + "41", + "40" + ] +} diff --git a/document/content/docs/use-cases/external-integration/iframe_integration.mdx b/document/content/docs/use-cases/external-integration/iframe_integration.mdx deleted file mode 100644 index 765fd9146..000000000 --- a/document/content/docs/use-cases/external-integration/iframe_integration.mdx +++ /dev/null @@ -1,5 +0,0 @@ ---- -title: iframe 接入 -description: 通过 iframe 嵌入 FastGPT 内容到其他网页或应用 ---- - diff --git a/document/content/docs/use-cases/external-integration/onwechat.mdx b/document/content/docs/use-cases/external-integration/onwechat.mdx deleted file mode 100644 index 9a981c0bc..000000000 --- a/document/content/docs/use-cases/external-integration/onwechat.mdx +++ /dev/null @@ -1,71 +0,0 @@ ---- -title: 对接 chatgpt-on-wechat -description: FastGPT 对接 chatgpt-on-wechat ---- - -import { Alert } from '@/components/docs/Alert'; - -# 1 分钟对接 chatgpt-on-wechat - -[chatgpt-on-wechat GitHub 地址](https://github.com/zhayujie/chatgpt-on-wechat) - -由于 FastGPT 的 API 接口和 OpenAI 的规范一致,可以无需变更原来的应用即可使用 FastGPT 上编排好的应用。API 使用可参考 [这篇文章](/docs/use-cases/external-integration/openapi/)。编排示例,可参考 [高级编排介绍](/docs/workflow/intro) - -## 1. 获取 OpenAPI 密钥 - -依次选择应用 -> 「API访问」,然后点击「API 密钥」来创建密钥。 - - -密钥需要自己保管好,一旦关闭就无法再复制密钥,只能创建新密钥再复制。 - - -![](/imgs/fastgpt-api1.jpg) - - -## 3. 创建 docker-compose.yml 文件 - -只需要修改 `OPEN_AI_API_KEY` 和 `OPEN_AI_API_BASE` 两个环境变量即可。其中 `OPEN_AI_API_KEY` 为第一步获取的密钥,`OPEN_AI_API_BASE` 为 FastGPT 的 OpenAPI 地址,例如:`https://api.fastgpt.in/api/v1`。 - -随便找一个目录,创建一个 docker-compose.yml 文件,将下面的代码复制进去。 - -```yml -version: '2.0' -services: - chatgpt-on-wechat: - image: zhayujie/chatgpt-on-wechat - container_name: chatgpt-on-wechat - security_opt: - - seccomp:unconfined - environment: - OPEN_AI_API_KEY: 'fastgpt-z51pkjqm9nrk03a1rx2funoy' - OPEN_AI_API_BASE: 'https://api.fastgpt.in/api/v1' - MODEL: 'gpt-3.5-turbo' - CHANNEL_TYPE: 'wx' - PROXY: '' - HOT_RELOAD: 'False' - SINGLE_CHAT_PREFIX: '["bot", "@bot"]' - SINGLE_CHAT_REPLY_PREFIX: '"[bot] "' - GROUP_CHAT_PREFIX: '["@bot"]' - GROUP_NAME_WHITE_LIST: '["ChatGPT测试群", "ChatGPT测试群2"]' - IMAGE_CREATE_PREFIX: '["画", "看", "找"]' - CONVERSATION_MAX_TOKENS: 1000 - SPEECH_RECOGNITION: 'False' - CHARACTER_DESC: '你是ChatGPT, 一个由OpenAI训练的大型语言模型, 你旨在回答并解决人们的任何问题,并且可以使用多种语言与人交流。' - SUBSCRIBE_MSG: '感谢您的关注!\n这里是ChatGPT,可以自由对话。\n支持语音对话。\n支持图片输入。\n支持图片输出,画字开头的消息将按要求创作图片。\n支持tool、角色扮演和文字冒险等丰富的插件。\n输入{trigger_prefix}#help 查看详细指令。' - EXPIRES_IN_SECONDS: 3600 - USE_GLOBAL_PLUGIN_CONFIG: 'True' - USE_LINKAI: 'False' - LINKAI_API_KEY: '' - LINKAI_APP_CODE: '' - -``` - -## 4. 运行 chatgpt-on-wechat - -```bash -docker-compose pull -docker-compose up -d -``` - -* 运行成功后会提示扫码登录 -* 随便找个账号,私信发送: bot问题 会将 问题 传到 FastGPT 进行回答。 diff --git a/document/content/docs/use-cases/external-integration/wechat.mdx b/document/content/docs/use-cases/external-integration/wechat.mdx deleted file mode 100644 index fa345144a..000000000 --- a/document/content/docs/use-cases/external-integration/wechat.mdx +++ /dev/null @@ -1,71 +0,0 @@ ---- -title: '接入微信和企业微信 ' -description: 'FastGPT 接入微信和企业微信 ' ---- - -# FastGPT 三分钟接入微信/企业微信 -私人微信和企业微信接入的方式基本一样,不同的地方会刻意指出。 -[查看视频教程](https://www.bilibili.com/video/BV1rJ4m1w7xk/) -## 创建APIKey -首先找到我们需要接入的应用,然后点击「外部使用」->「API访问」创建一个APIKey并保存。 - -![](/imgs/wechat1.png) - -## 配置微秘书 - -打开[微秘书](https://wechat.aibotk.com?r=zWLnZK) 注册登录后找到菜单栏「基础配置」->「智能配置」,按照下图配置。 - -![](/imgs/wechat2.png) - -继续往下看到 `apikey` 和`服务器根地址`,这里`apikey`填写我们在 FastGPT 应用外部访问中创建的 APIkey,服务器根地址填写官方地址或者私有化部署的地址,这里用官方地址示例,注意要添加`/v1`后缀,填写完毕后保存。 - -![](/imgs/wechat3.png) - -## sealos部署服务 - -[访问sealos](https://hzh.sealos.run?uid=fnWRt09fZP) 登录进来之后打开「应用管理」-> 「新建应用」。 -- 应用名:称随便填写 -- 镜像名:私人微信填写 aibotk/wechat-assistant 企业微信填写 aibotk/worker-assistant -- cpu和内存建议 1c1g - -![](/imgs/wechat4.png) - -往下翻页找到「高级配置」-> 「编辑环境变量」 - -![](/imgs/wechat5.png) - -这里需要填写三个环境变量: -``` -AIBOTK_KEY=微秘书 APIKEY -AIBOTK_SECRET=微秘书 APISECRET -WORK_PRO_TOKEN=你申请的企微 token (企业微信需要填写,私人微信不需要) -``` - -这里最后的企业微信 Token 在微秘书的->会员开通栏目中自行购买。 - -![](/imgs/wechat6.png) - -这里环境变量我们介绍下如何填写: - -`AIBOTK_KEY` 和 `AIBOTK_SECRET` 我们需要回到[微秘书](https://wechat.aibotk.com?r=zWLnZK)找到「个人中心」,这里的 APIKEY 对应 AIBOTK_KEY ,APISECRET 对应 `AIBOTK_SECRET`。 - -![](/imgs/wechat7.png) - -`WORK_PRO_TOKEN` 微秘书的会员中心中自行购买即可。 - -填写完毕后点右上角「部署」,等待应用状态变为运行中。 - -![](/imgs/wechat8.png) - -返回[微秘书](https://wechat.aibotk.com?r=zWLnZK) 找到「首页」,扫码登录需要接入的微信号。 - -![](/imgs/wechat9.png) - -## 测试 -只需要发送信息,或者拉入群聊@登录的微信就会回复信息啦。 -![](/imgs/wechat10.png) - - - - -