{"id":3924,"date":"2026-08-31T10:23:55","date_gmt":"2026-08-31T02:23:55","guid":{"rendered":"https:\/\/ai.zhousir.top\/?p=3924"},"modified":"2026-08-31T10:23:55","modified_gmt":"2026-08-31T02:23:55","slug":"langgraph%e5%b8%b8%e8%a7%81workflow-%e4%b8%83%e7%a7%8d%e7%bc%96%e6%8e%92%e6%a8%a1%e5%bc%8f","status":"publish","type":"post","link":"https:\/\/ai.zhousir.top\/?p=3924","title":{"rendered":"LangGraph\u5e38\u89c1WorkFlow-\u4e03\u79cd\u7f16\u6392\u6a21\u5f0f"},"content":{"rendered":"<section id=\"wenyan\" style=\"font-family: system-ui, 'Apple Color Emoji', 'Segoe UI', 'Segoe UI Symbol', 'Noto Sans', Roboto, sans-serif; word-break: break-word; overflow-wrap: break-word; color: #000000; font-size: 16px; line-height: 1.75; caret-color: #000000;\" data-provider=\"WenYan\">\n<blockquote style=\"color: #555555; background-color: #fff9eb; background-image: none; padding: 16px 20px; margin: 20px 0px; border-width: 0px 0px 0px 4px; border-style: none none none solid; border-color: currentcolor currentcolor currentcolor #f8b43f; border-radius: 6px; font-style: normal; quotes: none;\">\n<p style=\"margin: 0.55em 0px; color: #555555; text-indent: 0px; padding: 0px; line-height: 1.75; font-style: normal; background: transparent;\">\u4e0a\u7bc7\u4f60\u8dd1\u901a\u4e86 State \/ Node \/ Edge \u3002\u8fd9\u7bc7\u662f <strong style=\"color: #333333; font-weight: bold;\">LangGraph \u4e13\u9898\u7b2c 03 \u7bc7<\/strong>\u2014\u2014\u628a\u300c\u4f1a\u753b\u56fe\u300d\u5347\u7ea7\u6210\u300c\u4f1a\u70b9\u540d\u6a21\u5f0f\u300d\uff1a\u4e03\u79cd\u5e38\u89c1 WorkFlow\uff0c\u8c01\u63a7\u6d41\u3001\u4f55\u65f6\u7528\u3001\u4ed3\u5e93\u951a\u5728\u54ea\u3002<\/p>\n<\/blockquote>\n<hr style=\"border-width: 1px medium medium; border-style: solid none none; border-color: #f0e6d0 currentcolor currentcolor; margin: 24px 0px;\" \/>\n<h2 style=\"display: inline-block; position: relative; font-weight: bold; color: #333333; line-height: 1.5; margin-top: 32px; margin-bottom: 16px; padding: 0px 6px 2px; text-align: left; background: linear-gradient(to top, #f8b43f 42%, transparent 42%); box-decoration-break: clone; -webkit-box-decoration-break: clone; font-size: 17px; border: medium none currentcolor;\"><span style=\"color: #333333; font-weight: bold;\">\u5c0f\u660e\u4f1a\u753b\u8fb9\u4e86\uff0c\u5374\u4e0d\u4f1a\u300c\u70b9\u83dc\u300d<\/span><\/h2>\n<p style=\"margin-top: 12px; margin-bottom: 12px; color: #333333; text-indent: 0px; padding-left: 0px;\">\u5c0f\u660e\u628a\u5929\u6c14\/\u5236\u5ea6\u8def\u7531\u8dd1\u901a\u540e\uff0c\u4ea7\u54c1\u53c8\u4e22\u6765\u4e09\u53e5\u9700\u6c42\uff1a<\/p>\n<blockquote style=\"color: #555555; background-color: #fff9eb; background-image: none; padding: 16px 20px; margin: 20px 0px; border-width: 0px 0px 0px 4px; border-style: none none none solid; border-color: currentcolor currentcolor currentcolor #f8b43f; border-radius: 6px; font-style: normal; quotes: none;\">\n<p style=\"margin: 0.55em 0px; color: #555555; text-indent: 0px; padding: 0px; line-height: 1.75; font-style: normal; background: transparent;\">\u300c\u7ffb\u8bd1\u2192\u6da6\u8272\u2192\u8d28\u68c0\u8981\u56fa\u5b9a\u4e09\u6b65\u3002\u300d<br \/>\n\u300c\u62a5\u544a\u8981\u62c6\u591a\u7ae0\u5e76\u884c\u5199\u518d\u6c47\u603b\u3002\u300d<br \/>\n\u300c\u8349\u7a3f\u4e0d\u884c\u5c31\u6253\u56de\u91cd\u5199\uff0c\u76f4\u5230\u8fc7\u5ba1\u3002\u300d<\/p>\n<\/blockquote>\n<p style=\"margin-top: 12px; margin-bottom: 12px; color: #333333; text-indent: 0px; padding-left: 0px;\">\u5c0f\u660e\u628a\u6761\u4ef6\u8fb9\u590d\u5236\u4e86\u4e09\u904d\uff0c\u56fe\u8d8a\u8d34\u8d8a\u4e71\u3002\u4ed6\u95ee\u8001\u5f20\uff1a&#8221;\u662f\u4e0d\u662f\u6bcf\u79cd\u9700\u6c42\u90fd\u8981\u4ece\u96f6\u53d1\u660e\u62d3\u6251\uff1f&#8221;<\/p>\n<p style=\"margin-top: 12px; margin-bottom: 12px; color: #333333; text-indent: 0px; padding-left: 0px;\">\u8001\u5f20\u6447\u5934\uff1a&#8221;\u4e0d\u7528\u3002LangGraph \u503c\u94b1\u7684\u4e0d\u53ea\u662f\u7b80\u5355 Agent\uff0c\u800c\u662f<strong style=\"color: #333333; font-weight: bold;\">\u7528\u56fe\u7075\u6d3b\u7f16\u6392\u590d\u6742\u5de5\u4f5c\u6d41<\/strong>\u3002\u4e1a\u754c\u5df2\u7ecf\u6c89\u6dc0\u51fa\u4e00\u6279\u53ef\u590d\u7528\u6a21\u5f0f\u3002\u5148\u5206\u6e05\u4e24\u62e8\u4eba\uff1a<\/p>\n<section style=\"display: block; background-repeat: no-repeat; width: 100%; height: 16px;\"><\/section>\n<pre style=\"tab-size: 2; font-size: 12px; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; overflow: auto hidden; max-width: 100%; box-sizing: border-box; position: relative; line-height: 1.5; border-radius: 4px; margin: 16px 0px; padding: 0.5em; white-space: pre; word-break: normal; overflow-wrap: normal; background: #002b36;\"><code class=\"hljs\" style=\"tab-size: 2; font-size: 12px; font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; display: block; overflow: auto hidden; max-width: 100%; box-sizing: border-box; margin: 0.5em; padding: 3px 5px; white-space: nowrap; word-break: normal; overflow-wrap: normal; color: #93a1a1; background: #002b36;\">\u5de6\u4fa7\uff1a\u6d41\u7a0b\u4f60\u5199\u6b7b\uff0cLLM\u00a0\u5d4c\u5728\u6b65\u9aa4\u91cc\u00a0\u00a0\u00a0\u2192\u00a0\u7a33\u3001\u53ef\u9884\u671f\n\u53f3\u4fa7\uff1aLLM\uff08\u6216\u4eba\uff09\u53c2\u4e0e\u51b3\u5b9a\u4e0b\u4e00\u6b65\u00a0\u00a0\u00a0\u00a0\u00a0\u2192\u00a0\u66f4\u667a\u80fd\u3001\u8981\u7ea6\u675f\n<\/code><\/pre>\n<p style=\"margin-top: 12px; margin-bottom: 12px; color: #333333; text-indent: 0px; padding-left: 0px;\">\u5de6\u8fb9\u50cf\u6d41\u6c34\u7ebf\uff1b\u53f3\u8fb9\u50cf\u5e26\u5bfc\u822a\u7684\u53f8\u673a\u3002\u4e03\u79cd\u6a21\u5f0f\uff0c\u5c31\u662f\u8fd9\u4e24\u79cd\u54f2\u5b66\u7684\u5177\u4f53\u83dc\u8c31\u3002&#8221;<\/p>\n<hr style=\"border-width: 1px medium medium; border-style: solid none none; border-color: #f0e6d0 currentcolor currentcolor; margin: 24px 0px;\" \/>\n<h2 style=\"display: inline-block; position: relative; font-weight: bold; color: #333333; line-height: 1.5; margin-top: 32px; margin-bottom: 16px; padding: 0px 6px 2px; text-align: left; background: linear-gradient(to top, #f8b43f 42%, transparent 42%); box-decoration-break: clone; -webkit-box-decoration-break: clone; font-size: 17px; border: medium none currentcolor;\"><span style=\"color: #333333; font-weight: bold;\">\u603b\u89c8\uff1a\u4e03\u79cd\u6a21\u5f0f\u4e00\u5f20\u8868<\/span><\/h2>\n<p style=\"margin-top: 12px; margin-bottom: 12px; color: #333333; text-indent: 0px; padding-left: 0px;\">\u5148\u628a\u672c\u6a21\u5757<strong style=\"color: #333333; font-weight: bold;\">\u53ef\u9a8c\u8bc1\u4ea7\u51fa<\/strong>\u6446\u684c\u4e0a\u2014\u2014\u8bfb\u5b8c\u518d\u5bf9\u7167\u4ed3\u5e93\uff1a<\/p>\n<table style=\"display: inline-block !important; width: auto; max-width: 100%; overflow: auto; border-spacing: 0px; border-collapse: collapse; margin: 1rem 0px;\">\n<thead style=\"background: #fff9eb; color: #333333; text-align: left;\">\n<tr>\n<th style=\"font-size: 0.75em; padding: 10px 12px; line-height: 1.6; border: 1px solid #f5e6c8;\">\u6a21\u5f0f<\/th>\n<th style=\"font-size: 0.75em; padding: 10px 12px; line-height: 1.6; border: 1px solid #f5e6c8;\">\u8c01\u63a7\u6d41<\/th>\n<th style=\"font-size: 0.75em; padding: 10px 12px; line-height: 1.6; border: 1px solid #f5e6c8;\">\u5178\u578b\u573a\u666f<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"font-size: 0.75em; padding: 10px 12px; line-height: 1.6; border: 1px solid #f5e6c8; min-width: 100px;\">Prompt Chaining\uff08\u987a\u5e8f\uff09<\/td>\n<td style=\"font-size: 0.75em; padding: 10px 12px; line-height: 1.6; border: 1px solid #f5e6c8; min-width: 100px;\">\u7a0b\u5e8f\uff08\u9884\u5b9a\u4e49\uff09<\/td>\n<td style=\"font-size: 0.75em; padding: 10px 12px; line-height: 1.6; border: 1px solid #f5e6c8; min-width: 100px;\">\u7ffb\u8bd1\u2192\u6da6\u8272\u2192\u8d28\u68c0<\/td>\n<\/tr>\n<tr>\n<td style=\"font-size: 0.75em; padding: 10px 12px; line-height: 1.6; border: 1px solid #f5e6c8; min-width: 100px;\">Parallelization\uff08\u5e76\u884c\u6c47\u805a\uff09<\/td>\n<td style=\"font-size: 0.75em; padding: 10px 12px; line-height: 1.6; border: 1px solid #f5e6c8; min-width: 100px;\">\u7a0b\u5e8f<\/td>\n<td style=\"font-size: 0.75em; padding: 10px 12px; line-height: 1.6; border: 1px solid #f5e6c8; min-width: 100px;\">\u591a\u89c6\u89d2\u5206\u6790\u3001\u591a\u6e90\u68c0\u7d22<\/td>\n<\/tr>\n<tr>\n<td style=\"font-size: 0.75em; padding: 10px 12px; line-height: 1.6; border: 1px solid #f5e6c8; min-width: 100px;\">Routing\uff08\u8def\u7531\uff09<\/td>\n<td style=\"font-size: 0.75em; padding: 10px 12px; line-height: 1.6; border: 1px solid #f5e6c8; min-width: 100px;\">\u89c4\u5219\u6216 LLM \u5206\u7c7b<\/td>\n<td style=\"font-size: 0.75em; padding: 10px 12px; line-height: 1.6; border: 1px solid #f5e6c8; min-width: 100px;\">\u5ba2\u670d\u5206\u8bca\u3001\u591a\u6280\u80fd\u5206\u53d1<\/td>\n<\/tr>\n<tr>\n<td style=\"font-size: 0.75em; padding: 10px 12px; line-height: 1.6; border: 1px solid #f5e6c8; min-width: 100px;\">Orchestrator-Worker<\/td>\n<td style=\"font-size: 0.75em; padding: 10px 12px; line-height: 1.6; border: 1px solid #f5e6c8; min-width: 100px;\">\u7f16\u6392\u8005\u52a8\u6001\u6d3e\u6d3b<\/td>\n<td style=\"font-size: 0.75em; padding: 10px 12px; line-height: 1.6; border: 1px solid #f5e6c8; min-width: 100px;\">\u591a\u7ae0\u8282\u62a5\u544a\u3001\u591a\u6587\u4ef6\u6539\u5199<\/td>\n<\/tr>\n<tr>\n<td style=\"font-size: 0.75em; padding: 10px 12px; line-height: 1.6; border: 1px solid #f5e6c8; min-width: 100px;\">Evaluator-Optimizer<\/td>\n<td style=\"font-size: 0.75em; padding: 10px 12px; line-height: 1.6; border: 1px solid #f5e6c8; min-width: 100px;\">\u8bc4\u4f30\u73af<\/td>\n<td style=\"font-size: 0.75em; padding: 10px 12px; line-height: 1.6; border: 1px solid #f5e6c8; min-width: 100px;\">\u8d28\u91cf\u95e8\u7981\u3001\u7b11\u8bdd\/\u6587\u6848\u8fed\u4ee3<\/td>\n<\/tr>\n<tr>\n<td style=\"font-size: 0.75em; padding: 10px 12px; line-height: 1.6; border: 1px solid #f5e6c8; min-width: 100px;\">Agent Tool Loop<\/td>\n<td style=\"font-size: 0.75em; padding: 10px 12px; line-height: 1.6; border: 1px solid #f5e6c8; min-width: 100px;\">\u6a21\u578b\u9009\u5de5\u5177<\/td>\n<td style=\"font-size: 0.75em; padding: 10px 12px; line-height: 1.6; border: 1px solid #f5e6c8; min-width: 100px;\">\u5f00\u653e\u95ee\u7b54+\u5de5\u5177<\/td>\n<\/tr>\n<tr>\n<td style=\"font-size: 0.75em; padding: 10px 12px; line-height: 1.6; border: 1px solid #f5e6c8; min-width: 100px;\">Human-in-the-Loop<\/td>\n<td style=\"font-size: 0.75em; padding: 10px 12px; line-height: 1.6; border: 1px solid #f5e6c8; min-width: 100px;\">\u4eba\u5ba1\u6253\u65ad<\/td>\n<td style=\"font-size: 0.75em; padding: 10px 12px; line-height: 1.6; border: 1px solid #f5e6c8; min-width: 100px;\">\u53d1\u4fe1\/\u6263\u8d39\/\u5220\u5e93\u5ba1\u6279<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"margin-top: 12px; margin-bottom: 12px; color: #333333; text-indent: 0px; padding-left: 0px;\">\u7ec4\u5408\u4f8b\uff08\u52a0\u9910\uff09\uff1a<strong style=\"color: #333333; font-weight: bold;\">\u53ef\u63a7 RAG<\/strong> = Chaining + Routing \u2192 <strong style=\"color: #333333; font-weight: bold;\"><code style=\"font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; background-color: #fff4e6; color: #d9480f; border-radius: 2px; font-size: 14px; padding: 2px 5px; word-break: break-word;\">rag-workflow\/<\/code><\/strong>\u3002<\/p>\n<hr style=\"border-width: 1px medium medium; border-style: solid none none; border-color: #f0e6d0 currentcolor currentcolor; margin: 24px 0px;\" \/>\n<h2 style=\"display: inline-block; position: relative; font-weight: bold; color: #333333; line-height: 1.5; margin-top: 32px; margin-bottom: 16px; padding: 0px 6px 2px; text-align: left; background: linear-gradient(to top, #f8b43f 42%, transparent 42%); box-decoration-break: clone; -webkit-box-decoration-break: clone; font-size: 17px; border: medium none currentcolor;\"><span style=\"color: #333333; font-weight: bold;\">1. Prompt Chaining\uff1a\u987a\u5e8f\u94fe\u6761<\/span><\/h2>\n<section style=\"display: block; background-repeat: no-repeat; width: 100%; height: 16px;\"><\/section>\n<pre style=\"tab-size: 2; font-size: 12px; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; overflow: auto hidden; max-width: 100%; box-sizing: border-box; position: relative; line-height: 1.5; border-radius: 4px; margin: 16px 0px; padding: 0.5em; white-space: pre; word-break: normal; overflow-wrap: normal; background: #002b36;\"><code class=\"hljs\" style=\"tab-size: 2; font-size: 12px; font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; display: block; overflow: auto hidden; max-width: 100%; box-sizing: border-box; margin: 0.5em; padding: 3px 5px; white-space: nowrap; word-break: normal; overflow-wrap: normal; color: #93a1a1; background: #002b36;\">START\u00a0\u2192\u00a0step_a\u00a0\u2192\u00a0step_b\u00a0\u2192\u00a0step_c\u00a0\u2192\u00a0END\n<\/code><\/pre>\n<p style=\"margin-top: 12px; margin-bottom: 12px; color: #333333; text-indent: 0px; padding-left: 0px;\">\u4e0a\u4e00\u6b65\u8f93\u51fa\u5199\u5165 State\uff0c\u4e0b\u4e00\u6b65\u63a5\u7740\u7528\u3002\u9002\u5408\u4f60<strong style=\"color: #333333; font-weight: bold;\">\u660e\u786e\u77e5\u9053<\/strong>\u6b65\u9aa4\u987a\u5e8f\u3001\u4e0d\u60f3\u8ba9\u6a21\u578b\u4e71\u8df3\u3002<\/p>\n<p style=\"margin-top: 12px; margin-bottom: 12px; color: #333333; text-indent: 0px; padding-left: 0px;\"><code style=\"font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; background-color: #fff4e6; color: #d9480f; border-radius: 2px; font-size: 14px; padding: 2px 5px; word-break: break-word;\">normalize \u2192 shout<\/code> \u5c31\u662f\u65e0 LLM \u7684\u94fe\u5f0f\u9aa8\u67b6\uff1b\u5e26\u6a21\u578b\u65f6\u5e38\u89c1\u300c\u8d77\u8349 \u2192 \u6da6\u8272 \u2192 \u5408\u89c4\u68c0\u67e5\u300d\u3002<\/p>\n<table style=\"display: inline-block !important; width: auto; max-width: 100%; overflow: auto; border-spacing: 0px; border-collapse: collapse; margin: 1rem 0px;\">\n<thead style=\"background: #fff9eb; color: #333333; text-align: left;\">\n<tr>\n<th style=\"font-size: 0.75em; padding: 10px 12px; line-height: 1.6; border: 1px solid #f5e6c8;\">\u9002\u5408<\/th>\n<th style=\"font-size: 0.75em; padding: 10px 12px; line-height: 1.6; border: 1px solid #f5e6c8;\">\u4e0d\u9002\u5408<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"font-size: 0.75em; padding: 10px 12px; line-height: 1.6; border: 1px solid #f5e6c8; min-width: 100px;\">\u5f3a\u987a\u5e8f\u4f9d\u8d56\u3001\u8981\u53ef\u6d4b<\/td>\n<td style=\"font-size: 0.75em; padding: 10px 12px; line-height: 1.6; border: 1px solid #f5e6c8; min-width: 100px;\">\u5206\u652f\u591a\u3001\u6b65\u9aa4\u6570\u968f\u8f93\u5165\u53d8\u5316<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr style=\"border-width: 1px medium medium; border-style: solid none none; border-color: #f0e6d0 currentcolor currentcolor; margin: 24px 0px;\" \/>\n<h2 style=\"display: inline-block; position: relative; font-weight: bold; color: #333333; line-height: 1.5; margin-top: 32px; margin-bottom: 16px; padding: 0px 6px 2px; text-align: left; background: linear-gradient(to top, #f8b43f 42%, transparent 42%); box-decoration-break: clone; -webkit-box-decoration-break: clone; font-size: 17px; border: medium none currentcolor;\"><span style=\"color: #333333; font-weight: bold;\">2. Parallelization\uff1a\u5e76\u884c\u518d\u6c47\u805a<\/span><\/h2>\n<section style=\"display: block; background-repeat: no-repeat; width: 100%; height: 16px;\"><\/section>\n<pre style=\"tab-size: 2; font-size: 12px; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; overflow: auto hidden; max-width: 100%; box-sizing: border-box; position: relative; line-height: 1.5; border-radius: 4px; margin: 16px 0px; padding: 0.5em; white-space: pre; word-break: normal; overflow-wrap: normal; background: #002b36;\"><code class=\"hljs\" style=\"tab-size: 2; font-size: 12px; font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; display: block; overflow: auto hidden; max-width: 100%; box-sizing: border-box; margin: 0.5em; padding: 3px 5px; white-space: nowrap; word-break: normal; overflow-wrap: normal; color: #93a1a1; background: #002b36;\">\u00a0\u00a0\u00a0\u00a0\u250c\u2192\u00a0worker_a\u00a0\u2500\u2510\nSTART\u00a0\u2192\u00a0\u253c\u2192\u00a0worker_b\u00a0\u2500\u253c\u2192\u00a0aggregate\u00a0\u2192\u00a0END\n\u00a0\u00a0\u00a0\u00a0\u2514\u2192\u00a0worker_c\u00a0\u2500\u2518\n<\/code><\/pre>\n<p style=\"margin-top: 12px; margin-bottom: 12px; color: #333333; text-indent: 0px; padding-left: 0px;\">\u591a\u8282\u70b9\u540c\u65f6\u5e72\u72ec\u7acb\u6d3b\uff08\u591a\u6a21\u578b\u6295\u7968\u3001\u591a\u6587\u6863\u5207\u7247\uff09\uff0c\u4e0b\u6e38 <strong style=\"color: #333333; font-weight: bold;\">aggregate<\/strong> \u5408\u5e76\u3002LangGraph \u7528\u6247\u51fa\u8fb9 + \u5e26 reducer \u7684 State \u952e\uff08\u5982 <code style=\"font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; background-color: #fff4e6; color: #d9480f; border-radius: 2px; font-size: 14px; padding: 2px 5px; word-break: break-word;\">Annotated[list, add]<\/code>\uff09\u6536\u7ed3\u679c\u3002<\/p>\n<p style=\"margin-top: 12px; margin-bottom: 12px; color: #333333; text-indent: 0px; padding-left: 0px;\">\u672c\u8bfe\u76ee\u5f55\u5c1a\u5f85\u5efa\uff1a<code style=\"font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; background-color: #fff4e6; color: #d9480f; border-radius: 2px; font-size: 14px; padding: 2px 5px; word-break: break-word;\">course-langgraph<\/code> \u5927\u7eb2\u6807\u4e86 <code style=\"font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; background-color: #fff4e6; color: #d9480f; border-radius: 2px; font-size: 14px; padding: 2px 5px; word-break: break-word;\">patterns\/parallelization\/<\/code>\u3002\u9009\u578b\u53e3\u8bc0\uff1a<strong style=\"color: #333333; font-weight: bold;\">\u5b50\u4efb\u52a1\u4e92\u4e0d\u4f9d\u8d56\u624d\u5e76\u884c<\/strong>\uff1b\u6709\u5148\u540e\u4f9d\u8d56\u5c31\u9000\u56de Chaining\u3002<\/p>\n<hr style=\"border-width: 1px medium medium; border-style: solid none none; border-color: #f0e6d0 currentcolor currentcolor; margin: 24px 0px;\" \/>\n<h2 style=\"display: inline-block; position: relative; font-weight: bold; color: #333333; line-height: 1.5; margin-top: 32px; margin-bottom: 16px; padding: 0px 6px 2px; text-align: left; background: linear-gradient(to top, #f8b43f 42%, transparent 42%); box-decoration-break: clone; -webkit-box-decoration-break: clone; font-size: 17px; border: medium none currentcolor;\"><span style=\"color: #333333; font-weight: bold;\">3. Routing\uff1a\u5206\u7c7b\u540e\u8d70\u652f\u8def\uff08\u4ed3\u5e93\u6709\u7801\uff09<\/span><\/h2>\n<section style=\"display: block; background-repeat: no-repeat; width: 100%; height: 16px;\"><\/section>\n<pre style=\"tab-size: 2; font-size: 12px; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; overflow: auto hidden; max-width: 100%; box-sizing: border-box; position: relative; line-height: 1.5; border-radius: 4px; margin: 16px 0px; padding: 0.5em; white-space: pre; word-break: normal; overflow-wrap: normal; background: #002b36;\"><code class=\"hljs\" style=\"tab-size: 2; font-size: 12px; font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; display: block; overflow: auto hidden; max-width: 100%; box-sizing: border-box; margin: 0.5em; padding: 3px 5px; white-space: nowrap; word-break: normal; overflow-wrap: normal; color: #93a1a1; background: #002b36;\">START\u00a0\u2192\u00a0classify\u00a0\u252c\u2500\u00a0weather\u00a0\u2192\u00a0END\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u251c\u2500\u00a0policy\u00a0\u00a0\u2192\u00a0END\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u2514\u2500\u00a0chitchat\u00a0\u2192\u00a0END\n<\/code><\/pre>\n<section style=\"display: block; background-repeat: no-repeat; width: 100%; height: 16px;\"><\/section>\n<pre style=\"tab-size: 2; font-size: 12px; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; overflow: auto hidden; max-width: 100%; box-sizing: border-box; position: relative; line-height: 1.5; border-radius: 4px; margin: 16px 0px; padding: 0.5em; white-space: pre; word-break: normal; overflow-wrap: normal; background: #002b36;\"><code class=\"hljs language-python\" style=\"tab-size: 2; font-size: 12px; font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; display: block; overflow: auto hidden; max-width: 100%; box-sizing: border-box; margin: 0.5em; padding: 3px 5px; white-space: nowrap; word-break: normal; overflow-wrap: normal; color: #93a1a1; background: #002b36;\">g.add_conditional_edges(\n\u00a0\u00a0<span class=\"hljs-string\" style=\"color: #859900;\">\"classify\"<\/span>,\n\u00a0\u00a0pick_branch,\n\u00a0\u00a0{<span class=\"hljs-string\" style=\"color: #859900;\">\"weather\"<\/span>:\u00a0<span class=\"hljs-string\" style=\"color: #859900;\">\"weather\"<\/span>,\u00a0<span class=\"hljs-string\" style=\"color: #859900;\">\"policy\"<\/span>:\u00a0<span class=\"hljs-string\" style=\"color: #859900;\">\"policy\"<\/span>,\u00a0<span class=\"hljs-string\" style=\"color: #859900;\">\"chitchat\"<\/span>:\u00a0<span class=\"hljs-string\" style=\"color: #859900;\">\"chitchat\"<\/span>},\n)\n<\/code><\/pre>\n<table style=\"display: inline-block !important; width: auto; max-width: 100%; overflow: auto; border-spacing: 0px; border-collapse: collapse; margin: 1rem 0px;\">\n<thead style=\"background: #fff9eb; color: #333333; text-align: left;\">\n<tr>\n<th style=\"font-size: 0.75em; padding: 10px 12px; line-height: 1.6; border: 1px solid #f5e6c8;\">\u8def\u7531\u65b9\u5f0f<\/th>\n<th style=\"font-size: 0.75em; padding: 10px 12px; line-height: 1.6; border: 1px solid #f5e6c8;\">\u4f18\u70b9<\/th>\n<th style=\"font-size: 0.75em; padding: 10px 12px; line-height: 1.6; border: 1px solid #f5e6c8;\">\u4ee3\u4ef7<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"font-size: 0.75em; padding: 10px 12px; line-height: 1.6; border: 1px solid #f5e6c8; min-width: 100px;\">\u5173\u952e\u8bcd\/\u89c4\u5219\uff08Day2\uff09<\/td>\n<td style=\"font-size: 0.75em; padding: 10px 12px; line-height: 1.6; border: 1px solid #f5e6c8; min-width: 100px;\">\u7a33\u3001\u4fbf\u5b9c\u3001\u53ef\u5355\u6d4b<\/td>\n<td style=\"font-size: 0.75em; padding: 10px 12px; line-height: 1.6; border: 1px solid #f5e6c8; min-width: 100px;\">\u8bed\u4e49\u8986\u76d6\u6709\u9650<\/td>\n<\/tr>\n<tr>\n<td style=\"font-size: 0.75em; padding: 10px 12px; line-height: 1.6; border: 1px solid #f5e6c8; min-width: 100px;\">LLM \u7ed3\u6784\u5316\u5206\u7c7b<\/td>\n<td style=\"font-size: 0.75em; padding: 10px 12px; line-height: 1.6; border: 1px solid #f5e6c8; min-width: 100px;\">\u66f4\u61c2\u81ea\u7136\u8bed\u8a00<\/td>\n<td style=\"font-size: 0.75em; padding: 10px 12px; line-height: 1.6; border: 1px solid #f5e6c8; min-width: 100px;\">\u8d35\u3001\u5076\u53d1\u5206\u9519\uff0c\u8981\u9ed8\u8ba4\u652f<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"margin-top: 12px; margin-bottom: 12px; color: #333333; text-indent: 0px; padding-left: 0px;\">\u8001\u5f20\uff1a&#8221;\u5ba2\u670d\u300e\u5236\u5ea6\u8d70\u5236\u5ea6\u652f\u300f\u2014\u2014\u8fd9\u5c31\u662f Routing\uff0c\u4e0d\u662f\u518d\u5199\u4e09\u904d Chaining\u3002&#8221;<\/p>\n<hr style=\"border-width: 1px medium medium; border-style: solid none none; border-color: #f0e6d0 currentcolor currentcolor; margin: 24px 0px;\" \/>\n<h2 style=\"display: inline-block; position: relative; font-weight: bold; color: #333333; line-height: 1.5; margin-top: 32px; margin-bottom: 16px; padding: 0px 6px 2px; text-align: left; background: linear-gradient(to top, #f8b43f 42%, transparent 42%); box-decoration-break: clone; -webkit-box-decoration-break: clone; font-size: 17px; border: medium none currentcolor;\"><span style=\"color: #333333; font-weight: bold;\">4. Orchestrator-Worker\uff1a\u52a8\u6001\u62c6\u6d3e<\/span><\/h2>\n<section style=\"display: block; background-repeat: no-repeat; width: 100%; height: 16px;\"><\/section>\n<pre style=\"tab-size: 2; font-size: 12px; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; overflow: auto hidden; max-width: 100%; box-sizing: border-box; position: relative; line-height: 1.5; border-radius: 4px; margin: 16px 0px; padding: 0.5em; white-space: pre; word-break: normal; overflow-wrap: normal; background: #002b36;\"><code class=\"hljs\" style=\"tab-size: 2; font-size: 12px; font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; display: block; overflow: auto hidden; max-width: 100%; box-sizing: border-box; margin: 0.5em; padding: 3px 5px; white-space: nowrap; word-break: normal; overflow-wrap: normal; color: #93a1a1; background: #002b36;\">START\u00a0\u2192\u00a0orchestrator\u00a0\u2500\u2500Send\u2500\u2500\u25ba\u00a0worker\u00d7N\u00a0\u2500\u2500\u25ba\u00a0synthesize\u00a0\u2192\u00a0END\n<\/code><\/pre>\n<p style=\"margin-top: 12px; margin-bottom: 12px; color: #333333; text-indent: 0px; padding-left: 0px;\">\u7f16\u6392\u8005\u6309\u8f93\u5165<strong style=\"color: #333333; font-weight: bold;\">\u52a8\u6001<\/strong>\u51b3\u5b9a\u8981\u51e0\u4e2a worker\uff08\u7ae0\u8282\u6570\u4e8b\u5148\u672a\u77e5\uff09\uff0c\u5e38\u7528 LangGraph <strong style=\"color: #333333; font-weight: bold;\"><code style=\"font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; background-color: #fff4e6; color: #d9480f; border-radius: 2px; font-size: 14px; padding: 2px 5px; word-break: break-word;\">Send<\/code> API<\/strong> \u505a map-reduce \u5f0f\u6247\u51fa\u3002<\/p>\n<p style=\"margin-top: 12px; margin-bottom: 12px; color: #333333; text-indent: 0px; padding-left: 0px;\">\u4ed3\u5e93\u5bf9\u7167\uff1a<code style=\"font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; background-color: #fff4e6; color: #d9480f; border-radius: 2px; font-size: 14px; padding: 2px 5px; word-break: break-word;\">courseware-langchain\/multi-agent-writing\/<\/code> \u7528 Orchestrator \u4e32 Researcher\u2192Writer\u2192Editor\u2014\u2014<strong style=\"color: #333333; font-weight: bold;\">\u89d2\u8272\u5206\u5de5\u540c\u4e00\u54f2\u5b66<\/strong>\uff0c\u5b9e\u73b0\u662f\u987a\u5e8f\u8c03\u5ea6\u800c\u975e\u56fe\u4e0a <code style=\"font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; background-color: #fff4e6; color: #d9480f; border-radius: 2px; font-size: 14px; padding: 2px 5px; word-break: break-word;\">Send<\/code>\u3002\u56fe\u7248\u5f85\u5efa <code style=\"font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; background-color: #fff4e6; color: #d9480f; border-radius: 2px; font-size: 14px; padding: 2px 5px; word-break: break-word;\">day3d-orchestrator-send\/<\/code>\u3002<\/p>\n<p style=\"margin-top: 12px; margin-bottom: 12px; color: #333333; text-indent: 0px; padding-left: 0px;\">\u5c0f\u660e\uff1a&#8221;\u548c Parallelization \u5565\u533a\u522b\uff1f&#8221;<\/p>\n<p style=\"margin-top: 12px; margin-bottom: 12px; color: #333333; text-indent: 0px; padding-left: 0px;\">&#8220;\u5e76\u884c\uff1a\u5de5\u4eba\u6570\u91cf\u548c\u8fb9<strong style=\"color: #333333; font-weight: bold;\">\u9884\u5148\u753b\u6b7b<\/strong>\u3002Orchestrator-Worker\uff1a\u5de5\u4eba\u6570\u91cf<strong style=\"color: #333333; font-weight: bold;\">\u8fd0\u884c\u65f6<\/strong>\u624d\u5b9a\u3002&#8221;<\/p>\n<hr style=\"border-width: 1px medium medium; border-style: solid none none; border-color: #f0e6d0 currentcolor currentcolor; margin: 24px 0px;\" \/>\n<h2 style=\"display: inline-block; position: relative; font-weight: bold; color: #333333; line-height: 1.5; margin-top: 32px; margin-bottom: 16px; padding: 0px 6px 2px; text-align: left; background: linear-gradient(to top, #f8b43f 42%, transparent 42%); box-decoration-break: clone; -webkit-box-decoration-break: clone; font-size: 17px; border: medium none currentcolor;\"><span style=\"color: #333333; font-weight: bold;\">5. Evaluator-Optimizer\uff1a\u751f\u6210\u2014\u8bc4\u4f30\u73af<\/span><\/h2>\n<section style=\"display: block; background-repeat: no-repeat; width: 100%; height: 16px;\"><\/section>\n<pre style=\"tab-size: 2; font-size: 12px; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; overflow: auto hidden; max-width: 100%; box-sizing: border-box; position: relative; line-height: 1.5; border-radius: 4px; margin: 16px 0px; padding: 0.5em; white-space: pre; word-break: normal; overflow-wrap: normal; background: #002b36;\"><code class=\"hljs\" style=\"tab-size: 2; font-size: 12px; font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; display: block; overflow: auto hidden; max-width: 100%; box-sizing: border-box; margin: 0.5em; padding: 3px 5px; white-space: nowrap; word-break: normal; overflow-wrap: normal; color: #93a1a1; background: #002b36;\">START\u00a0\u2192\u00a0generate\u00a0\u2192\u00a0evaluate\u00a0\u252c\u2500\u00a0pass\u00a0\u2192\u00a0END\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u2514\u2500\u00a0fail\uff08\u5e26\u00a0feedback\uff09\u2192\u00a0generate\n<\/code><\/pre>\n<p style=\"margin-top: 12px; margin-bottom: 12px; color: #333333; text-indent: 0px; padding-left: 0px;\">\u4e00\u4e2a\u8282\u70b9\u4ea7\u51fa\uff0c\u4e00\u4e2a\u8282\u70b9\u6253\u5206\uff1b\u4e0d\u8fbe\u6807\u5c31\u628a\u610f\u89c1\u5199\u56de State\uff0c\u518d\u751f\u6210\u3002\u9002\u5408\u300c\u6ca1\u6709\u4e00\u6b21\u6210\u578b\u300d\u7684\u8d28\u91cf\u95e8\uff08\u6587\u6848\u3001\u7ffb\u8bd1\u3001\u4ee3\u7801\u8865\u4e01\uff09\u3002<\/p>\n<p style=\"margin-top: 12px; margin-bottom: 12px; color: #333333; text-indent: 0px; padding-left: 0px;\">\u5f85\u5efa\uff1a<code style=\"font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; background-color: #fff4e6; color: #d9480f; border-radius: 2px; font-size: 14px; padding: 2px 5px; word-break: break-word;\">patterns\/evaluator-optimizer\/<\/code>\u3002\u6ce8\u610f\u52a0<strong style=\"color: #333333; font-weight: bold;\">\u6700\u5927\u8f6e\u6b21<\/strong>\uff0c\u907f\u514d\u65e0\u9650\u5faa\u73af\u70e7\u94b1\u3002<\/p>\n<hr style=\"border-width: 1px medium medium; border-style: solid none none; border-color: #f0e6d0 currentcolor currentcolor; margin: 24px 0px;\" \/>\n<h2 style=\"display: inline-block; position: relative; font-weight: bold; color: #333333; line-height: 1.5; margin-top: 32px; margin-bottom: 16px; padding: 0px 6px 2px; text-align: left; background: linear-gradient(to top, #f8b43f 42%, transparent 42%); box-decoration-break: clone; -webkit-box-decoration-break: clone; font-size: 17px; border: medium none currentcolor;\"><span style=\"color: #333333; font-weight: bold;\">6. Agent Tool Loop\uff1a\u6a21\u578b\u9009\u5de5\u5177\uff08\u4ed3\u5e93\u6709\u7801\uff09<\/span><\/h2>\n<p style=\"margin-top: 12px; margin-bottom: 12px; color: #333333; text-indent: 0px; padding-left: 0px;\">\u6a21\u5f0f\u540d\u5c31\u53eb Agent \/ Tool Loop\uff1a<\/p>\n<section style=\"display: block; background-repeat: no-repeat; width: 100%; height: 16px;\"><\/section>\n<pre style=\"tab-size: 2; font-size: 12px; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; overflow: auto hidden; max-width: 100%; box-sizing: border-box; position: relative; line-height: 1.5; border-radius: 4px; margin: 16px 0px; padding: 0.5em; white-space: pre; word-break: normal; overflow-wrap: normal; background: #002b36;\"><code class=\"hljs\" style=\"tab-size: 2; font-size: 12px; font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; display: block; overflow: auto hidden; max-width: 100%; box-sizing: border-box; margin: 0.5em; padding: 3px 5px; white-space: nowrap; word-break: normal; overflow-wrap: normal; color: #93a1a1; background: #002b36;\">START\u00a0\u2192\u00a0agent\u00a0\u2500\u2500tool_calls\u2500\u2500\u25ba\u00a0tools\u00a0\u2500\u2510\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u25b2\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u2502\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u00a0loop\u00a0\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u2514\u2500\u00a0\u65e0\u00a0tool_calls\u00a0\u2192\u00a0END\n<\/code><\/pre>\n<section style=\"display: block; background-repeat: no-repeat; width: 100%; height: 16px;\"><\/section>\n<pre style=\"tab-size: 2; font-size: 12px; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; overflow: auto hidden; max-width: 100%; box-sizing: border-box; position: relative; line-height: 1.5; border-radius: 4px; margin: 16px 0px; padding: 0.5em; white-space: pre; word-break: normal; overflow-wrap: normal; background: #002b36;\"><code class=\"hljs language-python\" style=\"tab-size: 2; font-size: 12px; font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; display: block; overflow: auto hidden; max-width: 100%; box-sizing: border-box; margin: 0.5em; padding: 3px 5px; white-space: nowrap; word-break: normal; overflow-wrap: normal; color: #93a1a1; background: #002b36;\">g.add_conditional_edges(<span class=\"hljs-string\" style=\"color: #859900;\">\"agent\"<\/span>,\u00a0should_continue,\u00a0{<span class=\"hljs-string\" style=\"color: #859900;\">\"tools\"<\/span>:\u00a0<span class=\"hljs-string\" style=\"color: #859900;\">\"tools\"<\/span>,\u00a0<span class=\"hljs-string\" style=\"color: #859900;\">\"end\"<\/span>:\u00a0END})\ng.add_edge(<span class=\"hljs-string\" style=\"color: #859900;\">\"tools\"<\/span>,\u00a0<span class=\"hljs-string\" style=\"color: #859900;\">\"agent\"<\/span>)\n<\/code><\/pre>\n<p style=\"margin-top: 12px; margin-bottom: 12px; color: #333333; text-indent: 0px; padding-left: 0px;\">\u8fd9\u662f\u53f3\u4fa7\u300cLLM \u63a7\u6d41\u300d\u7684\u5178\u578b\uff1a\u4e0b\u4e00\u6b65\u8c03\u4e0d\u8c03\u5de5\u5177\uff0c\u7531\u6a21\u578b\u51b3\u5b9a\uff1b\u56fe\u53ea\u4fdd\u8bc1\u300c\u6709 tool_calls \u5fc5\u987b\u8fdb tools\uff0c\u7ed3\u679c\u5fc5\u987b\u56de agent\u300d\u3002\u76f8\u5bf9 <code style=\"font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; background-color: #fff4e6; color: #d9480f; border-radius: 2px; font-size: 14px; padding: 2px 5px; word-break: break-word;\">create_agent<\/code>\uff1a\u5faa\u73af\u53ef\u89c1\uff0c\u6613\u52a0\u9650\u6b65\u3001\u5ba1\u6838\u8282\u70b9\u3002<\/p>\n<hr style=\"border-width: 1px medium medium; border-style: solid none none; border-color: #f0e6d0 currentcolor currentcolor; margin: 24px 0px;\" \/>\n<h2 style=\"display: inline-block; position: relative; font-weight: bold; color: #333333; line-height: 1.5; margin-top: 32px; margin-bottom: 16px; padding: 0px 6px 2px; text-align: left; background: linear-gradient(to top, #f8b43f 42%, transparent 42%); box-decoration-break: clone; -webkit-box-decoration-break: clone; font-size: 17px; border: medium none currentcolor;\"><span style=\"color: #333333; font-weight: bold;\">7. Human-in-the-Loop\uff1a\u505c\u7ed9\u4eba\u5ba1<\/span><\/h2>\n<section style=\"display: block; background-repeat: no-repeat; width: 100%; height: 16px;\"><\/section>\n<pre style=\"tab-size: 2; font-size: 12px; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; overflow: auto hidden; max-width: 100%; box-sizing: border-box; position: relative; line-height: 1.5; border-radius: 4px; margin: 16px 0px; padding: 0.5em; white-space: pre; word-break: normal; overflow-wrap: normal; background: #002b36;\"><code class=\"hljs\" style=\"tab-size: 2; font-size: 12px; font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; display: block; overflow: auto hidden; max-width: 100%; box-sizing: border-box; margin: 0.5em; padding: 3px 5px; white-space: nowrap; word-break: normal; overflow-wrap: normal; color: #93a1a1; background: #002b36;\">\u2026\u00a0\u2192\u00a0risky_action\u00a0\u2500\u2500interrupt\u2500\u2500\u25ba\u00a0\uff08\u4eba\uff1aapprove\/edit\/reject\uff09\u2500\u2500\u25ba\u00a0\u7ee7\u7eed\u6216\u7ed3\u675f\n<\/code><\/pre>\n<p style=\"margin-top: 12px; margin-bottom: 12px; color: #333333; text-indent: 0px; padding-left: 0px;\">\u9ad8\u98ce\u9669\u526f\u4f5c\u7528\uff08\u53d1\u4fe1\u3001\u8f6c\u8d26\u3001\u5220\u6570\u636e\uff09\u524d\u6682\u505c\u3002\u5bf9\u7167\u8bfe\u4ef6\u7528\u7684\u662f LangChain Agent + <code style=\"font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; background-color: #fff4e6; color: #d9480f; border-radius: 2px; font-size: 14px; padding: 2px 5px; word-break: break-word;\">HumanInTheLoopMiddleware<\/code>\uff08\u5e95\u5c42\u4ecd\u8d70 LangGraph interrupt \u80fd\u529b\uff09\uff1a<\/p>\n<section style=\"display: block; background-repeat: no-repeat; width: 100%; height: 16px;\"><\/section>\n<pre style=\"tab-size: 2; font-size: 12px; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; overflow: auto hidden; max-width: 100%; box-sizing: border-box; position: relative; line-height: 1.5; border-radius: 4px; margin: 16px 0px; padding: 0.5em; white-space: pre; word-break: normal; overflow-wrap: normal; background: #002b36;\"><code class=\"hljs language-python\" style=\"tab-size: 2; font-size: 12px; font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; display: block; overflow: auto hidden; max-width: 100%; box-sizing: border-box; margin: 0.5em; padding: 3px 5px; white-space: nowrap; word-break: normal; overflow-wrap: normal; color: #93a1a1; background: #002b36;\">HumanInTheLoopMiddleware(\n\u00a0\u00a0interrupt_on={\n\u00a0\u00a0\u00a0\u00a0<span class=\"hljs-string\" style=\"color: #859900;\">\"send_email\"<\/span>:\u00a0{<span class=\"hljs-string\" style=\"color: #859900;\">\"allowed_decisions\"<\/span>:\u00a0[<span class=\"hljs-string\" style=\"color: #859900;\">\"approve\"<\/span>,\u00a0<span class=\"hljs-string\" style=\"color: #859900;\">\"edit\"<\/span>,\u00a0<span class=\"hljs-string\" style=\"color: #859900;\">\"reject\"<\/span>]},\n\u00a0\u00a0\u00a0\u00a0<span class=\"hljs-string\" style=\"color: #859900;\">\"read_email\"<\/span>:\u00a0<span class=\"hljs-literal\" style=\"color: #cb4b16;\">False<\/span>,\n\u00a0\u00a0}\n)\n<\/code><\/pre>\n<p style=\"margin-top: 12px; margin-bottom: 12px; color: #333333; text-indent: 0px; padding-left: 0px;\">\u81ea\u5efa <code style=\"font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; background-color: #fff4e6; color: #d9480f; border-radius: 2px; font-size: 14px; padding: 2px 5px; word-break: break-word;\">StateGraph<\/code> \u65f6\u7528 <code style=\"font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; background-color: #fff4e6; color: #d9480f; border-radius: 2px; font-size: 14px; padding: 2px 5px; word-break: break-word;\">interrupt()<\/code> + checkpointer + <code style=\"font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; background-color: #fff4e6; color: #d9480f; border-radius: 2px; font-size: 14px; padding: 2px 5px; word-break: break-word;\">Command<\/code> \u6062\u590d\u2014\u2014\u7ec6\u8282\u653e\u5230\u5ba2\u670d\u9879\u76ee\u7bc7\u3002\u4eca\u5929\u8bb0\u4f4f\uff1a<strong style=\"color: #333333; font-weight: bold;\">HITL \u662f\u6a21\u5f0f\uff0c\u4e0d\u662f\u63d2\u4ef6\u5f69\u86cb<\/strong>\u3002<\/p>\n<hr style=\"border-width: 1px medium medium; border-style: solid none none; border-color: #f0e6d0 currentcolor currentcolor; margin: 24px 0px;\" \/>\n<h2 style=\"display: inline-block; position: relative; font-weight: bold; color: #333333; line-height: 1.5; margin-top: 32px; margin-bottom: 16px; padding: 0px 6px 2px; text-align: left; background: linear-gradient(to top, #f8b43f 42%, transparent 42%); box-decoration-break: clone; -webkit-box-decoration-break: clone; font-size: 17px; border: medium none currentcolor;\"><span style=\"color: #333333; font-weight: bold;\">\u7ec4\u5408\u5b9e\u6218\uff1a\u53ef\u63a7 RAG = Chaining + Routing<\/span><\/h2>\n<p style=\"margin-top: 12px; margin-bottom: 12px; color: #333333; text-indent: 0px; padding-left: 0px;\">\u8001\u677f\u8981\u7684\u300c\u6ca1\u547d\u4e2d\u5fc5\u987b\u62d2\u7b54\u300d\uff0c\u4e0d\u662f\u5355\u6a21\u5f0f\u80fd\u6982\u62ec\u2014\u2014\u5b83\u662f <strong style=\"color: #333333; font-weight: bold;\">\u5148\u68c0\u7d22\uff08\u94fe\uff09+ \u6709\u65e0\u547d\u4e2d\u518d\u5206\u6d41\uff08\u8def\u7531\uff09<\/strong>\uff1a<\/p>\n<section style=\"display: block; background-repeat: no-repeat; width: 100%; height: 16px;\"><\/section>\n<pre style=\"tab-size: 2; font-size: 12px; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; overflow: auto hidden; max-width: 100%; box-sizing: border-box; position: relative; line-height: 1.5; border-radius: 4px; margin: 16px 0px; padding: 0.5em; white-space: pre; word-break: normal; overflow-wrap: normal; background: #002b36;\"><code class=\"hljs\" style=\"tab-size: 2; font-size: 12px; font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; display: block; overflow: auto hidden; max-width: 100%; box-sizing: border-box; margin: 0.5em; padding: 3px 5px; white-space: nowrap; word-break: normal; overflow-wrap: normal; color: #93a1a1; background: #002b36;\">START\u00a0\u2192\u00a0retrieve\u00a0\u252c\u2500\u00a0has\u00a0hits\u00a0\u2192\u00a0generate\u00a0\u2192\u00a0END\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u2514\u2500\u00a0no\u00a0hits\u00a0\u00a0\u2192\u00a0refuse\u00a0\u00a0\u00a0\u2192\u00a0END\n<\/code><\/pre>\n<section style=\"display: block; background-repeat: no-repeat; width: 100%; height: 16px;\"><\/section>\n<pre style=\"tab-size: 2; font-size: 12px; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; overflow: auto hidden; max-width: 100%; box-sizing: border-box; position: relative; line-height: 1.5; border-radius: 4px; margin: 16px 0px; padding: 0.5em; white-space: pre; word-break: normal; overflow-wrap: normal; background: #002b36;\"><code class=\"hljs language-python\" style=\"tab-size: 2; font-size: 12px; font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; display: block; overflow: auto hidden; max-width: 100%; box-sizing: border-box; margin: 0.5em; padding: 3px 5px; white-space: nowrap; word-break: normal; overflow-wrap: normal; color: #93a1a1; background: #002b36;\">\ng.add_edge(START,\u00a0<span class=\"hljs-string\" style=\"color: #859900;\">\"retrieve\"<\/span>)\ng.add_conditional_edges(\n\u00a0\u00a0<span class=\"hljs-string\" style=\"color: #859900;\">\"retrieve\"<\/span>,\n\u00a0\u00a0route_after_retrieve,\n\u00a0\u00a0{<span class=\"hljs-string\" style=\"color: #859900;\">\"generate\"<\/span>:\u00a0<span class=\"hljs-string\" style=\"color: #859900;\">\"generate\"<\/span>,\u00a0<span class=\"hljs-string\" style=\"color: #859900;\">\"refuse\"<\/span>:\u00a0<span class=\"hljs-string\" style=\"color: #859900;\">\"refuse\"<\/span>},\n)\n<\/code><\/pre>\n<section style=\"display: block; background-repeat: no-repeat; width: 100%; height: 16px;\"><\/section>\n<pre style=\"tab-size: 2; font-size: 12px; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; overflow: auto hidden; max-width: 100%; box-sizing: border-box; position: relative; line-height: 1.5; border-radius: 4px; margin: 16px 0px; padding: 0.5em; white-space: pre; word-break: normal; overflow-wrap: normal; background: #002b36;\"><code class=\"hljs language-bash\" style=\"tab-size: 2; font-size: 12px; font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; display: block; overflow: auto hidden; max-width: 100%; box-sizing: border-box; margin: 0.5em; padding: 3px 5px; white-space: nowrap; word-break: normal; overflow-wrap: normal; color: #93a1a1; background: #002b36;\">\u00a0main.py\u00a0--demo\n<\/code><\/pre>\n<section style=\"display: block; background-repeat: no-repeat; width: 100%; height: 16px;\"><\/section>\n<pre style=\"tab-size: 2; font-size: 12px; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; overflow: auto hidden; max-width: 100%; box-sizing: border-box; position: relative; line-height: 1.5; border-radius: 4px; margin: 16px 0px; padding: 0.5em; white-space: pre; word-break: normal; overflow-wrap: normal; background: #002b36;\"><code class=\"hljs\" style=\"tab-size: 2; font-size: 12px; font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; display: block; overflow: auto hidden; max-width: 100%; box-sizing: border-box; margin: 0.5em; padding: 3px 5px; white-space: nowrap; word-break: normal; overflow-wrap: normal; color: #93a1a1; background: #002b36;\">Q:\u00a0\u5e74\u5047\u6709\u51e0\u5929\uff1f\u600e\u4e48\u7533\u8bf7\uff1f\n\u00a0hits:\u00a0['leave:\u00a0\u6b63\u5f0f\u5458\u5de5\u5165\u804c\u6ee1\u00a01\u00a0\u5e74\u4eab\u6709\u00a05\u00a0\u5929...']\n\u00a0A:\u00a0\uff08\u57fa\u4e8e\u7247\u6bb5\u751f\u6210\uff09\n\nQ:\u00a0\u516c\u53f8\u53d1\u4e0d\u53d1\u6c34\u679c\u96f6\u98df\uff1f\n\u00a0hits:\u00a0[]\n\u00a0A:\u00a0\u6839\u636e\u73b0\u6709\u8d44\u6599\u65e0\u6cd5\u786e\u5b9a\uff08\u68c0\u7d22\u65e0\u547d\u4e2d\uff09\u3002\n<\/code><\/pre>\n<table style=\"display: inline-block !important; width: auto; max-width: 100%; overflow: auto; border-spacing: 0px; border-collapse: collapse; margin: 1rem 0px;\">\n<thead style=\"background: #fff9eb; color: #333333; text-align: left;\">\n<tr>\n<th style=\"font-size: 0.75em; padding: 10px 12px; line-height: 1.6; border: 1px solid #f5e6c8;\">\u6a21\u5f0f<\/th>\n<th style=\"font-size: 0.75em; padding: 10px 12px; line-height: 1.6; border: 1px solid #f5e6c8;\">\u9002\u5408<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td style=\"font-size: 0.75em; padding: 10px 12px; line-height: 1.6; border: 1px solid #f5e6c8; min-width: 100px;\">Agentic RAG\uff08\u68c0\u7d22\u5f53\u5de5\u5177\uff09<\/td>\n<td style=\"font-size: 0.75em; padding: 10px 12px; line-height: 1.6; border: 1px solid #f5e6c8; min-width: 100px;\">\u591a\u5de5\u5177\u6df7\u6392\uff0c\u6a21\u578b\u51b3\u5b9a\u67e5\u4e0d\u67e5<\/td>\n<\/tr>\n<tr>\n<td style=\"font-size: 0.75em; padding: 10px 12px; line-height: 1.6; border: 1px solid #f5e6c8; min-width: 100px;\">Graph RAG\uff08Day5\uff09<\/td>\n<td style=\"font-size: 0.75em; padding: 10px 12px; line-height: 1.6; border: 1px solid #f5e6c8; min-width: 100px;\">\u5f3a\u5236\u5148\u68c0\u7d22\u3001\u65e0\u547d\u4e2d\u62d2\u7b54\u3001\u8def\u5f84\u53ef\u5ba1\u8ba1<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"margin-top: 12px; margin-bottom: 12px; color: #333333; text-indent: 0px; padding-left: 0px;\">\u8001\u5f20\uff1a&#8221;\u6a21\u5f0f\u53ef\u4ee5<strong style=\"color: #333333; font-weight: bold;\">\u7ec4\u5408<\/strong>\u3002\u70b9\u83dc\u4e0d\u662f\u53ea\u80fd\u70b9\u4e00\u4e2a\u83dc\u3002&#8221;<\/p>\n<hr style=\"border-width: 1px medium medium; border-style: solid none none; border-color: #f0e6d0 currentcolor currentcolor; margin: 24px 0px;\" \/>\n<h2 style=\"display: inline-block; position: relative; font-weight: bold; color: #333333; line-height: 1.5; margin-top: 32px; margin-bottom: 16px; padding: 0px 6px 2px; text-align: left; background: linear-gradient(to top, #f8b43f 42%, transparent 42%); box-decoration-break: clone; -webkit-box-decoration-break: clone; font-size: 17px; border: medium none currentcolor;\"><span style=\"color: #333333; font-weight: bold;\">\u600e\u4e48\u9009\u9898\uff1a\u4e00\u5f20\u51b3\u7b56\u8349\u56fe<\/span><\/h2>\n<section style=\"display: block; background-repeat: no-repeat; width: 100%; height: 16px;\"><\/section>\n<pre style=\"tab-size: 2; font-size: 12px; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; overflow: auto hidden; max-width: 100%; box-sizing: border-box; position: relative; line-height: 1.5; border-radius: 4px; margin: 16px 0px; padding: 0.5em; white-space: pre; word-break: normal; overflow-wrap: normal; background: #002b36;\"><code class=\"hljs\" style=\"tab-size: 2; font-size: 12px; font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; display: block; overflow: auto hidden; max-width: 100%; box-sizing: border-box; margin: 0.5em; padding: 3px 5px; white-space: nowrap; word-break: normal; overflow-wrap: normal; color: #93a1a1; background: #002b36;\">\u6b65\u9aa4\u987a\u5e8f\u56fa\u5b9a\u3001\u51e0\u4e4e\u65e0\u5206\u652f\uff1f\u00a0\u00a0\u00a0\u2192\u00a0Prompt\u00a0Chaining\n\u591a\u8def\u72ec\u7acb\u3001\u8981\u52a0\u901f\uff1f\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u2192\u00a0Parallelization\n\u6309\u7c7b\u578b\u8d70\u4e0d\u540c\u4e13\u5bb6\uff1f\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u2192\u00a0Routing\n\u5b50\u4efb\u52a1\u6570\u91cf\u8981\u5230\u8fd0\u884c\u65f6\u624d\u77e5\u9053\uff1f\u00a0\u00a0\u00a0\u2192\u00a0Orchestrator-Worker\n\u8981\u8d28\u91cf\u95e8\u3001\u53ef\u6253\u56de\u91cd\u505a\uff1f\u00a0\u00a0\u00a0\u00a0\u00a0\u2192\u00a0Evaluator-Optimizer\n\u5f00\u653e\u4efb\u52a1\u3001\u4e3b\u8981\u662f\u9009\u5de5\u5177\uff1f\u00a0\u00a0\u00a0\u00a0\u00a0\u2192\u00a0Agent\u00a0Tool\u00a0Loop\n\u6709\u4e0d\u53ef\u9006\u526f\u4f5c\u7528\uff1f\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u2192\u00a0\u52a0\u4e0a\u00a0HITL\n\u8981\u5f3a\u5236\u68c0\u7d22\/\u62d2\u7b54\uff1f\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u2192\u00a0Chaining\u00a0+\u00a0Routing\uff08Day5\uff09\n<\/code><\/pre>\n<p style=\"margin-top: 12px; margin-bottom: 12px; color: #333333; text-indent: 0px; padding-left: 0px;\">\u9a8c\u6536\u5efa\u8bae\uff1a\u5728\u7eb8\u4e0a\u753b\u51fa <strong style=\"color: #333333; font-weight: bold;\">Routing<\/strong> \u4e0e <strong style=\"color: #333333; font-weight: bold;\">Tool Loop<\/strong> \u4e24\u5f20\u62d3\u6251\uff08\u5927\u7eb2\u4e2d\u671f\u8003\u6838\u4e5f\u76ef\u8fd9\u4e24\u5f20\uff09\u3002<\/p>\n<hr style=\"border-width: 1px medium medium; border-style: solid none none; border-color: #f0e6d0 currentcolor currentcolor; margin: 24px 0px;\" \/>\n<h2 style=\"display: inline-block; position: relative; font-weight: bold; color: #333333; line-height: 1.5; margin-top: 32px; margin-bottom: 16px; padding: 0px 6px 2px; text-align: left; background: linear-gradient(to top, #f8b43f 42%, transparent 42%); box-decoration-break: clone; -webkit-box-decoration-break: clone; font-size: 17px; border: medium none currentcolor;\"><span style=\"color: #333333; font-weight: bold;\">\u603b\u7ed3<\/span><\/h2>\n<p style=\"margin-top: 12px; margin-bottom: 12px; color: #333333; text-indent: 0px; padding-left: 0px;\">\u8001\u5f20\u8bf4\uff1a&#8221;\u7b2c 03 \u7bc7\u4e0d\u8981\u6c42\u4f60\u628a\u4e03\u79cd\u90fd\u5199\u6ee1\u4ee3\u7801\u2014\u2014\u8981\u6c42\u4f60<strong style=\"color: #333333; font-weight: bold;\">\u80fd\u70b9\u540d\u3001\u80fd\u753b\u4e24\u5f20\u56fe\u3001\u80fd\u6307\u8ba4\u4ed3\u5e93\u951a\u70b9<\/strong>\u3002&#8221;<\/p>\n<p style=\"margin-top: 12px; margin-bottom: 12px; color: #333333; text-indent: 0px; padding-left: 0px;\">&#8220;\u4e09\u4e2a\u6838\u5fc3\u7406\u89e3\uff1a<\/p>\n<ol style=\"margin: 8px 0px; padding-left: 28px; list-style: outside decimal;\">\n<li style=\"margin-bottom: 8px; padding-left: 0px; text-indent: 0px; color: #333333; list-style: inherit;\">\n<section><strong style=\"color: #333333; font-weight: bold;\">\u4e24\u62e8\u54f2\u5b66<\/strong> \u2014\u2014 \u9884\u5b9a\u4e49\u6d41\u7a0b\u5d4c LLM\uff08\u7a33\uff09vs LLM\/\u4eba\u53c2\u4e0e\u63a7\u6d41\uff08\u667a\u80fd\uff09<\/section>\n<\/li>\n<li style=\"margin-bottom: 8px; padding-left: 0px; text-indent: 0px; color: #333333; list-style: inherit;\">\n<section><strong style=\"color: #333333; font-weight: bold;\">\u4e03\u79cd\u83dc\u8c31<\/strong> \u2014\u2014 Chaining \/ Parallel \/ Routing \/ Orchestrator-Worker \/ Evaluator-Optimizer \/ Tool Loop \/ HITL<\/section>\n<\/li>\n<li style=\"margin-bottom: 8px; padding-left: 0px; text-indent: 0px; color: #333333; list-style: inherit;\">\n<section><strong style=\"color: #333333; font-weight: bold;\">\u53ef\u7ec4\u5408<\/strong> \u2014\u2014 RAG = Chaining + Routing\uff1b\u751f\u4ea7\u5e38\u662f Graph \u5916\u58f3\u62fc\u591a\u79cd\u6a21\u5f0f&#8221;<\/section>\n<\/li>\n<\/ol>\n<p style=\"margin-top: 12px; margin-bottom: 12px; color: #333333; text-indent: 0px; padding-left: 0px;\">LangGraph \u4e13\u9898\u8fdb\u5ea6\uff1a<\/p>\n<section style=\"display: block; background-repeat: no-repeat; width: 100%; height: 16px;\"><\/section>\n<pre style=\"tab-size: 2; font-size: 12px; font-family: Menlo, Monaco, Consolas, 'Courier New', monospace; overflow: auto hidden; max-width: 100%; box-sizing: border-box; position: relative; line-height: 1.5; border-radius: 4px; margin: 16px 0px; padding: 0.5em; white-space: pre; word-break: normal; overflow-wrap: normal; background: #002b36;\"><code class=\"hljs\" style=\"tab-size: 2; font-size: 12px; font-family: Menlo, Monaco, Consolas, 'Liberation Mono', 'Roboto Mono', 'Courier New', 'Microsoft YaHei', monospace; display: block; overflow: auto hidden; max-width: 100%; box-sizing: border-box; margin: 0.5em; padding: 3px 5px; white-space: nowrap; word-break: normal; overflow-wrap: normal; color: #93a1a1; background: #002b36;\">01\u00a0\u4ecb\u7ecd\u00a0\u2192\u00a002\u00a0\u4e09\u8981\u7d20\uff08Day1\u20134\uff09\n\u00a0\u00a0\u00a0\u00a0\u2193\n03\u00a0\u5e38\u89c1\u00a0WorkFlow\uff08\u672c\u7bc7\uff09\n\u00a0\u00a0\u00a0\u00a0\u2193\n04\u00a0\u5ba2\u6237\u652f\u6301\u00a0Email\u00a0Agent\uff08Think\u00a0in\u00a0LangGraph\uff09\n<\/code><\/pre>\n<p style=\"margin-top: 12px; margin-bottom: 12px; color: #333333; text-indent: 0px; padding-left: 0px;\">\u5c0f\u660e\uff1a&#8221;\u4e03\u6a21\u5f0f\u8868\u6211\u9489\u5899\u4e0a\u4e86\u3002\u4e0b\u7bc7\u7528\u5ba2\u670d\u90ae\u4ef6\u628a Routing\u3001\u68c0\u7d22\u3001HITL \u4e32\u6210\u4e00\u5f20\u4e1a\u52a1\u56fe\u3002&#8221;<\/p>\n<blockquote style=\"color: #555555; background-color: #fff9eb; background-image: none; padding: 16px 20px; margin: 20px 0px; border-width: 0px 0px 0px 4px; border-style: none none none solid; border-color: currentcolor currentcolor currentcolor #f8b43f; border-radius: 6px; font-style: normal; quotes: none;\">\n<p style=\"margin: 0.55em 0px; color: #555555; text-indent: 0px; padding: 0px; line-height: 1.75; font-style: normal; background: transparent;\"><strong style=\"color: #333333; font-weight: bold;\">\u522b\u4ece\u96f6\u53d1\u660e\u62d3\u6251\u3002\u5148\u70b9\u540d\u6a21\u5f0f\uff0c\u518d\u7ec4\u5408\uff1b\u56fe\u662f\u83dc\u8c31\u7684\u76db\u5668\uff0c\u4e0d\u662f\u6bcf\u4e00\u9053\u83dc\u90fd\u8981\u91cd\u65b0\u5f00\u7076\u3002<\/strong><\/p>\n<\/blockquote>\n<\/section>\n","protected":false},"excerpt":{"rendered":"<p>\u4e0a\u7bc7\u4f60\u8dd1\u901a\u4e86 State \/ Node \/ Edge \u3002\u8fd9\u7bc7\u662f LangGraph \u4e13\u9898\u7b2c 03 \u7bc7\u2014\u2014\u628a\u300c\u4f1a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":3925,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[163,165],"tags":[167,168,170,210],"_links":{"self":[{"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/posts\/3924"}],"collection":[{"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3924"}],"version-history":[{"count":1,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/posts\/3924\/revisions"}],"predecessor-version":[{"id":3926,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/posts\/3924\/revisions\/3926"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=\/wp\/v2\/media\/3925"}],"wp:attachment":[{"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3924"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3924"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ai.zhousir.top\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3924"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}