-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
402 changed files
with
9,944 additions
and
6,012 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
blank_issues_enabled: false | ||
contact_links: | ||
- name: 微信交流群 | ||
url: https://doc.fastgpt.run/wechat-fastgpt.webp | ||
url: https://doc.fastgpt.in/wechat-fastgpt.webp | ||
about: FastGPT 全是问题群 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,10 +17,10 @@ FastGPT 是一个基于 LLM 大语言模型的知识库问答系统,提供开 | |
<a href="https://fastgpt.run/"> | ||
<img height="21" src="https://img.shields.io/badge/在线使用-d4eaf7?style=flat-square&logo=spoj&logoColor=7d09f1" alt="cloud"> | ||
</a> | ||
<a href="https://doc.fastgpt.run/docs/intro"> | ||
<a href="https://doc.fastgpt.in/docs/intro"> | ||
<img height="21" src="https://img.shields.io/badge/相关文档-7d09f1?style=flat-square" alt="document"> | ||
</a> | ||
<a href="https://doc.fastgpt.run/docs/development"> | ||
<a href="https://doc.fastgpt.in/docs/development"> | ||
<img height="21" src="https://img.shields.io/badge/本地开发-%23d4eaf7?style=flat-square&logo=xcode&logoColor=7d09f1" alt="development"> | ||
</a> | ||
<a href="/#-%E7%9B%B8%E5%85%B3%E9%A1%B9%E7%9B%AE"> | ||
|
@@ -119,7 +119,7 @@ https://github.com/labring/FastGPT/assets/15308462/7d3a38df-eb0e-4388-9250-2409b | |
|
||
## 🤝 第三方生态 | ||
|
||
- [OnWeChat 个人微信/企微机器人](https://doc.fastgpt.run/docs/use-cases/onwechat/) | ||
- [OnWeChat 个人微信/企微机器人](https://doc.fastgpt.in/docs/use-cases/onwechat/) | ||
|
||
## 🌟 Star History | ||
|
||
|
@@ -132,4 +132,4 @@ https://github.com/labring/FastGPT/assets/15308462/7d3a38df-eb0e-4388-9250-2409b | |
1. 允许作为后台服务直接商用,但不允许提供 SaaS 服务。 | ||
2. 未经商业授权,任何形式的商用服务均需保留相关版权信息。 | ||
3. 完整请查看 [FastGPT Open Source License](./LICENSE) | ||
4. 联系方式:[email protected],[点击查看商业版定价策略](https://doc.fastgpt.run/docs/commercial) | ||
4. 联系方式:[email protected],[点击查看商业版定价策略](https://doc.fastgpt.in/docs/commercial) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
--- | ||
title: 'V4.6(需要初始化)' | ||
description: 'FastGPT V4.6 更新' | ||
icon: 'upgrade' | ||
draft: false | ||
toc: true | ||
weight: 837 | ||
--- | ||
|
||
未正式发布。 | ||
|
||
V4.6 版本加入了简单的团队功能,可以邀请其他用户进来管理资源。该版本升级后无法执行旧的升级脚本,且无法回退。 | ||
|
||
## 1. 更新镜像并变更配置文件 | ||
|
||
更新镜像至 latest 或者 v4.6 版本。商业版镜像更新至 V0.2. | ||
|
||
最新配置可参考: [V46版本最新 config.json](/docs/development/configuration),商业镜像配置文件也更新,参考最新的飞书文档。 | ||
|
||
|
||
## 2. 执行初始化 API | ||
|
||
发起 1 个 HTTP 请求({{rootkey}} 替换成环境变量里的`rootkey`,{{host}}替换成自己域名) | ||
|
||
1. https://xxxxx/api/admin/initv46 | ||
|
||
```bash | ||
curl --location --request POST 'https://{{host}}/api/admin/initv46' \ | ||
--header 'rootkey: {{rootkey}}' \ | ||
--header 'Content-Type: application/json' | ||
``` | ||
|
||
初始化内容: | ||
1. 创建默认团队 | ||
2. 初始化 Mongo 所有资源的团队字段 | ||
3. 初始化 Pg 的字段 | ||
|
||
**该初始化接口可能速度很慢,返回超时不用管,注意看日志即可** | ||
|
||
|
||
## 功能介绍 | ||
|
||
### Fast GPT V4.6 | ||
|
||
1. 新增 - 团队空间 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import { ErrType } from '../errorCode'; | ||
|
||
/* dataset: 502000 */ | ||
export enum AppErrEnum { | ||
unExist = 'unExist', | ||
unAuthApp = 'unAuthApp' | ||
} | ||
const appErrList = [ | ||
{ | ||
statusText: AppErrEnum.unExist, | ||
message: '应用不存在' | ||
}, | ||
{ | ||
statusText: AppErrEnum.unAuthApp, | ||
message: '无权操作该应用' | ||
} | ||
]; | ||
export default appErrList.reduce((acc, cur, index) => { | ||
return { | ||
...acc, | ||
[cur.statusText]: { | ||
code: 502000 + index, | ||
statusText: cur.statusText, | ||
message: cur.message, | ||
data: null | ||
} | ||
}; | ||
}, {} as ErrType<`${AppErrEnum}`>); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import { ErrType } from '../errorCode'; | ||
|
||
/* dataset: 504000 */ | ||
export enum ChatErrEnum { | ||
unAuthChat = 'unAuthChat' | ||
} | ||
const errList = [ | ||
{ | ||
statusText: ChatErrEnum.unAuthChat, | ||
message: '无权操作该对话记录' | ||
} | ||
]; | ||
export default errList.reduce((acc, cur, index) => { | ||
return { | ||
...acc, | ||
[cur.statusText]: { | ||
code: 504000 + index, | ||
statusText: cur.statusText, | ||
message: cur.message, | ||
data: null | ||
} | ||
}; | ||
}, {} as ErrType<`${ChatErrEnum}`>); |
Oops, something went wrong.