<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[思路讨论 专业方向RAG与工作流]]></title><description><![CDATA[<p dir="auto">传统RAG容易产生幻觉，同样一个问题，匹配的RAG结果可能不相同，不可100%复现结果。<br />
Google提出的OKF格式可能是一个比较好的解决方式，顶部 YAML 标签强锁文件类型（如法律、案例），防止大模型瞎联想；正文用 Markdown 标题（PageIndex 骨架）与向量库（传统 RAG 血肉）网状互联。<br />
在实际的任务，比如依据法律法规以及历史判例，做出工作流，让多agent参与，一个负责调度和分配任务，多个负责对应内容，一个agent负责审核，最终输出审查报告和改进意见。<br />
这个思路的可行性如何？</p>
]]></description><link>https://lcz.me/topic/714/思路讨论-专业方向rag与工作流</link><generator>RSS for Node</generator><lastBuildDate>Wed, 01 Jul 2026 08:03:38 GMT</lastBuildDate><atom:link href="https://lcz.me/topic/714.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 27 Jun 2026 06:41:52 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to 思路讨论 专业方向RAG与工作流 on Mon, 29 Jun 2026 02:25:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kop-wang" aria-label="Profile: kop-wang">@<bdi>kop-wang</bdi></a> 法庭判决的决定性因素确实大量存在于文本之外:法官自由裁量习惯、本地司法惯例、庭审表现、程序博弈.这些与法条之间几乎没有统计学关联，RAG根本够不着。RAG正好是在解决”LLM上下文窗口有限”的工程问题，不是在解决"世界模型不完整”的认知问题。</p>
]]></description><link>https://lcz.me/post/8717</link><guid isPermaLink="true">https://lcz.me/post/8717</guid><dc:creator><![CDATA[ueli]]></dc:creator><pubDate>Mon, 29 Jun 2026 02:25:44 GMT</pubDate></item><item><title><![CDATA[Reply to 思路讨论 专业方向RAG与工作流 on Mon, 29 Jun 2026 02:10:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/566656661" aria-label="Profile: 566656661">@<bdi>566656661</bdi></a> 人也会有幻觉，大脑天生就会欺骗，多一个求证的环节，就会排除幻觉。</p>
]]></description><link>https://lcz.me/post/8714</link><guid isPermaLink="true">https://lcz.me/post/8714</guid><dc:creator><![CDATA[ueli]]></dc:creator><pubDate>Mon, 29 Jun 2026 02:10:19 GMT</pubDate></item><item><title><![CDATA[Reply to 思路讨论 专业方向RAG与工作流 on Mon, 29 Jun 2026 02:05:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kop-wang" aria-label="Profile: kop-wang">@<bdi>kop-wang</bdi></a> 在不考虑案外因素的前提下，给决策做辅助建议，基层的乃至很高层级的机关执法人员是很缺乏法律常识的，所以我觉得rag可以让在一个较小空间里的问题给出相对合理的建议，以便下决策。</p>
]]></description><link>https://lcz.me/post/8713</link><guid isPermaLink="true">https://lcz.me/post/8713</guid><dc:creator><![CDATA[ueli]]></dc:creator><pubDate>Mon, 29 Jun 2026 02:05:19 GMT</pubDate></item><item><title><![CDATA[Reply to 思路讨论 专业方向RAG与工作流 on Sun, 28 Jun 2026 15:52:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ueli" aria-label="Profile: ueli">@<bdi>ueli</bdi></a> 关于法律相关这块，有没有可能是因为很大权重的影响因素其实都不在整个法律体系和流程框架内，导致其实LLM的上下文本来就是不完整的。从而导致统计学结果的失真。</p>
<p dir="auto">Coding之所以效果比较好，除了可以做0成本验证回溯迭代以外，我个人理解，很大程度上是因为Coding的信息量是明牌的，而且收束在极其窄的区间以内。一个project，本质上所有的上下文都在这个文件夹下。外部都是知识，不决定整个project的执行结果和执行走向。</p>
<p dir="auto">法律在我的理解来看恰恰相反。法条和整个司法流程的文书，反而是信息量最小的部分。有大量看似解耦，但实际又起决定性作用的信息量在外围。他们之间从文字本身上很难有统计学关系。<br />
而这其实RAG也无法彻底解决。毕竟RAG是以为了LLM有限的上下文窗口而“精炼上下文”为本质目的的技术。它并不能解决"信息视野缺失"的问题。</p>
<p dir="auto">还有一点，就是LLM本身后训练的审查和拒绝模块，对于法律这种相对敏感的内容也会起到很大的负面作用。</p>
<p dir="auto">我认为这是法律领域Agent，乃至LLM失真的最本质因素。</p>
]]></description><link>https://lcz.me/post/8672</link><guid isPermaLink="true">https://lcz.me/post/8672</guid><dc:creator><![CDATA[kop wang]]></dc:creator><pubDate>Sun, 28 Jun 2026 15:52:08 GMT</pubDate></item><item><title><![CDATA[Reply to 思路讨论 专业方向RAG与工作流 on Sun, 28 Jun 2026 13:32:36 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ueli" aria-label="Profile: ueli">@<bdi>ueli</bdi></a> <a href="/post/8661">说</a>:</p>
<p dir="auto">所以我在考虑如何架构能够让llm不产生幻觉，从而辅助我进行决策。</p>
</blockquote>
<p dir="auto">只能說ueli大你說的這個應該很難...吧</p>
<p dir="auto">幻覺就是llm的一部分, 能降低但不會變0</p>
<p dir="auto">連編程這種這麽有規律性的東西都會出現, 個人覺得法律這邊也逃不過吧</p>
]]></description><link>https://lcz.me/post/8665</link><guid isPermaLink="true">https://lcz.me/post/8665</guid><dc:creator><![CDATA[566656661]]></dc:creator><pubDate>Sun, 28 Jun 2026 13:32:36 GMT</pubDate></item><item><title><![CDATA[Reply to 思路讨论 专业方向RAG与工作流 on Sun, 28 Jun 2026 13:25:24 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kop-wang" aria-label="Profile: kop-wang">@<bdi>kop-wang</bdi></a> <a href="/post/8542">说</a>:</p>
<p dir="auto">坚守关键词、正则匹配。<br />
所以目前的agent都是在coding领域有很好的表现，但是在有自由裁量权的领域，尤其是法律，表现是差强人意的，某律师使用豆包打官司导致职业资格证被吊销。<br />
我的日常工作会有大量的法律条文应用，关键词和正则会有反效果，因为真实世界是考虑实际的适用性和合理性，这个是目前的llm或者agent不尽如人意的地方。<br />
所以我在考虑如何架构能够让llm不产生幻觉，从而辅助我进行决策。</p>
</blockquote>
]]></description><link>https://lcz.me/post/8661</link><guid isPermaLink="true">https://lcz.me/post/8661</guid><dc:creator><![CDATA[ueli]]></dc:creator><pubDate>Sun, 28 Jun 2026 13:25:24 GMT</pubDate></item><item><title><![CDATA[Reply to 思路讨论 专业方向RAG与工作流 on Sun, 28 Jun 2026 13:01:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/applejuice" aria-label="Profile: applejuice">@<bdi>applejuice</bdi></a></p>
<p dir="auto">沒有</p>
<p dir="auto">以上說的都是RAG的設計思路</p>
<p dir="auto">是不是真的有效其實都是要試驗過才知道, 所以到現在也沒有一個一刀切說某個類型的RAG會比另外一類差, 各有所長, 要慢慢試直到符合到自己的用處</p>
]]></description><link>https://lcz.me/post/8654</link><guid isPermaLink="true">https://lcz.me/post/8654</guid><dc:creator><![CDATA[566656661]]></dc:creator><pubDate>Sun, 28 Jun 2026 13:01:52 GMT</pubDate></item><item><title><![CDATA[Reply to 思路讨论 专业方向RAG与工作流 on Sun, 28 Jun 2026 11:34:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/applejuice" aria-label="Profile: applejuice">@<bdi>applejuice</bdi></a> Agent工具就是没什么定量的测试方法。毕竟LLM本身就有一定的容错能力。所以导致你的Agent工具最终起到正向还是负面效果其实很难客观评判。</p>
<p dir="auto">我觉得RAG想证明比关键词、正则检索要更有效就很难。</p>
]]></description><link>https://lcz.me/post/8645</link><guid isPermaLink="true">https://lcz.me/post/8645</guid><dc:creator><![CDATA[kop wang]]></dc:creator><pubDate>Sun, 28 Jun 2026 11:34:12 GMT</pubDate></item><item><title><![CDATA[Reply to 思路讨论 专业方向RAG与工作流 on Sun, 28 Jun 2026 10:31:23 GMT]]></title><description><![CDATA[<p dir="auto">rag 有什么测试方法吗？<br />
我搞了一下基本上能用.<br />
但是你们说的我都不明白</p>
]]></description><link>https://lcz.me/post/8638</link><guid isPermaLink="true">https://lcz.me/post/8638</guid><dc:creator><![CDATA[applejuice]]></dc:creator><pubDate>Sun, 28 Jun 2026 10:31:23 GMT</pubDate></item><item><title><![CDATA[Reply to 思路讨论 专业方向RAG与工作流 on Sun, 28 Jun 2026 03:07:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/566656661" aria-label="Profile: 566656661">@<bdi>566656661</bdi></a> 编程不需要RAG，模型底座能力用好就足够，在编程场景中用RAG，多半是是架构烂，当然，这个观点很主观。我的意思就是，头部模型的写代码能力足够了，它们缺的就是架构设计能力。</p>
]]></description><link>https://lcz.me/post/8612</link><guid isPermaLink="true">https://lcz.me/post/8612</guid><dc:creator><![CDATA[terry]]></dc:creator><pubDate>Sun, 28 Jun 2026 03:07:51 GMT</pubDate></item><item><title><![CDATA[Reply to 思路讨论 专业方向RAG与工作流 on Sun, 28 Jun 2026 03:06:09 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/terry" aria-label="Profile: terry">@<bdi>terry</bdi></a></p>
<p dir="auto">在Document RAG上認同, 但是Code RAG上應該各有千秋?</p>
<p dir="auto"><a href="https://zhuanlan.zhihu.com/p/2043160358018348348" rel="nofollow ugc">引用一下這個知乎大神的文章</a></p>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>工具</th>
<th>核心表示</th>
<th>索引位置</th>
<th>給 Agent 的介面</th>
<th>主要場景</th>
</tr>
</thead>
<tbody>
<tr>
<td>CodeGraph</td>
<td>tree-sitter AST → SQLite 圖 + FTS5</td>
<td>本地</td>
<td>MCP（10 個工具）</td>
<td>Claude Code/Cursor/Codex 等 Agent 的探索加速</td>
</tr>
<tr>
<td>Aider repo map</td>
<td>tree-sitter tags + PageRank</td>
<td>本地</td>
<td>拼接至 prompt 中</td>
<td>Aider 終端 pair programming</td>
</tr>
<tr>
<td>Cursor 內建索引</td>
<td>檔案分塊 → embedding</td>
<td>遠端 Turbopuffer + Merkle 樹同步</td>
<td>@Codebase</td>
<td>Cursor IDE 內</td>
</tr>
<tr>
<td>Continue.dev</td>
<td>tree-sitter 分塊 + embedding + FTS</td>
<td>本地 <code>~/.continue/index</code></td>
<td>@Codebase / @Folder</td>
<td>Continue IDE 外掛程式</td>
</tr>
<tr>
<td>Sourcegraph Cody</td>
<td>SCIP（LSIF 後繼）+ embedding</td>
<td>遠端 Sourcegraph 實例</td>
<td>內建 + MCP server</td>
<td>企業程式碼搜尋</td>
</tr>
<tr>
<td>Augment Code</td>
<td>語意索引（專有 Context Engine）</td>
<td>遠端</td>
<td>MCP（遠端 HTTPS）</td>
<td>企業級 Agent，跨程式碼庫</td>
</tr>
<tr>
<td><a href="http://Potpie.ai" rel="nofollow ugc">Potpie.ai</a></td>
<td>Neo4j 屬性圖</td>
<td>伺服器端（自行託管或 SaaS）</td>
<td>FastAPI + 專用 Agent</td>
<td>企業 spec-driven 大型程式碼庫</td>
</tr>
<tr>
<td>Greptile</td>
<td>程式碼庫相依圖</td>
<td>遠端 SaaS</td>
<td>PR review Agent</td>
<td>AI code review</td>
</tr>
<tr>
<td>Bloop</td>
<td>語意搜尋</td>
<td>桌面／遠端</td>
<td>桌面 UI</td>
<td>自然語言程式碼搜尋</td>
</tr>
<tr>
<td>Repomix / Code2Prompt / yek</td>
<td>整庫拼接為長文本</td>
<td>本地</td>
<td>複製貼上 / MCP</td>
<td>供長上下文 LLM 進行一次性匯出</td>
</tr>
<tr>
<td>CodeQL</td>
<td>資料流 + 控制流 facts → Datalog</td>
<td>本地</td>
<td>QL 查詢</td>
<td>安全性分析／變異分析</td>
</tr>
<tr>
<td>Glean (Meta)</td>
<td>通用程式碼事實資料庫 + SCIP 輸入</td>
<td>伺服器端</td>
<td>Glass API</td>
<td>Meta 內部 IDE／RAG</td>
</tr>
</tbody>
</table>
]]></description><link>https://lcz.me/post/8610</link><guid isPermaLink="true">https://lcz.me/post/8610</guid><dc:creator><![CDATA[566656661]]></dc:creator><pubDate>Sun, 28 Jun 2026 03:06:09 GMT</pubDate></item><item><title><![CDATA[Reply to 思路讨论 专业方向RAG与工作流 on Sun, 28 Jun 2026 02:36:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/566656661" aria-label="Profile: 566656661">@<bdi>566656661</bdi></a> RAG的是有门槛的，不是个人随便玩得转的，无限上下文不太可能，但是可以通过构建只是文本数据库，而不是用RAG的方式来完成增强。就是RAG的性价比还不如本地文本检索增强。</p>
]]></description><link>https://lcz.me/post/8604</link><guid isPermaLink="true">https://lcz.me/post/8604</guid><dc:creator><![CDATA[terry]]></dc:creator><pubDate>Sun, 28 Jun 2026 02:36:16 GMT</pubDate></item><item><title><![CDATA[Reply to 思路讨论 专业方向RAG与工作流 on Sat, 27 Jun 2026 14:15:15 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/kop-wang" aria-label="Profile: kop-wang">@<bdi>kop-wang</bdi></a> <a href="/post/8542">说</a>:<br />
如果正如LLM大厂吹的，26年内无限上下文实现，RAG瞬间就没有价值了。</p>
</blockquote>
<p dir="auto">這個我覺得應該是不太可能....吧</p>
<p dir="auto">就算能用估計也不是一般人能用的</p>
]]></description><link>https://lcz.me/post/8557</link><guid isPermaLink="true">https://lcz.me/post/8557</guid><dc:creator><![CDATA[566656661]]></dc:creator><pubDate>Sat, 27 Jun 2026 14:15:15 GMT</pubDate></item><item><title><![CDATA[Reply to 思路讨论 专业方向RAG与工作流 on Sat, 27 Jun 2026 13:48:14 GMT]]></title><description><![CDATA[<p dir="auto">目前的瓶颈还是“RAG输出的内容到底比正则、关键词检索强多少”这个话题。</p>
<p dir="auto">目前行业通用开源的Agent，用RAG的属于少数。更多的还是坚守关键词、正则匹配。<br />
RAG很难证明比正则+关键词强，尤其是在目前LLM在卷上下文最大长度这个情况下。</p>
<p dir="auto">如果正如LLM大厂吹的，26年内无限上下文实现，RAG瞬间就没有价值了。</p>
]]></description><link>https://lcz.me/post/8542</link><guid isPermaLink="true">https://lcz.me/post/8542</guid><dc:creator><![CDATA[kop wang]]></dc:creator><pubDate>Sat, 27 Jun 2026 13:48:14 GMT</pubDate></item></channel></rss>