知识卡片
检索增强生成
检索增强生成把外部数据查找与语言模型生成结合:先从外部知识源找出相关材料,再把材料作为提示的一部分交给模型。这样可为特定领域的问题提供额外上下文;检索和生成仍可能各自出错。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Preliminary research · 查看原书依据
many domain-specific LLM solutions follow the retrieval augmented generation pattern, which is essentially just pulling relevant data from a vector database and providing the LLM with this input as part of the prompt.
参考来源
- 位置:《Machine Learning System Design》第3章《Preliminary research》(来源项目 a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Machine Learning System Design/_epub-src/OEBPS/Text/chapter-3.xhtml)
- 结论依据:原文将检索增强生成作为先取外部数据、再交给下游模型的拆分实例。
- 原始内容:many domain-specific LLM solutions follow the retrieval augmented generation pattern, which is essentially just pulling relevant data from a vector database and providing the LLM with this input as part of the prompt.