Repository navigation
docs(ui): 检索测试加说明——只按这一句检索,真实对话会带上下文(#241) - #242
Merged
Merged
Conversation
debugRecall 用纯文本当 query,而真实对话走 composeQuery(带上最近 1~4 句, 指代/追问句重复一次)。两套 query ⇒ 测试里的召回结果系统性比实战「干净」。 这不是 bug,但容易让人拿测试结果当真实召回的下限。 方案选 B(加提示而非改行为):页面上没有聊天记录可拼,改行为需要另造 输入面;加一行说明最诚实也最省事。
Closed
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
修复 #241。「检索测试」页输入一句话看到的结果,和真实对话里的召回不一样,但页面上没有任何提示。
What
加一行说明(
Muted),不改行为:为什么不改行为
debugRecall用String(text).trim().slice(0, 500)当 query,直接进recallSync;真实链路是beginTurn→composeQuery(one.query, recentLines)(带最近 1~4 句,短句/指代句重复一次)。composeQuery):页面上没有聊天记录,拼不出真的上下文,只能伪造,反而更误导。Verification
node test/client-syntax.mjs通过(110 个 lib 脚本语法 + 7 个分块页注册形状)node test/check-client-imports.mjs通过Closes #241