Docs: fix typo (#307)

Signed-off-by: Carson Yang <yangchuansheng33@gmail.com>
This commit is contained in:
Carson Yang
2023-09-15 22:44:04 +08:00
committed by GitHub
parent a8fdffc3e9
commit 453824260f
4 changed files with 31 additions and 30 deletions

View File

@@ -1,4 +1,4 @@
.docs-content .main-content img, .docs-content .main-content svg:not(.gitinfo svg) {
.docs-content .main-content img, .docs-content .main-content svg:not(.gitinfo svg):not(a svg) {
max-width: 80% !important;
height: auto;
display: block !important;

View File

@@ -1,17 +1,17 @@
---
title: "对接 飞书"
description: "FastGPT 对接 飞书"
title: " 接入飞书 "
description: "FastGPT 接入飞书机器人 "
icon: "chat"
draft: false
toc: true
weight: 320
weight: 322
---
# FastGPT 一分钟接入飞书
[Feishu-GPT GitHub 地址](https://github.com/ConnectAI-E/Feishu-OpenAI)
[Feishu OpenAI GitHub 地址](https://github.com/ConnectAI-E/Feishu-OpenAI)
由于 FastGPT 的 OpenAPI 功能和 GPT 的规范一,可以很方便接入第三方系统。
由于 FastGPT 的 API 接口和 OpenAI 的规范一,可以无需变更第三方应用即可使用 FastGPT 上编排好的应用。API 使用可参考 [这篇文章](/docs/use-cases/openai/)。编排示例,可参考 [高级编排介绍](/docs/workflow/intro)
## 1. 获取 FastGPT 的 OpenAPI 秘钥
@@ -27,8 +27,6 @@ weight: 320
[![Deploy on Railway](https://railway.app/button.svg)](https://railway.app/template/10D-TF?referralCode=oMcVS2)
参考环境变量配置:
![](/imgs/feishu-env.png)

View File

@@ -1,17 +1,17 @@
---
title: "对接 OnWeChat"
description: "FastGPT 对接 OnWeChat"
title: "对接 chatgpt-on-wechat"
description: "FastGPT 对接 chatgpt-on-wechat"
icon: "chat"
draft: false
toc: true
weight: 320
---
# 1 分钟对接 OnWeChat
# 1 分钟对接 chatgpt-on-wechat
[OnWeChat GitHub 地址](https://github.com/zhayujie/chatgpt-on-wechat)
[chatgpt-on-wechat GitHub 地址](https://github.com/zhayujie/chatgpt-on-wechat)
由于 FastGPT 的 OpenAPI 功能和 GPT 的对齐,可以无需变更原来的应用即可使用 FastGPT 上编排好的应用。API 使用可 [参考这篇文章](/docs/use-cases/openai/)。编排示例,可参考 [高级编排介绍](/docs/workflow/intro)
由于 FastGPT 的 API 接口和 OpenAI 的规范一致,可以无需变更原来的应用即可使用 FastGPT 上编排好的应用。API 使用可参考 [这篇文章](/docs/use-cases/openai/)。编排示例,可参考 [高级编排介绍](/docs/workflow/intro)
## 1. 获取 OpenAPI 秘钥
@@ -29,7 +29,7 @@ weight: 320
这个秘钥将会调用指定的应用。
## 3. 创建 OnWeChat docker-compose.yml 文件
## 3. 创建 docker-compose.yml 文件
只需要修改 `OPEN_AI_API_KEY``OPEN_AI_API_BASE` 两个环境变量即可。其中 `OPEN_AI_API_KEY` 为第二步的组合秘钥,`OPEN_AI_API_BASE` 为 FastGPT 的 OpenAPI 地址,例如:`https://fastgpt.run/api/openapi/v1`
@@ -67,9 +67,9 @@ services:
```
## 4. 运行 OnWeChat
## 4. 运行 chatgpt-on-wechat
```base
```bash
docker-compose pull
docker-compose up -d
```

View File

@@ -11921,7 +11921,7 @@ div.code-toolbar > .toolbar > .toolbar-item > span:focus {
width: 20.1rem;
padding-left: 1rem; } }
.docs-content .main-content img, .docs-content .main-content svg:not(.gitinfo svg) {
.docs-content .main-content img, .docs-content .main-content svg:not(.gitinfo svg):not(a svg) {
max-width: 80% !important;
height: auto;
display: block !important;
@@ -11947,6 +11947,9 @@ li p {
margin-top: 1rem !important;
margin-bottom: 1rem; }
footer {
height: 118px !important; }
/*
footer a:hover {
text-decoration: none !important;