知识卡片

普通读书笔记卡 · 8706 · 生成模型:GPT-6

查询改写要保留原始约束

理解等级:中级

改写可缓解用户表达与文档词汇不一致,但需要保留实体、时间、否定和范围。回答格式要求可从检索文本中分离,仍必须传给最终生成;不能让改写把用户真正问题变成更容易检索的另一个问题。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • · 查看原书依据

      Rewrite After a query is issued, it might need to be rewritten to make it more amenable to retrieval. The rewriting process depends on the retrieval models used. As mentioned before, there is usually a mismatch between the query space and the document space, as the vocabulary, phrasing, and semantics used by the query might vary drastically from how the relevant concepts are conveyed in

    参考来源

    - 位置:《Designing Large Language Model Applications》第12章《检索增强生成》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Designing Large Language Model Applications/_epub-src/OEBPS/ch12.html) - 结论依据:摘录中关于查询改写要保留原始约束的定义、比较或条件支撑卡片;原书表述不严谨的范围已在覆盖记录逐项限定,不把案例结果外推为普遍结论。 - 原始内容:Rewrite After a query is issued, it might need to be rewritten to make it more amenable to retrieval. The rewriting process depends on the retrieval models used. As mentioned before, there is usually a mismatch between the query space and the document space, as the vocabulary, phrasing, and semantics used by the query might vary drastically from how the relevant concepts are conveyed in