Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
赵月辉
/
fastgpt-migrated
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Unverified
Commit
2d3ae7f9
authored
Mar 28, 2025
by
Archer
Committed by
GitHub
Mar 28, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc (#4381)
* doc * doc
parent
565a966d
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
22 additions
and
8 deletions
+22
-8
docSite/content/zh-cn/docs/development/upgrading/492.md
+18
-7
packages/web/i18n/en/account_model.json
+1
-0
packages/web/i18n/zh-CN/account_model.json
+1
-0
packages/web/i18n/zh-Hant/account_model.json
+1
-0
projects/app/src/global/aiproxy/constants.ts
+1
-1
No files found.
docSite/content/zh-cn/docs/development/upgrading/492.md
View file @
2d3ae7f9
...
@@ -8,20 +8,29 @@ weight: 798
...
@@ -8,20 +8,29 @@ weight: 798
---
---
## 更新指南
## 更新指南
###
配置参数变更
###
1. 做好数据库备份
修改
`config.json`
文件中
`systemEnv.pgHNSWEfSearch`
参数名,改成
`hnswEfSearch`
。
### 2. SSO 迁移
商业版用户直接在后台
`系统配置-基础配置`
中进行变更。
### SSO 迁移
使用了 SSO 或成员同步的商业版用户,并且是对接
`钉钉`
、
`企微`
的,需要迁移已有的 SSO 相关配置:
使用了 SSO 或成员同步的商业版用户,并且是对接
`钉钉`
、
`企微`
的,需要迁移已有的 SSO 相关配置:
参考:
[
SSO & 外部成员同步
](
/docs/guide/admin/sso
.md
)
中的配置进行
`sso-service`
的部署和配置。
参考:
[
SSO & 外部成员同步
](
/docs/guide/admin/sso
)
中的配置进行
`sso-service`
的部署和配置。
1.
先将原商业版后台中的相关配置项复制备份出来(以企微为例,将 AppId, Secret 等复制出来)再进行镜像升级。
1.
先将原商业版后台中的相关配置项复制备份出来(以企微为例,将 AppId, Secret 等复制出来)再进行镜像升级。
2.
参考上述文档,部署 SSO 服务,配置相关的环境变量
2.
参考上述文档,部署 SSO 服务,配置相关的环境变量
3.
如果原先使用企微组织架构同步的用户,在商业版后台切换团队模式为“同步模式”
3.
如果原先使用企微组织架构同步的用户,升级完镜像后,需要在商业版后台切换团队模式为“同步模式”
### 3. 配置参数变更
修改
`config.json`
文件中
`systemEnv.pgHNSWEfSearch`
参数名,改成
`hnswEfSearch`
。
商业版用户升级镜像后,直接在后台
`系统配置-基础配置`
中进行变更。
### 4. 更新镜像
-
更新 FastGPT 镜像 tag: v4.9.2
-
更新 FastGPT 商业版镜像 tag: v4.9.2
-
Sandbox 镜像,可以不更新
-
AIProxy 镜像修改为: registry.cn-hangzhou.aliyuncs.com/labring/aiproxy:v0.1.4
## 重要更新
## 重要更新
...
@@ -35,6 +44,8 @@ weight: 798
...
@@ -35,6 +44,8 @@ weight: 798
4.
集合同步时,支持同步修改标题。
4.
集合同步时,支持同步修改标题。
5.
团队成员管理重构,抽离主流 IM SSO(企微、飞书、钉钉),并支持通过自定义 SSO 接入 FastGPT。同时完善与外部系统的成员同步。
5.
团队成员管理重构,抽离主流 IM SSO(企微、飞书、钉钉),并支持通过自定义 SSO 接入 FastGPT。同时完善与外部系统的成员同步。
6.
支持
`oceanbase`
向量数据库。填写环境变量
`OCEANBASE_URL`
即可。
6.
支持
`oceanbase`
向量数据库。填写环境变量
`OCEANBASE_URL`
即可。
7.
基于 mistral-ocr 的 PDF 解析示例。
8.
基于 miner-u 的 PDF 解析示例。
## ⚙️ 优化
## ⚙️ 优化
...
...
packages/web/i18n/en/account_model.json
View file @
2d3ae7f9
{
{
"Hunyuan"
:
"Tencent Hunyuan"
,
"api_key"
:
"API key"
,
"api_key"
:
"API key"
,
"azure"
:
"Azure"
,
"azure"
:
"Azure"
,
"base_url"
:
"Base url"
,
"base_url"
:
"Base url"
,
...
...
packages/web/i18n/zh-CN/account_model.json
View file @
2d3ae7f9
{
{
"Hunyuan"
:
"腾讯混元"
,
"api_key"
:
"API 密钥"
,
"api_key"
:
"API 密钥"
,
"azure"
:
"微软 Azure"
,
"azure"
:
"微软 Azure"
,
"base_url"
:
"代理地址"
,
"base_url"
:
"代理地址"
,
...
...
packages/web/i18n/zh-Hant/account_model.json
View file @
2d3ae7f9
{
{
"Hunyuan"
:
"騰訊混元"
,
"api_key"
:
"API 密鑰"
,
"api_key"
:
"API 密鑰"
,
"azure"
:
"Azure"
,
"azure"
:
"Azure"
,
"base_url"
:
"代理地址"
,
"base_url"
:
"代理地址"
,
...
...
projects/app/src/global/aiproxy/constants.ts
View file @
2d3ae7f9
...
@@ -130,7 +130,7 @@ export const aiproxyIdMap: Record<
...
@@ -130,7 +130,7 @@ export const aiproxyIdMap: Record<
provider
:
'Ollama'
provider
:
'Ollama'
},
},
23
:
{
23
:
{
label
:
'OneAPI'
,
label
:
i18nT
(
'account_model:Hunyuan'
)
,
provider
:
'Hunyuan'
provider
:
'Hunyuan'
},
},
44
:
{
44
:
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment