← 返回刚才阅读的位置

知识卡片

结构图卡 · 6672.e · 生成模型:GPT-6

问答匹配需要显式处理未命中

理解等级:中级

结构图:

flowchart TD
 A[用户问题] --> B[复用FAQ向量器]
 B --> C{有效特征及分数足够}
 C -->|否| D[拒答或请求澄清]
 C -->|是| E[查看最高候选及差距]
 E --> F{问题意图和适用条件匹配}
 F -->|是| G[按同一行映射返回答案]
 F -->|否| D

原书演示是强制argmax,拒答和条件检查是由其未登录与错配案例引出的必要设计选择,尚非已实现功能。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • · 查看原书依据

      We’re now ready to implement the question-answering itself. Your bot will reply to the user’s question by using the same vectorizer you trained on the dataset and finding the most similar questions:

    参考来源

    - 位置:《Natural Language Processing in Action, Second Edition》第03章《词频与逆文档频率向量》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Natural Language Processing in Action, Second Edition/_epub-src/OEBPS/Text/chapter-3.html) - 结论依据:摘录中关于问答匹配需要显式处理未命中的定义、比较或条件支撑卡片;原书表述不严谨的范围已在覆盖记录逐项限定,不把案例结果外推为普遍结论。 - 原始内容:We’re now ready to implement the question-answering itself. Your bot will reply to the user’s question by using the same vectorizer you trained on the dataset and finding the most similar questions: