百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
返回工具页/返回 Issues 列表
#3867·WeKnora

[错误]: 预生成问题在关闭后仍然影响搜索——问句向量不随配置清理,过时的问句仍然进入重新排序段落

作者: iceriverlin创建于 2026年9月29日更新于 2026年9月30日
  1. Create a document knowledge base, enable "question generation" (question_generation_config.enabled=true, question_count=3), and import a long document with significant content differences (easy to observe the sorting).
  2. Wait for the parsing to complete, and confirm that there are rows in the embeddings with source_id = - (approximately 3 times the number of chunks).
  3. Use a specific question in the document to query, and record the position of the top-K with the image and text chunks.
  4. Change the question_generation_config.enabled to false, without re-parsing, and query with the same question again:
  • The question rows still remain in the index and continue to participate in the recall (side effect A).
  1. Re-parse (or re-parse a single document), confirm that the question vector rows are zeroed, and then check whether the chunks.metadata still contains generated_questions, and query with the same question again:
  • The stale questions will still be included in the rerank passage (side effect B).

内容来源: Tencent/WeKnora

查看 GitHub 原文在 GitHub 查看讨论