-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* doc * feat: file upload config * perf: chat box file params * feat: markdown show file * feat: chat file store and clear * perf: read file contentType * feat: llm vision config * feat: file url output * perf: plugin error text * perf: image load * feat: ai chat document * perf: file block ui * feat: read file node * feat: file read response field * feat: simple mode support read files * feat: tool call * feat: read file histories * perf: select file * perf: select file config * i18n * i18n * fix: ts; feat: tool response preview result
- Loading branch information
Showing
121 changed files
with
2,597 additions
and
1,139 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 |
---|---|---|
@@ -0,0 +1,45 @@ | ||
--- | ||
title: 'V4.8.9(进行中)' | ||
description: 'FastGPT V4.8.9 更新说明' | ||
icon: 'upgrade' | ||
draft: false | ||
toc: true | ||
weight: 816 | ||
--- | ||
|
||
## 升级指南 | ||
|
||
### 1. 做好数据库备份 | ||
|
||
### 2. 修改镜像 | ||
|
||
|
||
### 3. 执行初始化 | ||
|
||
从任意终端,发起 1 个 HTTP 请求。其中 {{rootkey}} 替换成环境变量里的 `rootkey`;{{host}} 替换成**FastGPT 商业版域名**。 | ||
|
||
```bash | ||
curl --location --request POST 'https://{{host}}/api/admin/init/489' \ | ||
--header 'rootkey: {{rootkey}}' \ | ||
--header 'Content-Type: application/json' | ||
``` | ||
|
||
会初始化多租户的通知方式 | ||
|
||
------- | ||
|
||
## V4.8.9 更新说明 | ||
|
||
1. 新增 - 文件上传配置,不再依赖视觉模型决定是否可上传图片,而是通过系统配置决定。 | ||
2. 新增 - AI 对话节点和工具调用支持选择“是否开启图片识别”,开启后会自动获取对话框上传的图片和“用户问题”中的图片链接。 | ||
3. 新增 - 文档解析节点。 | ||
4. 商业版新增 - 团队通知账号绑定,用于接收重要信息。 | ||
5. 商业版新增 - 知识库集合标签功能,可以对知识库进行标签管理。 | ||
6. 商业版新增 - 知识库搜索节点支持标签过滤和创建时间过滤。 | ||
7. 新增 - 删除所有对话引导内容。 | ||
8. 优化 - 对话框信息懒加载,减少网络传输。 | ||
9. 修复 - 知识库上传文件,网络不稳定或文件较多情况下,进度无法到 100%。 | ||
10. 修复 - 删除应用后回到聊天选择最后一次对话的应用为删除的应用时提示无该应用问题。 | ||
11. 修复 - 插件动态变量配置默认值时,无法正常显示默认值。 | ||
12. 修复 - 工具调用温度和最大回复值未生效。 | ||
13. 修复 - 函数调用模式,assistant role 中,GPT 模型必须传入 content 参数。(不影响大部分模型,目前基本都改用用 ToolChoice 模式,FC 模式已弃用) |
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,11 +1,19 @@ | ||
import { i18nT } from '../../../web/i18n/utils'; | ||
|
||
/* mongo fs bucket */ | ||
export enum BucketNameEnum { | ||
dataset = 'dataset' | ||
dataset = 'dataset', | ||
chat = 'chat' | ||
} | ||
export const bucketNameMap = { | ||
[BucketNameEnum.dataset]: { | ||
label: 'file.bucket.dataset' | ||
label: i18nT('file:bucket_file') | ||
}, | ||
[BucketNameEnum.chat]: { | ||
label: i18nT('file:bucket_chat') | ||
} | ||
}; | ||
|
||
export const ReadFileBaseUrl = '/api/common/file/read'; | ||
|
||
export const documentFileType = '.txt, .docx, .csv, .xlsx, .pdf, .md, .html, .pptx'; |
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 |
---|---|---|
|
@@ -5,4 +5,5 @@ export type FileTokenQuery = { | |
teamId: string; | ||
tmbId: string; | ||
fileId: string; | ||
expiredTime?: number; | ||
}; |
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
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
Oops, something went wrong.