<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Rag - 标签 - 研发日志 · R&amp;D Log</title><link>https://rd163.visword.com/tags/rag/</link><description>Rag - 标签 - 研发日志 · R&amp;D Log</description><generator>Hugo -- gohugo.io</generator><language>zh-CN</language><managingEditor>whutluohui@gmail.com (小智晖)</managingEditor><webMaster>whutluohui@gmail.com (小智晖)</webMaster><copyright>本作品采用知识共享署名-非商业性使用 4.0 国际许可协议进行许可。</copyright><lastBuildDate>Fri, 14 Feb 2025 00:00:00 +0800</lastBuildDate><atom:link href="https://rd163.visword.com/tags/rag/" rel="self" type="application/rss+xml"/><item><title>LLM Retrieval-Augmented Generation(RAG)</title><link>https://rd163.visword.com/posts/llm-retrieval-augmented-generation/</link><pubDate>Fri, 14 Feb 2025 00:00:00 +0800</pubDate><author><name>小智晖</name></author><guid>https://rd163.visword.com/posts/llm-retrieval-augmented-generation/</guid><description><![CDATA[<p>相关论文: <a href="https://arxiv.org/abs/2005.11401" target="_blank" rel="noopener noreferrer">Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks</a>(Lewis et al., 2020)。此外，还有一个 <a href="https://github.com/SmartFlowAI/Hand-on-RAG" target="_blank" rel="noopener noreferrer">手搓的 RAG</a> GitHub 项目，可以一窥 RAG 的全貌。</p>
<h2 id="什么是检索增强生成" class="headerLink">
    <a href="#%e4%bb%80%e4%b9%88%e6%98%af%e6%a3%80%e7%b4%a2%e5%a2%9e%e5%bc%ba%e7%94%9f%e6%88%90" class="header-mark"></a>什么是检索增强生成?</h2><p>检索增强生成（Retrieval-Augmented Generation,RAG）是一个概念，它旨在为大语言模型（Large Language Model,LLM）提供额外的、来自外部知识源的信息。这样，LLM 在生成更精确、更贴合上下文的答案的同时，也能有效减少产生误导性信息（即&quot;幻觉&quot;）的可能。</p>]]></description></item><item><title>LLM 工作流编排方案</title><link>https://rd163.visword.com/posts/llm-workflow-compose/</link><pubDate>Fri, 14 Feb 2025 00:00:00 +0800</pubDate><author><name>小智晖</name></author><guid>https://rd163.visword.com/posts/llm-workflow-compose/</guid><description><![CDATA[<p>单纯调用一个大语言模型（Large Language Model,LLM）的 API 只能解决一次性问答。当业务需要把&quot;检索知识库 → 调用 LLM → 执行工具 → 分支判断 → 输出结构化结果&quot;串联成一条流水线时，就需要<strong>工作流编排</strong>(Workflow Orchestration)。围绕 LLM 的编排能力，业界通常也称之为 LLMOps 平台或 AI Agent(智能体)平台。</p>]]></description></item><item><title>DeepSeek 联网搜索方案</title><link>https://rd163.visword.com/posts/deepseek-web-search-api/</link><pubDate>Sat, 08 Feb 2025 00:00:00 +0800</pubDate><author><name>小智晖</name></author><guid>https://rd163.visword.com/posts/deepseek-web-search-api/</guid><description><![CDATA[<p>DeepSeek 的训练语料存在截止时间，模型本身并不知道&quot;今天发生了什么&quot;。要让它回答股价、新闻、最新文档这类实时问题，必须额外接一条通往互联网的通道。常见的做法不是去训练一个新模型，而是通过 <strong>Function Calling(函数调用)</strong> 让模型在需要时主动触发一次外部搜索，再把结果作为上下文喂回去，这本质上是一种轻量级的 RAG(Retrieval-Augmented Generation，检索增强生成)。</p>]]></description></item></channel></rss>