File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 14961496 "10952" : " Document parsing failed" ,
14971497 "10953" : " File parsing error: {{exception}}" ,
14981498 "10960" : " Not a QA knowledge base" ,
1499+ "10961" : " Model returns incorrect format:{{message}}" ,
14991500 "10970" : " Knowledge base not found" ,
15001501 "10971" : " Knowledge base file not found" ,
15011502 "10980" : " {{field_name}} conflicts with built-in metadata fields" ,
Original file line number Diff line number Diff line change 14791479 "10952" : " 文書解析に失敗しました" ,
14801480 "10953" : " 解析エラー:{{exception}}" ,
14811481 "10960" : " QAナレッジベースではありません" ,
1482+ "10961" : " ナレッジベースのタイプが不正です:{{message}}" ,
14821483 "10970" : " ナレッジベースが見つかりません" ,
14831484 "10971" : " ナレッジベースのファイルが見つかりません" ,
14841485 "10980" : " {{field_name}} は内蔵フィールドと衝突しています" ,
Original file line number Diff line number Diff line change 14531453 "10952" : " 文档解析失败" ,
14541454 "10953" : " 文件解析失败: {{exception}}" ,
14551455 "10960" : " 不是QA知识库" ,
1456+ "10961" : " 模型返回格式错误:{{message}}" ,
14561457 "10970" : " 知识库不存在" ,
14571458 "10971" : " 知识库文件不存在" ,
14581459 "10980" : " {{field_name}} 与内置元数据字段名称冲突" ,
Original file line number Diff line number Diff line change @@ -242,7 +242,7 @@ export default function FilesUpload() {
242242 const { uniqueObjs, removedPaths } = dedupeWithRemovedPaths ( objs )
243243 const newResultFiles = resultFiles . filter ( file => ! removedPaths [ file . file_path ] )
244244 const newUniqueObjs = uniqueObjs . map ( item => {
245- const file = newResultFiles . find ( f => item . id === f . fileId )
245+ const file = newResultFiles . find ( f => item . id === f . fileId || item . file_name === f . fileName )
246246 return {
247247 ...item ,
248248 file_path : file ?. file_path ,
You can’t perform that action at this time.
0 commit comments