File tree Expand file tree Collapse file tree 6 files changed +19
-7
lines changed
docSite/content/docs/development
components/ChatBox/components Expand file tree Collapse file tree 6 files changed +19
-7
lines changed Original file line number Diff line number Diff line change @@ -270,3 +270,7 @@ mongo连接失败,查看mongo的运行状态对应日志。
270
270
# ## 首次部署,root用户提示未注册
271
271
272
272
日志会有错误提示。大概率是没有启动 Mongo 副本集模式。
273
+
274
+ # ## 无法导出知识库、无法使用语音输入/播报
275
+
276
+ 没配置 SSL 证书,无权使用部分功能。
Original file line number Diff line number Diff line change 1
1
---
2
- title : ' V4.7.1'
2
+ title : ' V4.7.1(进行中) '
3
3
description : ' FastGPT V4.7.1 更新说明'
4
4
icon : ' upgrade'
5
5
draft : false
@@ -24,5 +24,8 @@ curl --location --request POST 'https://{{host}}/api/admin/clearInvalidData' \
24
24
1 . 新增 - Pptx 和 xlsx 文件读取。但所有文件读取都放服务端,会消耗更多的服务器资源,以及无法在上传时预览更多内容。
25
25
2 . 新增 - 集成 Laf 云函数,可以读取 Laf 账号中的云函数作为 HTTP 模块。
26
26
3 . 新增 - 定时器,清理垃圾数据。(采用小范围清理,会清理最近n个小时的,所以请保证服务持续运行,长时间不允许,可以继续执行 clearInvalidData 的接口进行全量清理。)
27
- 4 . 修改 - csv导入模板,取消 header 校验,自动获取前两列。
28
- 5 . 修复 - 工具调用模块连线数据类型校验错误。
27
+ 4 . 商业版新增 - 后台配置系统通知。
28
+ 5 . 修改 - csv导入模板,取消 header 校验,自动获取前两列。
29
+ 6 . 修复 - 工具调用模块连线数据类型校验错误。
30
+ 7 . 修复 - 自定义索引输入时,解构数据失败。
31
+ 8 . 修复 - rerank 模型数据格式。
Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ export async function pushDataListToTrainingQueue({
130
130
const text = item . q + item . a ;
131
131
132
132
// count q token
133
- const token = countPromptTokens ( item . q ) ;
133
+ const token = item . q . length ;
134
134
135
135
if ( token > maxToken ) {
136
136
filterResult . overToken . push ( item ) ;
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ import { valueTypeFormat } from '../utils';
10
10
import { SERVICE_LOCAL_HOST } from '../../../../common/system/tools' ;
11
11
import { addLog } from '../../../../common/system/log' ;
12
12
import { DispatchNodeResultType } from '@fastgpt/global/core/module/runtime/type' ;
13
+ import { getErrText } from '@fastgpt/global/common/error/utils' ;
13
14
14
15
type PropsArrType = {
15
16
key : string ;
@@ -139,7 +140,8 @@ export const dispatchHttp468Request = async (props: HttpRequestProps): Promise<H
139
140
body : Object . keys ( requestBody ) . length > 0 ? requestBody : undefined ,
140
141
headers : Object . keys ( headers ) . length > 0 ? headers : undefined ,
141
142
httpResult : { error : formatHttpError ( error ) }
142
- }
143
+ } ,
144
+ [ ModuleOutputKeyEnum . httpRawResponse ] : getErrText ( error )
143
145
} ;
144
146
}
145
147
} ;
Original file line number Diff line number Diff line change @@ -192,6 +192,7 @@ ${toolResponse}`}
192
192
</ Box >
193
193
) ;
194
194
}
195
+ return null ;
195
196
} ) }
196
197
</ Flex >
197
198
) ;
Original file line number Diff line number Diff line change @@ -79,13 +79,15 @@ export const getDatasetCollectionById = (id: string) =>
79
79
export const postDatasetCollection = ( data : CreateDatasetCollectionParams ) =>
80
80
POST < string > ( `/core/dataset/collection/create` , data ) ;
81
81
export const postCreateDatasetFileCollection = ( data : FileIdCreateDatasetCollectionParams ) =>
82
- POST < { collectionId : string } > ( `/core/dataset/collection/create/file` , data ) ;
82
+ POST < { collectionId : string } > ( `/core/dataset/collection/create/file` , data , { timeout : 120000 } ) ;
83
83
export const postCreateDatasetLinkCollection = ( data : LinkCreateDatasetCollectionParams ) =>
84
84
POST < { collectionId : string } > ( `/core/dataset/collection/create/link` , data ) ;
85
85
export const postCreateDatasetTextCollection = ( data : TextCreateDatasetCollectionParams ) =>
86
86
POST < { collectionId : string } > ( `/core/dataset/collection/create/text` , data ) ;
87
87
export const postCreateDatasetCsvTableCollection = ( data : CsvTableCreateDatasetCollectionParams ) =>
88
- POST < { collectionId : string } > ( `/core/dataset/collection/create/csvTable` , data ) ;
88
+ POST < { collectionId : string } > ( `/core/dataset/collection/create/csvTable` , data , {
89
+ timeout : 120000
90
+ } ) ;
89
91
90
92
export const putDatasetCollectionById = ( data : UpdateDatasetCollectionParams ) =>
91
93
POST ( `/core/dataset/collection/update` , data ) ;
You can’t perform that action at this time.
0 commit comments