{"id":35545,"date":"2024-12-27T01:00:07","date_gmt":"2024-12-26T17:00:07","guid":{"rendered":"https:\/\/17aitech.com\/?p=35545"},"modified":"2024-12-27T01:00:07","modified_gmt":"2024-12-26T17:00:07","slug":"%e8%a1%a8%e6%a0%bc%e5%a2%9e%e5%bc%ba%e7%94%9f%e6%88%90tag%e7%99%bb%e5%9c%ba%ef%bc%9a%e8%a7%a3%e9%94%81ai%e8%87%aa%e7%84%b6%e8%af%ad%e8%a8%80%e4%b8%8e%e6%95%b0%e6%8d%ae%e5%ba%93%e7%9a%84%e5%ae%8c","status":"publish","type":"post","link":"https:\/\/17aitech.com\/?p=35545","title":{"rendered":"\u8868\u683c\u589e\u5f3a\u751f\u6210TAG\u767b\u573a\uff1a\u89e3\u9501AI\u81ea\u7136\u8bed\u8a00\u4e0e\u6570\u636e\u5e93\u7684\u5b8c\u7f8e\u7ed3\u5408"},"content":{"rendered":"<p>\u6587\u7ae0\u6765\u6e90\u4e8e\u4e92\u8054\u7f51:<a href=\"https:\/\/www.jiqizhixin.com\/articles\/2024-09-10-3\" target=\"_blank\">\u8868\u683c\u589e\u5f3a\u751f\u6210TAG\u767b\u573a\uff1a\u89e3\u9501AI\u81ea\u7136\u8bed\u8a00\u4e0e\u6570\u636e\u5e93\u7684\u5b8c\u7f8e\u7ed3\u5408<\/a><\/p>\n<section>\n<blockquote data-author-name=\"\" data-content-utf8-length=\"37\" data-source-title=\"\" data-type=\"2\" data-url=\"\">\n<section>\n<p>\u4e0e Text2SQL \u6216\u00a0RAG\u00a0\u4e0d\u540c\uff0cTAG \u5145\u5206\u5229\u7528\u4e86\u6570\u636e\u5e93\u7cfb\u7edf\u548c LLM \u7684\u529f\u80fd\u3002<\/p>\n<\/section>\n<\/blockquote>\n<\/section>\n<section><\/section>\n<section>\u4eba\u5de5\u667a\u80fd\u5df2\u7ecf\u6539\u53d8\u4e86\u4eba\u4eec\u7684\u5de5\u4f5c\u65b9\u5f0f\u548c\u4e0e\u6570\u636e\u4ea4\u4e92\u7684\u65b9\u5f0f\u3002\u56de\u60f3\u51e0\u5e74\u524d\uff0c\u7814\u7a76\u4eba\u5458\u5fc5\u987b\u7f16\u5199 SQL \u67e5\u8be2\u548c\u4ee3\u7801\u624d\u80fd\u4ece\u5927\u91cf\u6570\u636e\u4e2d\u63d0\u53d6\u6709\u7528\u4fe1\u606f\u3002\u5982\u4eca\uff0c\u4ed6\u4eec\u53ea\u9700\u8f93\u5165\u95ee\u9898\uff0c\u7531\u8bed\u8a00\u6a21\u578b\u9a71\u52a8\u7684\u5e95\u5c42\u7cfb\u7edf\u4f1a\u5b8c\u6210\u5176\u4f59\u5de5\u4f5c\uff0c\u8ba9\u7528\u6237\u53ea\u9700\u4e0e\u6570\u636e\u5bf9\u8bdd\u5373\u53ef\u7acb\u5373\u83b7\u5f97\u7b54\u6848\u3002<\/section>\n<section><\/section>\n<section>\u8fd9\u4e9b\u65b0\u7cfb\u7edf\u5411\u6570\u636e\u5e93\u63d0\u4f9b\u81ea\u7136\u8bed\u8a00\u4ea4\u4e92\uff0c\u8fd9\u79cd\u8f6c\u53d8\u53d6\u5f97\u4e86\u4e30\u7855\u6210\u679c\uff0c\u4f46\u4ecd\u5b58\u5728\u4e00\u4e9b\u95ee\u9898\u3002\u4ece\u672c\u8d28\u4e0a\u8bb2\uff0c\u8fd9\u4e9b\u7cfb\u7edf\u4ecd\u7136\u65e0\u6cd5\u5904\u7406\u5404\u79cd\u67e5\u8be2\u3002<\/section>\n<section><\/section>\n<section>\u672c\u6587\uff0c\u6765\u81ea UC \u4f2f\u514b\u5229\u548c\u65af\u5766\u798f\u5927\u5b66\u7684\u7814\u7a76\u4eba\u5458\u73b0\u5728\u6b63\u52aa\u529b\u7528\u4e00\u79cd\u540d\u4e3a<strong>\u8868\u683c\u589e\u5f3a\u751f\u6210 (TAG\uff0cTable-Augmented Generation) \u7684\u65b0\u65b9\u6cd5<\/strong>\u6765\u89e3\u51b3\u8fd9\u4e00\u95ee\u9898\u3002<\/section>\n<p><a href=\"https:\/\/17aitech.com\/wp-content\/uploads\/2024\/09\/frc-cfcccabe4e3e939d8c958f97ec9b4f75.png\" data-fancybox=\"images\" data-fancybox=\"gallery\"><img decoding=\"async\" src=\"https:\/\/17aitech.com\/wp-content\/uploads\/2024\/09\/frc-cfcccabe4e3e939d8c958f97ec9b4f75.png\"><\/a><\/p>\n<ul>\n<li>\n<section>\u8bba\u6587\u5730\u5740\uff1ahttps:\/\/arxiv.org\/pdf\/2408.14717<\/section>\n<\/li>\n<li>\n<section>\u9879\u76ee\u5730\u5740\uff1ahttps:\/\/github.com\/TAG-Research\/TAG-Bench<\/section>\n<\/li>\n<li>\n<section>\u8bba\u6587\u6807\u9898\uff1aText2SQL is Not Enough: Unifying AI and Databases with TAG<\/section>\n<\/li>\n<\/ul>\n<section><\/section>\n<section>TAG \u662f\u4e00\u79cd\u7edf\u4e00\u4e14\u901a\u7528\u7684\u8303\u5f0f\uff0c\u7528\u4e8e\u56de\u7b54\u6570\u636e\u5e93\u4e2d\u7684\u81ea\u7136\u8bed\u8a00\u95ee\u9898\u3002TAG \u6a21\u578b\u4ee3\u8868\u4e86 LM \u548c\u6570\u636e\u5e93\u4e4b\u95f4\u672a\u66fe\u63a2\u7d22\u8fc7\u7684\u5e7f\u6cdb\u4ea4\u4e92\u3002<\/section>\n<section><\/section>\n<section><strong>TAG \u662f\u5982\u4f55\u5de5\u4f5c\u7684<\/strong><\/section>\n<section><\/section>\n<section>\u76ee\u524d\uff0c\u5f53\u7528\u6237\u5bf9\u81ea\u5b9a\u4e49\u6570\u636e\u6e90\u63d0\u51fa\u81ea\u7136\u8bed\u8a00\u95ee\u9898\u65f6\uff0c\u4e3b\u8981\u91c7\u7528\u4e24\u79cd\u65b9\u6cd5\uff1a<strong>\u6587\u672c\u5230 SQL \u6216\u68c0\u7d22\u589e\u5f3a\u751f\u6210 (RAG)<\/strong>\u3002<\/section>\n<section><\/section>\n<section>\u867d\u7136\u8fd9\u4e24\u79cd\u65b9\u6cd5\u90fd\u80fd\u5f88\u597d\u5730\u5b8c\u6210\u5de5\u4f5c\uff0c\u4f46\u5f53\u95ee\u9898\u53d8\u5f97\u590d\u6742\u5e76\u8d85\u51fa\u7cfb\u7edf\u80fd\u529b\u65f6\uff0c\u7528\u6237\u5c31\u4f1a\u9047\u5230\u95ee\u9898\u3002<\/section>\n<section><\/section>\n<section>\u4e3e\u4f8b\u6765\u8bf4\uff0c\u6587\u672c\u5230 SQL \u7684\u65b9\u6cd5\uff08\u8fd9\u662f\u4e00\u79cd\u5c06\u6587\u672c\u63d0\u793a\u8f6c\u6362\u4e3a\u6570\u636e\u5e93\u53ef\u4ee5\u6267\u884c\u7684 SQL \u67e5\u8be2\uff09\u4ec5\u5173\u6ce8\u53ef\u4ee5\u7528\u5173\u7cfb\u4ee3\u6570\u8868\u8fbe\u7684\u81ea\u7136\u8bed\u8a00\u95ee\u9898\uff0c\u4f46\u53ea\u80fd\u67e5\u8be2\u7528\u6237\u53ef\u80fd\u60f3\u8981\u8be2\u95ee\u7684\u4e00\u5c0f\u90e8\u5206\u95ee\u9898\u3002<\/section>\n<section><\/section>\n<section>\u76f8\u4f3c\u7684\uff0cRAG \u53ea\u80fd\u901a\u8fc7\u5bf9\u6570\u636e\u5e93\u4e2d\u7684\u4e00\u4e2a\u6216\u51e0\u4e2a\u6570\u636e\u8bb0\u5f55\u7684\u70b9\u67e5\u627e\u6765\u56de\u7b54\u76f8\u5173\u7684\u67e5\u8be2\u3002\u8fd9\u79cd\u65b9\u6cd5\u4e13\u6ce8\u4e8e\u76f4\u63a5\u4ece\u6570\u636e\u5e93\u4e2d\u68c0\u7d22\u7279\u5b9a\u4fe1\u606f\u70b9\uff0c\u800c\u4e0d\u6d89\u53ca\u66f4\u590d\u6742\u7684\u6570\u636e\u5904\u7406\u6216\u5206\u6790\u3002\u00a0<\/section>\n<section><\/section>\n<section>\u7136\u800c\uff0c\u5bf9\u4e8e\u5546\u4e1a\u7528\u6237\u6765\u8bf4\uff0c\u4ed6\u4eec\u7684\u95ee\u9898\u901a\u5e38\u9700\u8981\u590d\u6742\u7684\u9886\u57df\u77e5\u8bc6\u3001\u4e16\u754c\u77e5\u8bc6\u3001\u7cbe\u786e\u8ba1\u7b97\u548c\u8bed\u4e49\u63a8\u7406\u7684\u7ec4\u5408\u3002<\/section>\n<section><\/section>\n<section>\u4e3a\u4e86\u89e3\u51b3\u8fd9\u4e00\u95ee\u9898\uff0c\u8be5\u7814\u7a76\u63d0\u51fa\u4e86 TAG \u7cfb\u7edf\uff0c\u5176\u5b9e\u73b0\u4e3b\u8981\u5305\u542b\u4e09\u4e2a\u6b65\u9aa4\uff1a<strong>\u67e5\u8be2\u5408\u6210\u3001\u67e5\u8be2\u6267\u884c\u548c\u7b54\u6848\u751f\u6210<\/strong>\u3002<\/section>\n<p><a href=\"https:\/\/17aitech.com\/wp-content\/uploads\/2024\/09\/frc-da5d9db42335ac38b9cacbf03d1b4625.png\" data-fancybox=\"images\" data-fancybox=\"gallery\"><img decoding=\"async\" src=\"https:\/\/17aitech.com\/wp-content\/uploads\/2024\/09\/frc-da5d9db42335ac38b9cacbf03d1b4625.png\"><\/a><\/p>\n<section>TAG \u6a21\u578b\u5f88\u7b80\u5355\uff0c\u4f46\u529f\u80fd\u5f3a\u5927\uff0c\u7531\u4ee5\u4e0b\u4e09\u4e2a\u65b9\u7a0b\u5b9a\u4e49\uff1a<\/section>\n<p><a href=\"https:\/\/17aitech.com\/wp-content\/uploads\/2024\/09\/frc-35acbaa76b5db0f71f8ea7c2260ceea5.png\" data-fancybox=\"images\" data-fancybox=\"gallery\"><img decoding=\"async\" src=\"https:\/\/17aitech.com\/wp-content\/uploads\/2024\/09\/frc-35acbaa76b5db0f71f8ea7c2260ceea5.png\"><\/a><\/p>\n<section>\u503c\u5f97\u6ce8\u610f\u7684\u662f\uff0cTAG \u6a21\u578b\u7edf\u4e00\u4e86\u4e4b\u524d\u7684\u65b9\u6cd5\uff0c\u5305\u62ec Text2SQL \u548c RAG\uff0c\u5b83\u4eec\u4ec5\u4ee3\u8868\u4e86 TAG \u7684\u7279\u6b8a\u60c5\u51b5\u5e76\u4e14\u4ec5\u80fd\u89e3\u51b3\u6709\u9650\u7684\u7528\u6237\u95ee\u9898\u5b50\u96c6\u3002<\/section>\n<section><\/section>\n<section><strong>\u67e5\u8be2\u5408\u6210<\/strong><\/section>\n<section><\/section>\n<section>\u9996\u5148\uff0cLM \u63a8\u65ad\u54ea\u4e9b\u6570\u636e\u4e0e\u56de\u7b54\u95ee\u9898\u76f8\u5173\uff0c\u5e76\u5c06\u8f93\u5165\u8f6c\u6362\u4e3a\u8be5\u6570\u636e\u5e93\u7684\u53ef\u6267\u884c\u67e5\u8be2\uff08\u4e0d\u4ec5\u4ec5\u662f SQL\uff09 \u3002<\/section>\n<section><\/section>\n<section>\u5176\u4e2d\uff0csyn \u51fd\u6570\u63a5\u53d7\u81ea\u7136\u8bed\u8a00\u8bf7\u6c42 \ud835\udc45 \u5e76\u751f\u6210\u8981\u7531\u6570\u636e\u5e93\u7cfb\u7edf\u6267\u884c\u7684\u67e5\u8be2 \ud835\udc44\u3002\u5bf9\u4e8e\u7ed9\u5b9a\u7684\u7528\u6237\u8bf7\u6c42\uff0c\u6b64\u6b65\u9aa4\u8d1f\u8d23 (a) \u63a8\u65ad\u54ea\u4e9b\u6570\u636e\u4e0e\u56de\u7b54\u8bf7\u6c42\u76f8\u5173\uff0c\u4ee5\u53ca (b) \u6267\u884c\u8bed\u4e49\u89e3\u6790\u4ee5\u5c06\u7528\u6237\u8bf7\u6c42\u8f6c\u6362\u4e3a\u53ef\u7531\u6570\u636e\u5e93\u7cfb\u7edf\u6267\u884c\u7684\u67e5\u8be2\u3002\u6b64\u67e5\u8be2\u53ef\u4ee5\u4f7f\u7528\u4efb\u4f55\u67e5\u8be2\u8bed\u8a00\u3002\u8bba\u6587\u793a\u4f8b\u4e2d\u4f7f\u7528\u4e86 SQL\u3002<\/section>\n<section><\/section>\n<section>\u5982\u56fe 1 \u6240\u793a\uff0c\u8be5\u67e5\u8be2\u7684\u95ee\u9898\u662f\u300c\u603b\u7ed3\u7968\u623f\u6700\u9ad8\u7684\u88ab\u8ba4\u4e3a\u662f\u7ecf\u5178\u7684\u7231\u60c5\u7535\u5f71\u7684\u8bc4\u8bba\u300d\u3002\u5728\u8fd9\u91cc\uff0c\u6570\u636e\u6e90\u5305\u542b\u6709\u5173\u6bcf\u90e8\u7535\u5f71\u7684\u540d\u5b57\u3001\u6536\u5165\u3001\u7c7b\u578b\u548c\u76f8\u5173\u8bc4\u8bba\u7684\u4fe1\u606f\u3002\u5728\u6b64\u6b65\u9aa4\u4e2d\uff0c\u7cfb\u7edf\u5229\u7528 LM \u7684\u8bed\u4e49\u63a8\u7406\u80fd\u529b\u6765\u751f\u6210 SQL \u67e5\u8be2\uff0c\u8be5\u67e5\u8be2\u4f7f\u7528\u6765\u81ea\u6570\u636e\u6e90\u7684\u7535\u5f71\u6807\u9898\u3001\u8bc4\u8bba\u3001\u6536\u5165\u548c\u7c7b\u578b\u7684\u5c5e\u6027\u3002<\/section>\n<section><\/section>\n<section><strong>\u67e5\u8be2\u6267\u884c<\/strong><\/section>\n<section><\/section>\n<section>\u5728\u67e5\u8be2\u6267\u884c\u9636\u6bb5\uff0cexec \u51fd\u6570\u5728\u6570\u636e\u5e93\u7cfb\u7edf\u4e2d\u6267\u884c\u67e5\u8be2\ud835\udc44\uff0c\u83b7\u53d6\u8868\ud835\udc47\u3002\u6b64\u6b65\u9aa4\u5229\u7528\u6570\u636e\u5e93\u67e5\u8be2\u5f15\u64ce\u5bf9\u5927\u91cf\u5b58\u50a8\u7684\u6570\u636e\u8fdb\u884c\u6709\u6548\u5730\u67e5\u8be2\u3002<\/section>\n<section><\/section>\n<section>\u5982\u56fe 1 \u6240\u793a\uff0c\u6570\u636e\u5e93\u67e5\u8be2\u662f\u7528 SQL \u7f16\u5199\u7684 selection \u548c ranking \u67e5\u8be2\uff0c\u5b83\u8fd4\u56de\u5305\u542b\u76f8\u5173\u884c\u7684\u8868\u3002\u67e5\u8be2\u4f7f\u7528 LM \u6267\u884c\u9009\u62e9\uff0c\u6839\u636e\u7535\u5f71\u540d\u5b57\u8bc4\u4f30\u54ea\u4e9b\u7535\u5f71\u662f\u7ecf\u5178\u7535\u5f71\uff0c\u5e76\u4f7f\u7528\u6807\u51c6\u7c7b\u578b\u8fc7\u6ee4\u5668\u67e5\u627e\u7231\u60c5\u7535\u5f71\u3002\u67e5\u8be2\u8fd8\u6839\u636e\u6536\u5165\u5bf9\u7ed3\u679c\u8fdb\u884c\u6392\u540d\uff0c\u4ee5\u67e5\u627e\u7968\u623f\u6700\u9ad8\u7684\u7535\u5f71\u3002\u5982\u56fe\u6240\u793a\uff0c\u7ed3\u679c\u8868\u5305\u542b\u7535\u5f71\u6cf0\u5766\u5c3c\u514b\u53f7\u7684\u8bc4\u8bba\u3002<\/section>\n<section><\/section>\n<section><strong>\u7b54\u6848\u751f\u6210<\/strong><\/section>\n<section><\/section>\n<section>\u5728\u8fd9\u4e00\u6b65\u4e2d\uff0cgen \u51fd\u6570\u4f7f\u7528 LM \u751f\u6210\u7528\u6237\u81ea\u7136\u8bed\u8a00\u8bf7\u6c42 R \u7684\u7b54\u6848 A\u3002<\/section>\n<section><\/section>\n<section>\u8fd8\u662f\u4ee5\u56fe 1 \u4e3a\u4f8b\uff0c\u5728 TAG pipeline \u6700\u540e\u9636\u6bb5\uff0c\u8f93\u51fa\u6709\u5173\u6cf0\u5766\u5c3c\u514b\u53f7\u7684\u8bc4\u8bba\u6458\u8981\u4f5c\u4e3a\u5bf9\u539f\u59cb\u7528\u6237\u8bf7\u6c42\u7684\u56de\u7b54\u3002\u5728\u793a\u4f8b\u4e2d\uff0c\u76f8\u5173\u6570\u636e \ud835\udc47 \u88ab\u7f16\u7801\u4e3a\u5b57\u7b26\u4e32\uff0c\u4f9b\u6a21\u578b\u5904\u7406\u3002\u7f16\u7801\u8868\u4e0e\u539f\u59cb\u7528\u6237\u8bf7\u6c42 \ud835\udc45 \u4e00\u8d77\u4f20\u9012\u7ed9 LM\u3002\u4e3a\u4e86\u83b7\u5f97\u7b54\u6848\uff0c\u6b64\u6b65\u9aa4\u5229\u7528\u6a21\u578b\u5bf9\u8bc4\u8bba\u5217\u7684\u8bed\u4e49\u63a8\u7406\u80fd\u529b\u6765\u603b\u7ed3\u8bc4\u8bba\u3002<\/section>\n<section><\/section>\n<section><strong>\u5b9e\u9a8c\u53ca\u7ed3\u679c<\/strong><\/section>\n<section><\/section>\n<section>\u8868 1 \u663e\u793a\u4e86\u6bcf\u79cd\u65b9\u6cd5\u7684\u7cbe\u786e\u5339\u914d\u51c6\u786e\u7387\u548c\u6267\u884c\u65f6\u95f4\u3002\u5982\u8868\u6240\u793a\uff0c\u5728\u9009\u5b9a\u7684 BIRD \uff08\u4e00\u4e2a\u6570\u636e\u96c6\uff0c\u7528\u4e8e\u6d4b\u8bd5 LMs \u7684\u6587\u672c\u5230 sql \u7684\u80fd\u529b\uff09\u67e5\u8be2\u7c7b\u578b\u4e2d\uff0c\u7814\u7a76\u8005\u53d1\u73b0\u624b\u5199 TAG\uff08hand-written TAG\uff09\u57fa\u7ebf\u59cb\u7ec8\u80fd\u8fbe\u5230 40% \u6216\u66f4\u9ad8\u7684\u7cbe\u786e\u5339\u914d\u51c6\u786e\u7387\uff0c\u800c\u5176\u4ed6\u57fa\u7ebf\u7684\u51c6\u786e\u7387\u5747\u672a\u8d85\u8fc7 20%\u3002<\/section>\n<p><a href=\"https:\/\/17aitech.com\/wp-content\/uploads\/2024\/09\/frc-a25663566a478f16b1b532d8dcc2d609.png\" data-fancybox=\"images\" data-fancybox=\"gallery\"><img decoding=\"async\" src=\"https:\/\/17aitech.com\/wp-content\/uploads\/2024\/09\/frc-a25663566a478f16b1b532d8dcc2d609.png\"><\/a><\/p>\n<section>\u5177\u4f53\u800c\u8a00\uff0cText2SQL \u5728\u6240\u6709\u57fa\u7ebf\u4e0a\u7684\u8868\u73b0\u90fd\u4e0d\u4f73\uff0c\u6267\u884c\u51c6\u786e\u7387\u4e0d\u8d85\u8fc7 20%\uff0c\u4f46\u5728 Ranking \u67e5\u8be2\u4e0a\u7684\u8868\u73b0\u5c24\u5176\u7cdf\u7cd5\uff0c\u51c6\u786e\u7387\u53ea\u6709 10%\uff0c\u56e0\u4e3a\u8bb8\u591a Ranking \u67e5\u8be2\u9700\u8981\u5bf9\u6587\u672c\u8fdb\u884c\u63a8\u7406\u3002Text2SQL + LM \u5728\u5404\u4e2a\u57fa\u7ebf\u4e0a\u7684\u8868\u73b0\u90fd\u540c\u6837\u7cdf\u7cd5\uff0c\u4f46\u5728\u57fa\u4e8e\u5339\u914d\u548c\u6bd4\u8f83\u7684\u67e5\u8be2\u4e0a\u8868\u73b0\u66f4\u5dee\uff0c\u51c6\u786e\u7387\u53ea\u6709 10%\u3002<\/section>\n<section><\/section>\n<section>\u5bf9\u4e8e RAG\uff0c\u53ef\u4ee5\u770b\u5230\u5b83\u5728\u6240\u6709\u67e5\u8be2\u7c7b\u578b\u4e2d\u90fd\u4e0d\u80fd\u6b63\u786e\u56de\u7b54\u5355\u4e2a\u67e5\u8be2\uff0c\u8fd9\u8868\u660e RAG \u4e0d\u9002\u5408\u8fd9\u4e2a\u9886\u57df\u7684\u67e5\u8be2\u3002<\/section>\n<section><\/section>\n<section>\u624b\u5199 TAG \u603b\u4f53\u4e0a\u6b63\u786e\u56de\u7b54\u4e86 55% \u7684\u67e5\u8be2\uff0c\u5728\u6bd4\u8f83\u67e5\u8be2\u4e2d\u8868\u73b0\u6700\u4f73\uff0c\u7cbe\u786e\u5339\u914d\u51c6\u786e\u7387\u4e3a 65%\u3002\u7531\u4e8e\u7cbe\u786e\u6392\u5e8f\u5546\u54c1\u7684\u96be\u5ea6\u8f83\u9ad8\uff0c\u8be5\u57fa\u7ebf\u5728\u6240\u6709\u67e5\u8be2\u7c7b\u578b\uff08\u6392\u540d\u67e5\u8be2\u9664\u5916\uff09\u4e2d\u7684\u8868\u73b0\u59cb\u7ec8\u826f\u597d\uff0c\u51c6\u786e\u7387\u8d85\u8fc7 50%\u3002\u603b\u4f53\u800c\u8a00\uff0c\u4e0e\u6807\u51c6\u57fa\u7ebf\u76f8\u6bd4\uff0c\u6b64\u65b9\u6cd5\u7684\u51c6\u786e\u7387\u63d0\u9ad8\u4e86 20% \u81f3 65%\u3002<\/section>\n<section><\/section>\n<section>\u8868 2 \u8868\u660e\uff0c\u7531\u4e8e\u7701\u7565\u4e86\u7b54\u6848\u751f\u6210\u6b65\u9aa4\uff0cvanilla Text2SQL \u5728\u9700\u8981 LM \u63a8\u7406\u7684\u67e5\u8be2\u4e0a\u8868\u73b0\u8f83\u5dee\uff0c\u7cbe\u786e\u5339\u914d\u51c6\u786e\u7387\u4e3a 10%\u3002\u4e0e\u6b64\u540c\u65f6\uff0cRAG \u57fa\u7ebf\u548c Retrieval + LM Rank \u57fa\u7ebf\u5728\u6240\u6709\u67e5\u8be2\u7c7b\u578b\u4e0a\u90fd\u8868\u73b0\u4e0d\u597d\uff0c\u53ea\u80fd\u6b63\u786e\u56de\u7b54\u4e00\u4e2a\u67e5\u8be2\u3002\u76f8\u6bd4\u4e4b\u4e0b\uff0c\u624b\u5199 TAG \u57fa\u7ebf\u5728\u9700\u8981\u77e5\u8bc6\u7684\u67e5\u8be2\u548c\u9700\u8981\u63a8\u7406\u7684\u67e5\u8be2\u4e0a\u90fd\u5b9e\u73b0\u4e86\u8d85\u8fc7 50% \u7684\u51c6\u786e\u7387\u3002<\/section>\n<p><a href=\"https:\/\/17aitech.com\/wp-content\/uploads\/2024\/09\/frc-16e8fa241b9e239c9945404681d8a4be.png\" data-fancybox=\"images\" data-fancybox=\"gallery\"><img decoding=\"async\" src=\"https:\/\/17aitech.com\/wp-content\/uploads\/2024\/09\/frc-16e8fa241b9e239c9945404681d8a4be.png\"><\/a><\/p>\n<section>\u503c\u5f97\u6ce8\u610f\u7684\u662f\uff0c\u9664\u4e86\u63d0\u4f9b\u5353\u8d8a\u7684\u51c6\u786e\u7387\u5916\uff0c\u624b\u5199 TAG \u65b9\u6cd5\u8fd8\u63d0\u4f9b\u4e86\u9ad8\u6548\u7684\u5b9e\u73b0\uff0c\u4e0e\u5176\u4ed6\u57fa\u7ebf\u76f8\u6bd4\uff0c\u6267\u884c\u65f6\u95f4\u5c11\u7528\u4e86 1\/3\u3002\u624b\u5199\u57fa\u7ebf\u5bf9\u6240\u6709\u67e5\u8be2\u7684\u5e73\u5747\u8017\u65f6\u4e3a 2.94 \u79d2\u3002<\/section>\n<section><\/section>\n<section>\u6700\u540e\uff0c\u8be5\u7814\u7a76\u5b9a\u6027\u5206\u6790\u4e86\u6bcf\u4e2a\u57fa\u7ebf\u5728\u805a\u5408\u67e5\u8be2\u4e0a\u7684\u7ed3\u679c\u3002\u56fe 2 \u4e3a\u4e00\u4e2a\u793a\u4f8b\u5c55\u793a\uff0c\u67e5\u8be2\u7684\u5185\u5bb9\u4e3a\u300c\u63d0\u4f9b\u6709\u5173\u96ea\u90a6\u56fd\u9645\u8d5b\u8f66\u573a\u7684\u6bd4\u8d5b\u8d44\u6599\u300d\u3002<\/section>\n<section><\/section>\n<section>\u7ed3\u679c\u663e\u793a\uff0cRAG \u57fa\u7ebf\u53ea\u80fd\u63d0\u4f9b\u6709\u5173\u90e8\u5206\u6bd4\u8d5b\u7684\u4fe1\u606f\uff0c\u56e0\u4e3a\u5927\u591a\u6570\u76f8\u5173\u6bd4\u8d5b\u90fd\u65e0\u6cd5\u88ab\u68c0\u7d22\u5230\u3002\u53e6\u4e00\u65b9\u9762\uff0cText2SQL + LM \u57fa\u7ebf\u65e0\u6cd5\u5229\u7528 DBMS \u4e2d\u7684\u4efb\u4f55\u4fe1\u606f\uff0c\u4ec5\u4f9d\u8d56\u4e8e\u53c2\u6570\u77e5\u8bc6\u5e76\u4e14\u4e0d\u63d0\u4f9b\u8fdb\u4e00\u6b65\u7684\u5206\u6790\u3002<\/section>\n<section><\/section>\n<section>\u76f8\u6bd4\u8f83\u6765\u8bf4\uff0c\u624b\u5199\u57fa\u7ebf\u63d0\u4f9b\u4e86 1999 \u5e74\u81f3 2017 \u5e74\u5728\u96ea\u90a6\u56fd\u9645\u8d5b\u9053\u4e3e\u884c\u7684\u6240\u6709\u6bd4\u8d5b\u7684\u8be6\u5c3d\u6458\u8981\u3002<\/section>\n<p><a href=\"https:\/\/17aitech.com\/wp-content\/uploads\/2024\/09\/frc-db15ca81c67adc96ebd1c728cfc208de.png\" data-fancybox=\"images\" data-fancybox=\"gallery\"><img decoding=\"async\" src=\"https:\/\/17aitech.com\/wp-content\/uploads\/2024\/09\/frc-db15ca81c67adc96ebd1c728cfc208de.png\"><\/a><\/p>\n<section><\/section>\n<section><em><sup>\u53c2\u8003\u94fe\u63a5\uff1a<\/sup><\/em><\/section>\n<section><em><sup>https:\/\/venturebeat.com\/data-infrastructure\/table-augmented-generation-shows-promise-for-complex-dataset-querying-outperforms-text-to-sql\/<\/sup><\/em><\/section>\n<p>\u6587\u7ae0\u6765\u6e90\u4e8e\u4e92\u8054\u7f51:<a href=\"https:\/\/www.jiqizhixin.com\/articles\/2024-09-10-3\" target=\"_blank\">\u8868\u683c\u589e\u5f3a\u751f\u6210TAG\u767b\u573a\uff1a\u89e3\u9501AI\u81ea\u7136\u8bed\u8a00\u4e0e\u6570\u636e\u5e93\u7684\u5b8c\u7f8e\u7ed3\u5408<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6765\u6e90\u4e8e\u4e92\u8054\u7f51:\u8868\u683c\u589e\u5f3a\u751f\u6210TAG\u767b\u573a [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[27],"tags":[71],"class_list":["post-35545","post","type-post","status-publish","format-standard","hentry","category-news","tag-rag"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u8868\u683c\u589e\u5f3a\u751f\u6210TAG\u767b\u573a\uff1a\u89e3\u9501AI\u81ea\u7136\u8bed\u8a00\u4e0e\u6570\u636e\u5e93\u7684\u5b8c\u7f8e\u7ed3\u5408 - \u4e00\u8d77AI\u6280\u672f<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/17aitech.com\/?p=35545\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/17aitech.com\/?p=35545\",\"url\":\"https:\/\/17aitech.com\/?p=35545\",\"name\":\"\u8868\u683c\u589e\u5f3a\u751f\u6210TAG\u767b\u573a\uff1a\u89e3\u9501AI\u81ea\u7136\u8bed\u8a00\u4e0e\u6570\u636e\u5e93\u7684\u5b8c\u7f8e\u7ed3\u5408 - \u4e00\u8d77AI\u6280\u672f\",\"isPartOf\":{\"@id\":\"https:\/\/17aitech.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/17aitech.com\/?p=35545#primaryimage\"},\"image\":{\"@id\":\"https:\/\/17aitech.com\/?p=35545#primaryimage\"},\"thumbnailUrl\":\"https:\/\/17aitech.com\/wp-content\/uploads\/2024\/09\/frc-cfcccabe4e3e939d8c958f97ec9b4f75.png\",\"datePublished\":\"2024-12-26T17:00:07+00:00\",\"author\":{\"@id\":\"https:\/\/17aitech.com\/#\/schema\/person\/60225458499e817ae0af73e67e440b9d\"},\"breadcrumb\":{\"@id\":\"https:\/\/17aitech.com\/?p=35545#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/17aitech.com\/?p=35545\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/17aitech.com\/?p=35545#primaryimage\",\"url\":\"https:\/\/17aitech.com\/wp-content\/uploads\/2024\/09\/frc-cfcccabe4e3e939d8c958f97ec9b4f75.png\",\"contentUrl\":\"https:\/\/17aitech.com\/wp-content\/uploads\/2024\/09\/frc-cfcccabe4e3e939d8c958f97ec9b4f75.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/17aitech.com\/?p=35545#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/17aitech.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u8868\u683c\u589e\u5f3a\u751f\u6210TAG\u767b\u573a\uff1a\u89e3\u9501AI\u81ea\u7136\u8bed\u8a00\u4e0e\u6570\u636e\u5e93\u7684\u5b8c\u7f8e\u7ed3\u5408\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/17aitech.com\/#website\",\"url\":\"https:\/\/17aitech.com\/\",\"name\":\"\u4e00\u8d77AI\u6280\u672f\",\"description\":\"\u8ba9AI\u77e5\u8bc6\u89e6\u624b\u53ef\u53ca\",\"alternateName\":\"\u4e00\u8d77AI\u6280\u672f\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/17aitech.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/17aitech.com\/#\/schema\/person\/60225458499e817ae0af73e67e440b9d\",\"name\":\"AI\u5c0f\u52a9\u624b\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/17aitech.com\/#\/schema\/person\/image\/\",\"url\":\"\/\/17aitech.com\/wp-content\/uploads\/2024\/04\/robot_3.png\",\"contentUrl\":\"\/\/17aitech.com\/wp-content\/uploads\/2024\/04\/robot_3.png\",\"caption\":\"AI\u5c0f\u52a9\u624b\"},\"description\":\"\u8fd9\u4e2a\u4eba\u5f88\u61d2\uff0c\u4ec0\u4e48\u90fd\u6ca1\u6709\u7559\u4e0b\uff5e\",\"url\":\"https:\/\/17aitech.com\/?page_id=33738&user=3\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u8868\u683c\u589e\u5f3a\u751f\u6210TAG\u767b\u573a\uff1a\u89e3\u9501AI\u81ea\u7136\u8bed\u8a00\u4e0e\u6570\u636e\u5e93\u7684\u5b8c\u7f8e\u7ed3\u5408 - \u4e00\u8d77AI\u6280\u672f","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/17aitech.com\/?p=35545","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/17aitech.com\/?p=35545","url":"https:\/\/17aitech.com\/?p=35545","name":"\u8868\u683c\u589e\u5f3a\u751f\u6210TAG\u767b\u573a\uff1a\u89e3\u9501AI\u81ea\u7136\u8bed\u8a00\u4e0e\u6570\u636e\u5e93\u7684\u5b8c\u7f8e\u7ed3\u5408 - \u4e00\u8d77AI\u6280\u672f","isPartOf":{"@id":"https:\/\/17aitech.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/17aitech.com\/?p=35545#primaryimage"},"image":{"@id":"https:\/\/17aitech.com\/?p=35545#primaryimage"},"thumbnailUrl":"https:\/\/17aitech.com\/wp-content\/uploads\/2024\/09\/frc-cfcccabe4e3e939d8c958f97ec9b4f75.png","datePublished":"2024-12-26T17:00:07+00:00","author":{"@id":"https:\/\/17aitech.com\/#\/schema\/person\/60225458499e817ae0af73e67e440b9d"},"breadcrumb":{"@id":"https:\/\/17aitech.com\/?p=35545#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/17aitech.com\/?p=35545"]}]},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/17aitech.com\/?p=35545#primaryimage","url":"https:\/\/17aitech.com\/wp-content\/uploads\/2024\/09\/frc-cfcccabe4e3e939d8c958f97ec9b4f75.png","contentUrl":"https:\/\/17aitech.com\/wp-content\/uploads\/2024\/09\/frc-cfcccabe4e3e939d8c958f97ec9b4f75.png"},{"@type":"BreadcrumbList","@id":"https:\/\/17aitech.com\/?p=35545#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/17aitech.com\/"},{"@type":"ListItem","position":2,"name":"\u8868\u683c\u589e\u5f3a\u751f\u6210TAG\u767b\u573a\uff1a\u89e3\u9501AI\u81ea\u7136\u8bed\u8a00\u4e0e\u6570\u636e\u5e93\u7684\u5b8c\u7f8e\u7ed3\u5408"}]},{"@type":"WebSite","@id":"https:\/\/17aitech.com\/#website","url":"https:\/\/17aitech.com\/","name":"\u4e00\u8d77AI\u6280\u672f","description":"\u8ba9AI\u77e5\u8bc6\u89e6\u624b\u53ef\u53ca","alternateName":"\u4e00\u8d77AI\u6280\u672f","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/17aitech.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/17aitech.com\/#\/schema\/person\/60225458499e817ae0af73e67e440b9d","name":"AI\u5c0f\u52a9\u624b","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/17aitech.com\/#\/schema\/person\/image\/","url":"\/\/17aitech.com\/wp-content\/uploads\/2024\/04\/robot_3.png","contentUrl":"\/\/17aitech.com\/wp-content\/uploads\/2024\/04\/robot_3.png","caption":"AI\u5c0f\u52a9\u624b"},"description":"\u8fd9\u4e2a\u4eba\u5f88\u61d2\uff0c\u4ec0\u4e48\u90fd\u6ca1\u6709\u7559\u4e0b\uff5e","url":"https:\/\/17aitech.com\/?page_id=33738&user=3"}]}},"_links":{"self":[{"href":"https:\/\/17aitech.com\/index.php?rest_route=\/wp\/v2\/posts\/35545","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/17aitech.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/17aitech.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/17aitech.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/17aitech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=35545"}],"version-history":[{"count":0,"href":"https:\/\/17aitech.com\/index.php?rest_route=\/wp\/v2\/posts\/35545\/revisions"}],"wp:attachment":[{"href":"https:\/\/17aitech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=35545"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/17aitech.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=35545"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/17aitech.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=35545"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}