{"id":2064,"date":"2025-11-18T22:02:05","date_gmt":"2025-11-18T14:02:05","guid":{"rendered":"http:\/\/www.applicationsofllm.com\/?p=2064"},"modified":"2025-11-18T22:02:05","modified_gmt":"2025-11-18T14:02:05","slug":"%e5%90%8erag%e6%97%b6%e4%bb%a3%e5%b7%b2%e8%87%b3%ef%bc%8csag%e4%b8%ba%e4%bd%95%e8%83%bd%e6%88%90%e4%b8%bazleap%e9%87%8d%e6%96%b0%e5%ae%9a%e4%b9%89ai%e6%90%9c%e7%b4%a2%e7%9a%84%e7%ad%94%e6%a1%88","status":"publish","type":"post","link":"http:\/\/www.applicationsofllm.com\/index.php\/2025\/11\/18\/%e5%90%8erag%e6%97%b6%e4%bb%a3%e5%b7%b2%e8%87%b3%ef%bc%8csag%e4%b8%ba%e4%bd%95%e8%83%bd%e6%88%90%e4%b8%bazleap%e9%87%8d%e6%96%b0%e5%ae%9a%e4%b9%89ai%e6%90%9c%e7%b4%a2%e7%9a%84%e7%ad%94%e6%a1%88\/","title":{"rendered":"\u540eRAG\u65f6\u4ee3\u5df2\u81f3\uff0cSAG\u4e3a\u4f55\u80fd\u6210\u4e3aZLEAP\u91cd\u65b0\u5b9a\u4e49AI\u641c\u7d22\u7684\u7b54\u6848\uff1f"},"content":{"rendered":"\n<p>\u6b64\u524d\u5728\u62a5\u9053\u4e2d\uff0c\u6211\u66fe\u7c97\u7565\u4ecb\u7ecd\u8fc7Zleap\u4ea7\u54c1\u80cc\u540e\u7684\u6280\u672f\uff1a\u4e00\u4e2a\u80fd\u5e2e\u52a9CEO\u81ea\u52a8\u6574\u7406\u3001\u603b\u7ed3\u6d77\u91cf\u4f01\u4e1a\u5185\u90e8\u4fe1\u606f\u7684\u667a\u80fdAgent\u3002\u4eca\u5929\uff0c\u6211\u8981\u6b63\u5f0f\u4e3a\u5927\u5bb6\u4ecb\u7ecd\u9a71\u52a8\u8fd9\u4e2aAgent\u7684\u5e95\u5c42\u6280\u672f\uff1a<strong>SAG<\/strong>\u3002<\/p>\n\n\n\n<p>\u8fd9\u4e2a\u4ea7\u54c1\u53d1\u5e03\u540e\u83b7\u5f97\u4e86\u4e0d\u5c11\u5173\u6ce8\u3002\u4f46\u6700\u8fd1\uff0c\u5728\u4e0e\u591a\u4f4d\u670b\u53cb\u3001\u5ba2\u6237\u548c\u6295\u8d44\u4eba\u4ea4\u6d41\u7684\u8fc7\u7a0b\u4e2d\uff0c\u6211\u6709\u4e86\u65b0\u7684\u8ba4\u77e5\uff1aSAG\u7684\u6f5c\u529b\u8fdc\u4e0d\u6b62\u670d\u52a1\u4e8e\u7ba1\u7406\u8005\u7684Agent\u4e00\u4f53\u673a\uff0c\u5b83\u53ef\u4ee5\u6210\u4e3a\u4f01\u4e1a\u3001\u4e2a\u4eba\u4e43\u81f3\u6574\u4e2aAgent\u9886\u57df\u7684\u5e95\u5c42\u6280\u672f\u652f\u6491\uff0c\u63a8\u52a8AI\u884c\u4e1a\u5411\u524d\u8fc8\u8fdb\u4e00\u5c0f\u6b65\u3002<\/p>\n\n\n\n<p>\u6240\u4ee5\u6211\u4eca\u5929\u5c31\u548c\u5927\u5bb6\u8be6\u7ec6\u8bb2\u89e3\u4e00\u4e0b\uff0cSAG\u80cc\u540e\u7684<strong>\u6280\u672f\u539f\u7406<\/strong>\u548c<strong>\u5e94\u7528\u65b9\u5411<\/strong>\u3002<\/p>\n\n\n\n<p><strong>SQL\u9a71\u52a8<\/strong><\/p>\n\n\n\n<p>SAG\u7684\u5168\u79f0\u662fSQL-Retrieval Augmented Generation\uff0c\u5373\u68c0\u7d22\u90e8\u5206\u4e3b\u8981\u7531<strong>SQL\u9a71\u52a8<\/strong>\u3002<\/p>\n\n\n\n<p>\u4f20\u7edfRAG\u662f<strong>\u5411\u91cf\u9a71\u52a8<\/strong>\u7684\uff1a\u5c06\u95ee\u9898\u8f6c\u5316\u4e3a\u5411\u91cf\uff0c\u5728\u539f\u6587\u7684\u5411\u91cf\u7a7a\u95f4\u4e2d\u6a21\u7cca\u5339\u914d\u8bed\u4e49\uff0c\u627e\u5230\u76f8\u4f3c\u5ea6\u8f83\u9ad8\u7684\u5206\u5757\uff0c\u6700\u540e\u4f20\u7ed9LLM\u56de\u7b54\u3002\u8fd9\u4e2a\u65b9\u6848\u9ad8\u6548\uff0c\u4f46\u7f3a\u70b9\u660e\u663e\u2014\u2014\u8fc7\u4e8e\u4f9d\u8d56\u539f\u6587\u76f8\u4f3c\u5ea6\uff0c\u65e0\u6cd5\u8fdb\u884c\u6df1\u5ea6\u68c0\u7d22\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"830\" height=\"312\" src=\"http:\/\/www.applicationsofllm.com\/wp-content\/uploads\/2025\/11\/image.png\" alt=\"\" class=\"wp-image-2065\" srcset=\"http:\/\/www.applicationsofllm.com\/wp-content\/uploads\/2025\/11\/image.png 830w, http:\/\/www.applicationsofllm.com\/wp-content\/uploads\/2025\/11\/image-300x113.png 300w, http:\/\/www.applicationsofllm.com\/wp-content\/uploads\/2025\/11\/image-768x289.png 768w\" sizes=\"auto, (max-width: 830px) 100vw, 830px\" \/><\/figure>\n\n\n\n<p>\u540e\u6765\u51fa\u73b0\u4e86GraphRAG\uff0c<strong>\u57fa\u4e8e\u77e5\u8bc6\u56fe\u8c31<\/strong>\u7684\u68c0\u7d22\u3002\u5176\u539f\u7406\u662f\u5148\u7528LLM\u5206\u6790\u539f\u6587\uff0c\u751f\u6210\u5b9e\u4f53\u548c\u5173\u7cfb\uff0c\u518d\u8fdb\u884c\u68c0\u7d22\u3002\u672c\u8d28\u4e0a\u662f\u8ba9LLM\u5bf9\u539f\u6587\u8fdb\u884c\u6df1\u5ea6\u5206\u6790\u548c\u63d0\u53d6\uff0c\u521b\u9020\u4e86\u4e00\u4e2a\u4e2d\u95f4\u5c42\uff0c\u901a\u8fc7\u77e5\u8bc6\u56fe\u8c31\u5c06\u95ee\u9898\u548c\u7b54\u6848\u5173\u8054\u8d77\u6765\u3002\u8fd9\u4e2a\u65b9\u6cd5\u6548\u679c\u4e0d\u9519\uff0c\u4f46\u7f3a\u70b9\u4e5f\u5f88\u660e\u663e\uff1a\u901f\u5ea6\u6162\u3001\u6210\u672c\u9ad8\uff0c\u4e14\u589e\u91cf\u6570\u636e\u9700\u8981\u91cd\u65b0\u751f\u6210\u56fe\u8c31\u3002<\/p>\n\n\n\n<p>\u6211\u4eec\u7684SAG\u5728\u4f20\u7edfRAG\u548cGraphRAG\u7684\u57fa\u7840\u4e0a\u66f4\u8fdb\u4e00\u6b65\u3002\u5b83\u7ed3\u5408\u4e86SQL\u7684\u7cbe\u51c6\u68c0\u7d22\u548c\u5411\u91cf\u7684\u6a21\u7cca\u5339\u914d\u80fd\u529b\uff0c\u5728\u68c0\u7d22\u8fc7\u7a0b\u4e2d\u5b9e\u65f6\u6784\u5efa\u6570\u636e\u5173\u7cfb\uff0c\u6253\u7834\u4e86RAG\u9886\u57df\u7684\u201d\u4e0d\u53ef\u80fd\u4e09\u89d2\u201d\u2014\u2014\u540c\u65f6\u5b9e\u73b0<strong>\u5feb\u3001\u51c6\u3001\u5168<\/strong>\u3002<\/p>\n\n\n\n<p><strong>\u81ea\u7136\u8bed\u8a00\u5411\u91cf<\/strong><\/p>\n\n\n\n<p>SAG\u7684\u4e00\u4e2a\u91cd\u8981\u73af\u8282\u662f\u6700\u521d\u7684<strong>\u6570\u636e\u5904\u7406<\/strong>\u3002<\/p>\n\n\n\n<p>\u4e0eGraphRAG\u7c7b\u4f3c\uff0cSAG\u4e5f\u4f1a\u521b\u5efa\u4e00\u4e2a\u4e2d\u95f4\u5c42\uff0c\u6211\u79f0\u4e4b\u4e3a\u201d<strong>\u4e8b\u4ef6<\/strong>\u201c\u3002\u5176\u6838\u5fc3\u662f\u5c06\u7e41\u6742\u7684\u4fe1\u606f\u63d0\u70bc\u4e3a\u4e00\u4e2a\u4e2a\u539f\u5b50\u5316\u7684\u4e8b\u4ef6\uff0c\u7c7b\u4f3c\u4eba\u8111\u5c06\u4e00\u4e2a\u590d\u6742\u7684\u4e8b\u62c6\u89e3\u6210\u591a\u4e2a\u7b80\u5355\u7684\u4e8b\u3002<\/p>\n\n\n\n<p>\u4f46\u4e0eGraphRAG\u4e0d\u540c\u7684\u662f\uff0cSAG\u4e0d\u4f1a\u5728\u6570\u636e\u5904\u7406\u65f6\u5c31\u751f\u6210\u4e8b\u4ef6\u4e4b\u95f4\u7684\u5173\u8054\uff0c\u800c\u662f\u5728\u67e5\u8be2\u65f6\u5b9e\u65f6\u8ba1\u7b97\u4e8b\u4ef6\u5173\u7cfb\uff0c\u4ece\u800c\u89e3\u51b3\u4e86\u589e\u91cf\u6570\u636e\u66f4\u65b0\u7684\u95ee\u9898\u3002<\/p>\n\n\n\n<p>\u90a3\u4e48\u5982\u4f55\u5c06\u4e0d\u540c\u4e8b\u4ef6\u5173\u8054\u8d77\u6765\uff0c\u6b63\u662fSAG\u7684\u6838\u5fc3\u6240\u5728\u3002\u80cc\u540e\u7684\u5965\u79d8\u662f\uff1a\u5728\u6570\u636e\u5904\u7406\u9636\u6bb5\uff0cSAG\u4e0d\u4ec5\u53ea\u662f\u63d0\u53d6\u4e8b\u4ef6\uff0c\u8fd8\u4f1a\u4e3a\u6bcf\u4e2a\u4e8b\u4ef6\u63d0\u53d6\u591a\u7ef4\u5ea6\u7684<strong>\u5c5e\u6027<\/strong>\uff0c\u6211\u79f0\u4e4b\u4e3a\u201d<strong>\u81ea\u7136\u8bed\u8a00\u5411\u91cf<\/strong>\u201c\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"831\" height=\"599\" src=\"http:\/\/www.applicationsofllm.com\/wp-content\/uploads\/2025\/11\/image-3.png\" alt=\"\" class=\"wp-image-2069\" srcset=\"http:\/\/www.applicationsofllm.com\/wp-content\/uploads\/2025\/11\/image-3.png 831w, http:\/\/www.applicationsofllm.com\/wp-content\/uploads\/2025\/11\/image-3-300x216.png 300w, http:\/\/www.applicationsofllm.com\/wp-content\/uploads\/2025\/11\/image-3-768x554.png 768w\" sizes=\"auto, (max-width: 831px) 100vw, 831px\" \/><\/figure>\n\n\n\n<p>\u7c7b\u4f3c\u4e8e\u5411\u91cf\u7528\u4e0d\u540c\u7684\u6570\u5b57\u5728\u4e0d\u540c\u7ef4\u5ea6\u8868\u8fbe\u8bed\u4e49\uff0c\u81ea\u7136\u8bed\u8a00\u5411\u91cf\u5219\u7528\u4e0d\u540c\u7684\u5c5e\u6027\u4f5c\u4e3a\u7ef4\u5ea6\uff0c\u5c5e\u6027\u7684\u503c\u5bf9\u5e94\u7ef4\u5ea6\u7684\u503c\u3002\u4e0d\u540c\u7684\u4e8b\u4ef6\uff0c\u7ef4\u5ea6\u662f\u76f8\u540c\u7684\uff0c\u4f8b\u5982\u65f6\u95f4\u3001\u5730\u70b9\u3001\u884c\u4e3a\u3001\u4eba\u7269\u7b49\u3002\u8fd9\u4e2a\u8fc7\u7a0b\u672c\u8d28\u662f\u8ba9LLM\u628a\u4e8b\u4ef6\u4e2d\u7684<strong>\u5173\u952eToken\u8fdb\u884c\u4e86\u7ed3\u6784\u5316+\u6cdb\u5316\u5904\u7406<\/strong>\u3002<\/p>\n\n\n\n<p>\u603b\u4e4b\uff0c\u6bcf\u4e2a\u4e8b\u4ef6\u90fd\u53ef\u4ee5\u7528\u4e00\u4e2a\u81ea\u7136\u8bed\u8a00\u5411\u91cf\u6765\u8868\u8fbe\u5176\u5927\u90e8\u5206\u8bed\u4e49\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"831\" height=\"668\" src=\"http:\/\/www.applicationsofllm.com\/wp-content\/uploads\/2025\/11\/image-2.png\" alt=\"\" class=\"wp-image-2068\" srcset=\"http:\/\/www.applicationsofllm.com\/wp-content\/uploads\/2025\/11\/image-2.png 831w, http:\/\/www.applicationsofllm.com\/wp-content\/uploads\/2025\/11\/image-2-300x241.png 300w, http:\/\/www.applicationsofllm.com\/wp-content\/uploads\/2025\/11\/image-2-768x617.png 768w\" sizes=\"auto, (max-width: 831px) 100vw, 831px\" \/><\/figure>\n\n\n\n<p>\u63d0\u53d6\u4e8b\u4ef6\u548c\u5c5e\u6027\u8fd9\u4ef6\u4e8b\u53ea\u9700\u8981\u5f88\u5c0f\u7684\u6a21\u578b\u5c31\u80fd\u5b8c\u6210\uff0c\u5927\u5927\u964d\u4f4e\u4e86\u7b97\u529b\u7684\u6210\u672c\u3002\u800c\u4e14\u5728SAG\u4e2d\uff0c\u7ef4\u5ea6\u662f\u53ef\u4ee5\u81ea\u5df1\u5b9a\u4e49\u7684\uff0c\u4e0d\u540c\u7684\u884c\u4e1a\u6839\u636e\u81ea\u5df1\u6570\u636e\u7c7b\u578b\u7684\u4e0d\u540c\uff0c\u53ef\u4ee5\u589e\u52a0\u4e00\u4e9b\u4e13\u6709\u7684\u7ef4\u5ea6\u3002<\/p>\n\n\n\n<p><strong>\u516d\u5ea6\u5206\u9694\u7406\u8bba<\/strong><\/p>\n\n\n\n<p>\u90a3\u4e48\u4e3a\u4ec0\u4e48\u81ea\u7136\u8bed\u8a00\u5411\u91cf\u53ef\u4ee5\u5728\u67e5\u8be2\u65f6\u5b9e\u65f6\u6784\u5efa\u4e0d\u540c\u4e8b\u4ef6\u7684\u5173\u7cfb\uff1f\u8fd9\u4e2a\u7075\u611f\u6211\u662f\u6765\u81ea\u793e\u4f1a\u5de5\u7a0b\u5b66\u4e2d\u7684\u201d<strong>\u516d\u5ea6\u5206\u9694\u7406\u8bba<\/strong>\u201c\u3002<\/p>\n\n\n\n<p>\u516d\u5ea6\u5206\u9694\u7406\u8bba\u7b80\u5355\u6765\u8bf4\u5c31\u662f\uff1a\u4f60\u548c\u4efb\u4f55\u964c\u751f\u4eba\u4e4b\u95f4\u76f8\u9694\u4e0d\u8d85\u8fc7\u516d\u4e2a\u4eba\u3002\u6bd4\u5982A\u8ba4\u8bc6B\uff0cB\u8ba4\u8bc6C\uff0cA\u548cC\u53ef\u80fd\u6ca1\u6709\u4efb\u4f55\u4ea4\u96c6\uff0c\u4f46\u56e0\u4e3aA\u548cB\u6709\u4ea4\u96c6\uff0cB\u548cC\u6709\u4ea4\u96c6\uff0cA\u5c31\u548cC\u4ea7\u751f\u4e86\u8054\u7cfb\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"831\" height=\"523\" src=\"http:\/\/www.applicationsofllm.com\/wp-content\/uploads\/2025\/11\/image.jpg\" alt=\"\" class=\"wp-image-2066\" srcset=\"http:\/\/www.applicationsofllm.com\/wp-content\/uploads\/2025\/11\/image.jpg 831w, http:\/\/www.applicationsofllm.com\/wp-content\/uploads\/2025\/11\/image-300x189.jpg 300w, http:\/\/www.applicationsofllm.com\/wp-content\/uploads\/2025\/11\/image-768x483.jpg 768w\" sizes=\"auto, (max-width: 831px) 100vw, 831px\" \/><\/figure>\n\n\n\n<p>\u7c7b\u6bd4\u5230SAG\u4e2d\uff0c\u4eba\u5c31\u50cf\u4e8b\u4ef6\uff0c\u4ea4\u96c6\u5c31\u50cf\u76f8\u540c\u7684\u5c5e\u6027\u3002\u6240\u4ee5\u7406\u8bba\u4e0a\uff0c\u4efb\u4f55\u4e8b\u4ef6\u4e4b\u95f4\u90fd\u53ef\u4ee5\u901a\u8fc7\u4e2d\u95f4\u4e8b\u4ef6\u7684\u5171\u540c\u5c5e\u6027\u4ea7\u751f\u8054\u7cfb\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"831\" height=\"733\" src=\"http:\/\/www.applicationsofllm.com\/wp-content\/uploads\/2025\/11\/image-4.png\" alt=\"\" class=\"wp-image-2070\" srcset=\"http:\/\/www.applicationsofllm.com\/wp-content\/uploads\/2025\/11\/image-4.png 831w, http:\/\/www.applicationsofllm.com\/wp-content\/uploads\/2025\/11\/image-4-300x265.png 300w, http:\/\/www.applicationsofllm.com\/wp-content\/uploads\/2025\/11\/image-4-768x677.png 768w\" sizes=\"auto, (max-width: 831px) 100vw, 831px\" \/><\/figure>\n\n\n\n<p>\u800c\u4e8b\u4ef6\u548c\u5c5e\u6027\u5728\u6570\u636e\u5904\u7406\u65f6\u5c31\u5df2\u63d0\u53d6\u5b8c\u6210\uff0c\u67e5\u8be2\u65f6\u53ea\u9700\u5728SQL\u4e2d\u68c0\u7d22\uff0c\u65e0\u9700LLM\u53c2\u4e0e\uff0c\u56e0\u6b64\u5b9e\u65f6\u6784\u5efa\u6570\u636e\u5173\u7cfb\u7684\u8ba1\u7b97\u662f<strong>\u6781\u5176\u5feb\u901f<\/strong>\u7684\u3002<\/p>\n\n\n\n<p><strong>\u9a6f\u5316\u4e0d\u786e\u5b9a\u6027<\/strong><\/p>\n\n\n\n<p>\u5927\u5bb6\u90fd\u77e5\u9053\uff0cSQL\u662f\u7cbe\u51c6\u5339\u914d\uff0c\u5982\u4f55\u5e94\u5bf9\u7528\u6237\u5343\u5947\u767e\u602a\u7684\u63d0\u95ee\u5462\uff1f\u6bd4\u5982\u5f53\u4f60\u68c0\u7d22\u201d\u82f9\u679c\u516c\u53f8\u201d\u65f6\uff0c\u662f\u65e0\u6cd5\u901a\u8fc7SQL\u5173\u8054\u5230\u201dApple Inc\u201d\u3002\u4e3a\u4e86\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\uff0c\u6211\u5c31\u5229\u7528\u4e86\u5411\u91cf\u7684<strong>\u8bed\u4e49\u5339\u914d\u80fd\u529b<\/strong>\u3002<\/p>\n\n\n\n<p>SAG\u4f1a\u5c06\u6240\u6709\u5c5e\u6027\u540c\u65f6\u5b58\u5165\u5411\u91cf\u6570\u636e\u5e93\u548cSQL\u6570\u636e\u5e93\u3002\u5f53\u4f60\u641c\u7d22\u201d\u82f9\u679c\u516c\u53f8\u201d\u65f6\uff0c\u5411\u91cf\u53ef\u4ee5\u8bed\u4e49\u5339\u914d\u5230\u201dApple Inc\u201d\uff0c\u751a\u81f3\u53ef\u4ee5\u5339\u914d\u5230\u201ciPhone\u201d\u3002\u6b64\u65f6\u518d\u62ff\u7740\u201d\u82f9\u679c\u516c\u53f8\u201d\u3001\u201dApple Inc\u201d\u548c\u201ciPhone\u201d\u53bbSQL\u4e2d\u67e5\u8be2\uff0c\u5c31\u4e0d\u4f1a\u6709\u9057\u6f0f\u4e86\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"831\" height=\"262\" src=\"http:\/\/www.applicationsofllm.com\/wp-content\/uploads\/2025\/11\/image-6.png\" alt=\"\" class=\"wp-image-2072\" srcset=\"http:\/\/www.applicationsofllm.com\/wp-content\/uploads\/2025\/11\/image-6.png 831w, http:\/\/www.applicationsofllm.com\/wp-content\/uploads\/2025\/11\/image-6-300x95.png 300w, http:\/\/www.applicationsofllm.com\/wp-content\/uploads\/2025\/11\/image-6-768x242.png 768w\" sizes=\"auto, (max-width: 831px) 100vw, 831px\" \/><\/figure>\n\n\n\n<p>\u4f20\u7edf\u57fa\u4e8e\u5411\u91cf\u7684\u68c0\u7d22\u975e\u5e38\u64c5\u957f\u8fdb\u884c\u8bed\u4e49\u7684\u6a21\u7cca\u5339\u914d\uff0c\u4f46\u53c8\u6709\u5f88\u5927\u7684\u4e0d\u786e\u5b9a\u6027\u3002SAG\u6070\u6070\u5229\u7528\u8fd9\u4e00\u70b9\uff0c\u7ed3\u5408\u4e86\u5411\u91cf\u548cSQL\u7684\u4f18\u52bf\u2014\u2014\u4ee5SQL\u4e3a\u4e3b\uff0c\u9a6f\u5316\u4e86\u5411\u91cf\u7684\u4e0d\u786e\u5b9a\u6027\uff0c\u505a\u5230\u4e86\u9c7c\u548c\u718a\u638c\u517c\u5f97\u3002<\/p>\n\n\n\n<p>\u5f53\u9a6f\u5316\u4e86\u4e0d\u786e\u5b9a\u6027\uff0cSQL\u7684\u4f18\u52bf\u5c31\u51f8\u663e\u51fa\u6765\u4e86\u3002\u4f8b\u5982\u6211\u4eec\u53ef\u4ee5\u9488\u5bf9\u67d0\u51e0\u4e2a\u5c5e\u6027<strong>\u7cbe\u51c6\u548c\u5b8c\u6574<\/strong>\u7684\u68c0\u7d22\uff0c\u751a\u81f3\u53ef\u4ee5\u76f4\u63a5\u5bf9\u67d0\u4e2a\u5c5e\u6027\u7684\u4e8b\u4ef6\u8fdb\u884c<strong>\u7edf\u8ba1<\/strong>\u3002\u7531\u4e8eSAG\u7684SQL\u8868\u7ed3\u6784\u76f8\u5f53\u7b80\u5355\uff0cLLM\u7684Text-to-SQL\u80fd\u529b\u5b8c\u5168\u80fd\u591f\u80dc\u4efb\u3002<\/p>\n\n\n\n<p><strong>\u7d2f\u79ef\u6548\u5e94<\/strong><\/p>\n\n\n\n<p>SAG\u8ba9\u6bcf\u4e00\u6b21\u68c0\u7d22\u90fd\u66f4\u7cbe\u51c6\uff0c\u8fd9\u4e5f\u5e26\u6765\u4e86\u663e\u8457\u7684<strong>\u7d2f\u79ef\u6548\u5e94<\/strong>\u3002<\/p>\n\n\n\n<p>\u4ee5\u5f80\u5927\u5bb6\u89c9\u5f97RAG\u7684\u591a\u8df3\u6548\u679c\u4e00\u822c\uff0c\u672c\u8d28\u4e0a\u662f\u56e0\u4e3a\u201d<strong>Garbage In, Garbage Out<\/strong>\u201c\u2014\u2014\u9996\u6b21\u68c0\u7d22\u8d28\u91cf\u4e0d\u9ad8\uff0c\u518d\u591a\u8f6e\u4e5f\u8d77\u4e0d\u4e86\u592a\u5927\u4f5c\u7528\u3002<\/p>\n\n\n\n<p>\u800cSAG\u663e\u8457\u63d0\u5347\u4e86\u6bcf\u4e00\u6b21\u539f\u5b50\u68c0\u7d22\u7684\u8d28\u91cf\uff0c\u4e3aLLM\u63d0\u4f9b\u4e86\u66f4\u591a\u5173\u8054\u4e8b\u4ef6\uff0c\u591a\u8f6e\u63a8\u7406\u7684\u6548\u679c\u4e5f\u4f1a\u6709<strong>\u8d28\u7684\u98de\u8dc3<\/strong>\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"831\" height=\"831\" src=\"http:\/\/www.applicationsofllm.com\/wp-content\/uploads\/2025\/11\/image-5.png\" alt=\"\" class=\"wp-image-2071\" srcset=\"http:\/\/www.applicationsofllm.com\/wp-content\/uploads\/2025\/11\/image-5.png 831w, http:\/\/www.applicationsofllm.com\/wp-content\/uploads\/2025\/11\/image-5-300x300.png 300w, http:\/\/www.applicationsofllm.com\/wp-content\/uploads\/2025\/11\/image-5-150x150.png 150w, http:\/\/www.applicationsofllm.com\/wp-content\/uploads\/2025\/11\/image-5-768x768.png 768w\" sizes=\"auto, (max-width: 831px) 100vw, 831px\" \/><\/figure>\n\n\n\n<p><strong>\u4f01\u4e1a\u7684\u5e94\u7528<\/strong><\/p>\n\n\n\n<p>SAG\u7684\u672c\u8d28\u662f\u5229\u7528AI\u5c06\u975e\u7ed3\u6784\u5316\u6570\u636e\u8f6c\u5316\u4e3a\u7ed3\u6784\u5316\u6570\u636e\uff0c\u8fd9\u5728\u4f01\u4e1a\u573a\u666f\u4e2d\u8574\u542b\u7740\u5de8\u5927\u7684\u5e94\u7528\u6f5c\u529b\u3002<\/p>\n\n\n\n<p><strong>\u9996\u5148\uff0c\u4f5c\u4e3a\u4f01\u4e1a\u667a\u80fd\u51b3\u7b56\u52a9\u624b\u3002<\/strong><\/p>\n\n\n\n<p>\u5c31\u50cf\u6211\u4eec\u7684\u9996\u6b3e\u4ea7\u54c1Zleap-D1 Agent\u4e00\u4f53\u673a\uff0cSAG\u80fd\u591f\u5524\u9192\u4f01\u4e1a\u6c89\u7761\u7684\u5386\u53f2\u6570\u636e\uff0c\u5b9e\u65f6\u8fde\u63a5\u6700\u65b0\u4e1a\u52a1\u6570\u636e\uff0c\u901a\u8fc7\u62a5\u544a\u3001\u641c\u7d22\u3001\u95ee\u7b54\u7b49\u5e94\u7528\u5f62\u6001\uff0c\u4e3a\u7ba1\u7406\u8005\u63d0\u4f9b\u51b3\u7b56\u8f85\u52a9\u548c\u5168\u65b0\u7684\u5546\u4e1a\u6d1e\u5bdf\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"830\" height=\"573\" src=\"http:\/\/www.applicationsofllm.com\/wp-content\/uploads\/2025\/11\/image-7.png\" alt=\"\" class=\"wp-image-2073\" srcset=\"http:\/\/www.applicationsofllm.com\/wp-content\/uploads\/2025\/11\/image-7.png 830w, http:\/\/www.applicationsofllm.com\/wp-content\/uploads\/2025\/11\/image-7-300x207.png 300w, http:\/\/www.applicationsofllm.com\/wp-content\/uploads\/2025\/11\/image-7-768x530.png 768w\" sizes=\"auto, (max-width: 830px) 100vw, 830px\" \/><\/figure>\n\n\n\n<p><strong>\u5176\u6b21\uff0c\u4f5c\u4e3a\u901a\u7528\u6570\u636e\u5904\u7406\u5f15\u64ce\u3002<\/strong><\/p>\n\n\n\n<p>SAG\u53ef\u4ee5\u4f5c\u4e3a\u72ec\u7acb\u7684\u6570\u636e\u5904\u7406\u5668\uff0c\u91cd\u6784\u4f01\u4e1a\u73b0\u6709\u7684\u6240\u6709\u6570\u636e\u3002\u65e0\u8bba\u662f\u7535\u5546\u63a8\u8350\u3001\u91d1\u878d\u98ce\u63a7\uff0c\u8fd8\u662f\u5e7f\u544a\u6295\u653e\uff0c\u90fd\u80fd\u4ece\u4e2d\u83b7\u76ca\u2014\u2014\u7528\u66f4\u667a\u80fd\u7684\u6570\u636e\u663e\u8457\u63d0\u5347\u539f\u6709\u7b97\u6cd5\u7684\u6548\u679c\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"830\" height=\"262\" src=\"http:\/\/www.applicationsofllm.com\/wp-content\/uploads\/2025\/11\/image-8.png\" alt=\"\" class=\"wp-image-2074\" srcset=\"http:\/\/www.applicationsofllm.com\/wp-content\/uploads\/2025\/11\/image-8.png 830w, http:\/\/www.applicationsofllm.com\/wp-content\/uploads\/2025\/11\/image-8-300x95.png 300w, http:\/\/www.applicationsofllm.com\/wp-content\/uploads\/2025\/11\/image-8-768x242.png 768w\" sizes=\"auto, (max-width: 830px) 100vw, 830px\" \/><\/figure>\n\n\n\n<p><strong>\u6700\u540e\uff0c\u4f5c\u4e3a\u4f4e\u6210\u672c\u7684AI\u8f6c\u578b\u65b9\u6848\u3002<\/strong><\/p>\n\n\n\n<p>SAG\u80fd\u591f\u5e2e\u52a9\u4f20\u7edf\u4f01\u4e1a\u8de8\u8d8a\u4fe1\u606f\u5316\u9636\u6bb5\uff0c\u76f4\u63a5\u8fc8\u5165AI\u5316\u65f6\u4ee3\u3002SAG\u901a\u8fc7AI\u5c06\u7e41\u6742\u7684\u975e\u7ed3\u6784\u5316\u4fe1\u606f\u8f6c\u5316\u4e3a<strong>\u7edf\u4e00\u7684\u6570\u636e\u683c\u5f0f<\/strong>\uff0c\u4e3a\u66f4\u6df1\u5c42\u7684\u5e94\u7528\u573a\u666f\u5960\u5b9a\u4e86\u575a\u5b9e\u7684\u6570\u636e\u57fa\u7840\uff0c\u6709\u671b\u52a0\u901f\u6574\u4e2atoB\u5e94\u7528\u751f\u6001\u7684\u53d1\u5c55\u3002\u800c\u4e14SAG\u7684\u6570\u636e\u5904\u7406\u662f\u5f02\u6b65\u8fdb\u884c\u7684\uff0c\u4e0d\u4ec5\u53ef\u4ee5\u4f7f\u7528\u5c0f\u6a21\u578b\uff0c\u8fd8\u53ef\u4ee5\u5229\u7528\u8d77\u591c\u95f4\u7684\u95f2\u7f6e\u7b97\u529b\uff0c\u8ba9\u4f01\u4e1a\u4ee5\u66f4\u4f4e\u7684\u95e8\u69db\u5904\u7406\u6d77\u91cf\u5386\u53f2\u6570\u636e\uff0c\u771f\u6b63\u8fc8\u5165AI\u65f6\u4ee3\u3002<\/p>\n\n\n\n<p><strong>\u4e2a\u4eba\u7684\u5e94\u7528<\/strong><\/p>\n\n\n\n<p>SAG\u5728\u4e2a\u4eba\u5e94\u7528\u65b9\u5411\u540c\u6837\u524d\u666f\u5e7f\u9614\u3002<\/p>\n\n\n\n<p><strong>\u9996\u5148\uff0c\u4f5c\u4e3a\u4e2a\u4eba\u77e5\u8bc6\u5e93\u7684\u5e95\u5ea7\u3002<\/strong>SAG\u53ef\u4ee5\u8ba9\u4f60\u7684\u7b14\u8bb0\u3001\u6587\u6863\u3001\u6536\u85cf\u771f\u6b63\u53d8\u6210\u53ef\u68c0\u7d22\u3001\u53ef\u5173\u8054\u7684\u77e5\u8bc6\u4f53\u7cfb\uff0c\u800c\u4e0d\u53ea\u662f\u4e00\u5806\u8eba\u5728\u6587\u4ef6\u5939\u91cc\u7684\u4fe1\u606f\u3002<\/p>\n\n\n\n<p><strong>\u5176\u6b21\uff0c\u4f5c\u4e3a\u4e2a\u4ebaAI\u7684\u8bb0\u5fc6\u4e2d\u67a2\u3002<\/strong>\u8ba9AI\u66f4\u597d\u7684\u8bb0\u4f4f\u4f60\u7684\u504f\u597d\u3001\u4e60\u60ef\u3001\u5386\u53f2\u5bf9\u8bdd\uff0c\u771f\u6b63\u6210\u4e3a\u61c2\u4f60\u7684\u667a\u80fd\u52a9\u624b\u3002<\/p>\n\n\n\n<p><strong>\u66f4\u91cd\u8981\u7684\u662f\uff0cSAG\u8db3\u591f\u8f7b\u91cf\u3002<\/strong>\u7531\u4e8e\u5bf9\u7b97\u529b\u9700\u6c42\u6781\u4f4e\uff0c\u7ecf\u8fc7\u7cbe\u7b80\u7684\u7cfb\u7edf\u751a\u81f3\u53ef\u4ee5\u5b8c\u5168\u79bb\u7ebf\u8fd0\u884c\u5728\u624b\u673a\u4e0a\uff0c\u6548\u679c\u4f9d\u7136\u51fa\u8272\u2014\u2014\u4f60\u7684\u6570\u636e\u6c38\u8fdc\u5728\u4f60\u81ea\u5df1\u624b\u91cc\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"831\" height=\"835\" src=\"http:\/\/www.applicationsofllm.com\/wp-content\/uploads\/2025\/11\/image-9.png\" alt=\"\" class=\"wp-image-2075\" srcset=\"http:\/\/www.applicationsofllm.com\/wp-content\/uploads\/2025\/11\/image-9.png 831w, http:\/\/www.applicationsofllm.com\/wp-content\/uploads\/2025\/11\/image-9-300x300.png 300w, http:\/\/www.applicationsofllm.com\/wp-content\/uploads\/2025\/11\/image-9-150x150.png 150w, http:\/\/www.applicationsofllm.com\/wp-content\/uploads\/2025\/11\/image-9-768x772.png 768w\" sizes=\"auto, (max-width: 831px) 100vw, 831px\" \/><\/figure>\n\n\n\n<p><strong>Agent\u7684\u5e94\u7528<\/strong><\/p>\n\n\n\n<p>\u5bf9\u4e8eAgent\u6765\u8bf4\uff0c\u4e0a\u4e0b\u6587\u5de5\u7a0b\u5df2\u7ecf\u6210\u4e3aAgent\u5f00\u53d1\u7684\u6838\u5fc3\u5171\u8bc6\uff0c\u4f46\u73b0\u6709\u7684\u4e0a\u4e0b\u6587\u68c0\u7d22\u5f80\u5f80\u8fc7\u4e8e\u7c97\u66b4\u3002\u6bd4\u5982Claude Code\u7684grep\u641c\u7d22\uff0c\u53ea\u80fd\u505a\u6b63\u5219\u5339\u914d\uff0c\u7f3a\u4e4f\u6df1\u5c42\u6b21\u7684<strong>\u7ed3\u6784\u5316\u7406\u89e3<\/strong>\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"830\" height=\"535\" src=\"http:\/\/www.applicationsofllm.com\/wp-content\/uploads\/2025\/11\/image-10.png\" alt=\"\" class=\"wp-image-2076\" srcset=\"http:\/\/www.applicationsofllm.com\/wp-content\/uploads\/2025\/11\/image-10.png 830w, http:\/\/www.applicationsofllm.com\/wp-content\/uploads\/2025\/11\/image-10-300x193.png 300w, http:\/\/www.applicationsofllm.com\/wp-content\/uploads\/2025\/11\/image-10-768x495.png 768w\" sizes=\"auto, (max-width: 830px) 100vw, 830px\" \/><\/figure>\n\n\n\n<p>\u800cSAG\u53ef\u4ee5\u6210\u4e3a\u672a\u6765Agent\u7684\u8bb0\u5fc6\u4e0e\u6570\u636e\u57fa\u5ea7\uff0c\u5feb\u901f\u4e3aAgent\u63d0\u4f9b\u66f4\u7cbe\u51c6\u3001\u66f4\u4f18\u8d28\u7684\u4e0a\u4e0b\u6587\u3002\u5c31\u50cf\u524d\u9762\u63d0\u5230\u7684\u7d2f\u79ef\u6548\u5e94\u2014\u2014\u5728\u66f4\u597d\u7684\u4e0a\u4e0b\u6587\u52a0\u6301\u4e0b\uff0c\u539f\u672c\u9700\u898110\u6b65\u624d\u80fd\u5b8c\u6210\u7684\u4efb\u52a1\uff0c\u53ef\u80fd3\u6b65\u5c31\u80fd\u641e\u5b9a\uff0c<strong>\u5927\u5e45\u63d0\u5347<\/strong>Agent\u7684\u8fd0\u884c\u6548\u7387\u548c\u6210\u529f\u7387\u3002<\/p>\n\n\n\n<p><strong>\u5f00\u6e90<\/strong><\/p>\n\n\n\n<p>\u603b\u7684\u6765\u8bf4\uff0c<strong>SAG\u662f\u65b0\u4e00\u4ee3\u7684RAG\u6280\u672f<\/strong>\uff0c\u878d\u5408SQL\u4e0e\u5411\u91cf\u7684\u4f18\u52bf\uff0c\u5b9e\u73b0\u4e86\u5feb\u901f\u3001\u51c6\u786e\u3001\u5168\u9762\u7684AI\u68c0\u7d22\uff0c\u4e3a\u4f01\u4e1a\u3001\u4e2a\u4eba\u548cAgent\u9886\u57df\u63d0\u4f9b\u4e86\u66f4\u5f3a\u5927\u7684\u6570\u636e\u57fa\u5ea7\u3002<\/p>\n\n\n\n<p>\u4e3a\u4e86\u53ef\u4ee5\u8ba9\u6240\u6709\u4f01\u4e1a\u90fd\u53ef\u4ee5\u4f7f\u7528\u5230SAG\u6280\u672f\uff0c\u4e5f\u5e0c\u671b\u4e3a\u884c\u4e1a\u53d1\u5c55\u8d21\u732e\u4e00\u4efd\u529b\u91cf\uff0c<strong>\u6211\u4eec\u51b3\u5b9a\u5c06\u8fd9\u4e2a\u6280\u672f\u5f00\u6e90<\/strong>\uff1a<\/p>\n\n\n\n<p>\u672c\u6b21\u7531\u4e8e\u7bc7\u5e45\u95ee\u9898\uff0c\u5176\u5b9e\u6709\u7684\u975e\u5e38\u591a\u7684\u7ec6\u8282\u5e76\u6ca1\u6709\u8bb2\uff0c\u6bd4\u5982\u4e8b\u4ef6\u548c\u5c5e\u6027\u901a\u8fc7\u5177\u4f53\u4ec0\u4e48\u7b97\u6cd5\u8fdb\u884c\u52a8\u6001\u5173\u8054\uff0c\u53c8\u6bd4\u5982\u591a\u8f6e\u53ec\u56de\u65f6\u7684\u52a8\u6001\u526a\u679d\u7b56\u7565\u7b49\u7b49\uff0c\u5173\u4e8e\u66f4\u5177\u4f53\u7684\u7b97\u6cd5\u548c\u539f\u7406\uff0c\u8bf7\u67e5\u770b\u6211\u4eec\u7684\u5f00\u6e90\u4ee3\u7801\u3002\u4e5f\u6b22\u8fce\u6709\u5174\u8da3\u7684\u4f01\u4e1a\u548c\u9ad8\u6821\u4e0e\u6211\u4eec\u5408\u4f5c\u63a2\u7d22\u3002<\/p>\n\n\n\n<p><strong>\u603b\u7ed3<\/strong><\/p>\n\n\n\n<p>\u6211\u4eec\u8ba4\u4e3a\uff0cSAG\u7684\u4ef7\u503c\u8fdc\u4e0d\u6b62\u4e8e\u66ff\u4ee3RAG\u2014\u2014\u5b83\u66f4\u5927\u7684\u610f\u4e49\u5728\u4e8e\uff0c\u80fd\u4ee5\u6781\u9ad8\u6548\u7387\u5c06\u5404\u79cd\u4fe1\u606f\u8f6c\u5316\u4e3a\u7edf\u4e00\u7684<strong>\u591a\u7ef4\u77e5\u8bc6\u56fe\u8c31<\/strong>\u3002\u8bbe\u60f3\u8fd9\u6837\u4e00\u4e2a\u672a\u6765\uff1aSAG\u901a\u8fc7\u4e00\u4e2a\u7b80\u6d01\u4f18\u96c5\u7684\u6570\u636e\u683c\u5f0f\uff0c\u6253\u901a\u6240\u6709\u4fe1\u606f\u6e90\uff0c\u8ba9\u6570\u636e\u4e0d\u518d\u662f\u5b64\u5c9b\uff0c\u800c\u662f\u53ef\u4ee5\u4e92\u76f8\u8fde\u63a5\u751a\u81f3\u4ea4\u6613\u7684\u8d44\u4ea7\u3002\u800c\u8fd9\u4e9b\u6d77\u91cf\u7684\u7ed3\u6784\u5316\u6570\u636e\uff0c\u53c8\u53ef\u4ee5\u88abAI\u5145\u5206\u68c0\u7d22\u548c\u5229\u7528\uff0c\u63a8\u52a8\u6574\u4e2a\u793e\u4f1a\u751f\u4ea7\u6548\u7387\u7684\u8dc3\u5347\u3002<\/p>\n\n\n\n<p>\u8fd9\u5c31\u662f\u6211\u4eec\u667a\u8dc3Zleap\u7684\u613f\u666f\uff1a<strong>\u8ba9\u6240\u6709\u4fe1\u606f\u4ea7\u751f\u8fde\u63a5\uff0c\u8ba9\u6240\u6709\u6570\u636e\u6210\u4e3a\u8d44\u4ea7\u3002<\/strong><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6b64\u524d\u5728\u62a5\u9053\u4e2d\uff0c\u6211\u66fe\u7c97\u7565\u4ecb\u7ecd\u8fc7Zleap\u4ea7\u54c1\u80cc\u540e\u7684\u6280\u672f\uff1a\u4e00\u4e2a\u80fd\u5e2e\u52a9CEO\u81ea\u52a8\u6574\u7406\u3001\u603b\u7ed3\u6d77\u91cf\u4f01\u4e1a\u5185\u90e8\u4fe1\u606f\u7684\u667a\u80fdAg [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2067,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[],"class_list":["post-2064","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-10"],"_links":{"self":[{"href":"http:\/\/www.applicationsofllm.com\/index.php\/wp-json\/wp\/v2\/posts\/2064","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.applicationsofllm.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.applicationsofllm.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.applicationsofllm.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.applicationsofllm.com\/index.php\/wp-json\/wp\/v2\/comments?post=2064"}],"version-history":[{"count":1,"href":"http:\/\/www.applicationsofllm.com\/index.php\/wp-json\/wp\/v2\/posts\/2064\/revisions"}],"predecessor-version":[{"id":2077,"href":"http:\/\/www.applicationsofllm.com\/index.php\/wp-json\/wp\/v2\/posts\/2064\/revisions\/2077"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.applicationsofllm.com\/index.php\/wp-json\/wp\/v2\/media\/2067"}],"wp:attachment":[{"href":"http:\/\/www.applicationsofllm.com\/index.php\/wp-json\/wp\/v2\/media?parent=2064"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.applicationsofllm.com\/index.php\/wp-json\/wp\/v2\/categories?post=2064"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.applicationsofllm.com\/index.php\/wp-json\/wp\/v2\/tags?post=2064"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}