WeKnora/frontend/src
wizardchen 49010d2526 fix(chat): 兜底回答不再把原始命中数报成检索结果数
检索阶段以 ErrSearchNothing 短路时会走兜底回答,而兜底 prompt 只拿到知识库的
文档标题清单,一条检索片段都没进模型上下文,引用集合同样为空。但进度条的计数
在 MergeResult / RerankResult 都为空时回退到原始 SearchResult,于是时间轴上写着
「找到 10 个结果」——既不是模型看到的上下文数,也没有引用可以点开。

现在兜底路径下 count / doc_count / web_count 归零,原始命中数放进新的
candidate_count,前端相应显示「命中 N 条候选,相关性不足,未用于回答」,与完全
没有候选的「未检索到相关内容」区分开:这个区别指向的是相关性阈值,而不是知识库。
2026-08-13 21:34:21 +08:00
..
api fix: filter menus by deployment capabilities (#2674) 2026-08-13 20:18:48 +08:00
assets feat(datasource): 支持 GitLab 数据源文档同步 (#2656) 2026-08-12 16:09:55 +08:00
components fix: filter menus by deployment capabilities (#2674) 2026-08-13 20:18:48 +08:00
composables fix(frontend): 修复占位行样式并把记忆行统一收进时间轴 2026-08-13 21:34:21 +08:00
config fix: filter menus by deployment capabilities (#2674) 2026-08-13 20:18:48 +08:00
directives feat(frontend): enhance chat image handling and typewriter effect 2026-06-18 18:42:16 +08:00
hooks fix(frontend): harden document chunk pagination state handling 2026-08-12 13:23:44 +08:00
i18n fix(chat): 兜底回答不再把原始命中数报成检索结果数 2026-08-13 21:34:21 +08:00
router fix: filter menus by deployment capabilities (#2674) 2026-08-13 20:18:48 +08:00
stores fix: filter menus by deployment capabilities (#2674) 2026-08-13 20:18:48 +08:00
types fix(chunking): align preview with parent-child splitting / 修复预览与父子分块不一致 2026-08-05 15:09:14 +08:00
utils fix(chat): 兜底回答不再把原始命中数报成检索结果数 2026-08-13 21:34:21 +08:00
views fix(frontend): 修复占位行样式并把记忆行统一收进时间轴 2026-08-13 21:34:21 +08:00
wailsjs feat: implement automatic update checking and downloading functionality in the desktop app, enhancing user experience with seamless updates and corresponding UI settings 2026-04-11 18:51:16 +08:00
App.vue feat: 邀请链接在 invite_only 模式下改为登录后加入空间 2026-08-10 14:57:38 +08:00
embed-main.ts feat(embed): add widget, visitor chat, and management UI (#1657) 2026-06-12 23:10:39 +08:00
main.ts fix(invitation): harden auto-accept follow-ups from code review 2026-08-10 15:47:29 +08:00