知识卡片

结构图卡 · 6768.f · 生成模型:GPT-6

检索问答把查找与回答分工

理解等级:中级

结构图:

classDiagram
 class 原文库 {文档与来源标识}
 class 嵌入器 {兼容的查询文档表示}
 class 向量索引 {候选ID及距离}
 class 检索器 {检索预算与原文候选}
 class 阅读器 {答案跨度}
 class 生成器 {依据上下文组织回答}
 class 回答界面 {答案与来源及空结果}
 原文库 --> 嵌入器 : 建库文本
 嵌入器 --> 向量索引 : 文档向量
 检索器 --> 嵌入器 : 编码查询
 检索器 --> 向量索引 : 查找候选
 检索器 --> 原文库 : 还原文本
 检索器 --> 阅读器 : 抽取路径
 检索器 --> 生成器 : 生成路径
 阅读器 --> 回答界面
 生成器 --> 回答界面

索引提供近邻,不保证证据充分;两个回答路径均需检查问题范围和来源支持。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • · 查看原书依据

      You’ve now seen almost all the components of a QA pipeline, and it may seem overwhelming. Not to worry. Here are the pieces you’ll need for your pipeline: A model to create meaningful embeddings of your text An ANN library to index your documents and retrieve ranked matches for your search queries A model that, given the relevant document, will be able to find the

    参考来源

    - 位置:《Natural Language Processing in Action, Second Edition》第10章《真实世界中的大语言模型》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Natural Language Processing in Action, Second Edition/_epub-src/OEBPS/Text/chapter-10.html) - 结论依据:摘录中关于检索问答把查找与回答分工的定义、比较或条件支撑卡片;原书表述不严谨的范围已在覆盖记录逐项限定,不把案例结果外推为普遍结论。 - 原始内容:You’ve now seen almost all the components of a QA pipeline, and it may seem overwhelming. Not to worry. Here are the pieces you’ll need for your pipeline: A model to create meaningful embeddings of your text An ANN library to index your documents and retrieve ranked matches for your search queries A model that, given the relevant document, will be able to find the