{"id":107677,"date":"2026-09-20T00:17:01","date_gmt":"2026-09-19T16:17:01","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/107677.html"},"modified":"2026-09-20T00:17:01","modified_gmt":"2026-09-19T16:17:01","slug":"ai-%e4%b8%80%e6%9c%ac%e6%ad%a3%e7%bb%8f%e5%9c%b0%e8%83%a1%e8%af%b4%e5%85%ab%e9%81%93%ef%bc%9f80-%e8%a1%8c-python-%e6%89%8b%e6%90%93-rag%ef%bc%8c%e6%8a%8a%e5%88%87%e5%9d%97%e3%80%81%e5%90%91%e9%87%8f","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/107677.html","title":{"rendered":"AI \u4e00\u672c\u6b63\u7ecf\u5730\u80e1\u8bf4\u516b\u9053\uff1f80 \u884c Python \u624b\u6413 RAG\uff0c\u628a\u5207\u5757\u3001\u5411\u91cf\u3001\u68c0\u7d22\u3001\u91cd\u6392\u6bcf\u4e00\u6b65\u90fd\u62c6\u5f00\u770b"},"content":{"rendered":"<p style=\"margin-left:0;text-align:center\"><span style=\"color:#6b7280\">\u4ece\u300c\u95ed\u5377\u8003\u8bd5\u300d\u5230\u300c\u5f00\u5377\u8003\u8bd5\u300d<\/span><span style=\"color:#6b7280\">\u2014\u2014<\/span><span style=\"color:#6b7280\">\u7528<\/span><span style=\"color:#6b7280\"> 80 <\/span><span style=\"color:#6b7280\">\u884c<\/span><span style=\"color:#6b7280\"> Python <\/span><span style=\"color:#6b7280\">\u4ece\u96f6\u642d\u4e00\u6761\u8dd1\u5f97\u901a\u7684<\/span><span style=\"color:#6b7280\"> RAG<\/span><span style=\"color:#6b7280\">&#xff0c;\u628a\u5207\u5757\u3001\u5411\u91cf\u3001\u68c0\u7d22\u3001\u91cd\u6392\u6bcf\u4e00\u6b65\u90fd\u62c6\u5f00\u770b<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u76ee\u5f55<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#000000\">\u4e00\u3001\u5927\u6a21\u578b\u4e3a\u4ec0\u4e48\u4f1a&#034;\u4e00\u672c\u6b63\u7ecf\u5730\u80e1\u8bf4\u516b\u9053&#034;<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#000000\">\u4e8c\u3001RAG \u4e09\u4e2a\u5b57\u6bcd&#xff0c;\u62c6\u5f00\u5c31\u662f\u4e00\u53e5\u5927\u767d\u8bdd<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#000000\">\u4e09\u3001RAG \u53ea\u505a\u4e24\u4ef6\u4e8b&#xff0c;\u4f46\u6bcf\u4ef6\u4e8b\u90fd\u6709\u4e00\u5806\u8bb2\u7a76<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#000000\">\u56db\u3001\u624b\u6413\u4e00\u4e2a\u6700\u5c0f\u53ef\u8fd0\u884c\u7684 RAG<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#000000\">\u4e94\u3001&#034;\u4f4f\u9152\u5e97&#034;\u4e3a\u4ec0\u4e48\u641c\u4e0d\u5230&#034;\u4f4f\u5bbf&#034;&#xff1f;<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#000000\">\u516d\u3001\u5207\u5757&#xff1a;\u6700\u4e0d\u8d77\u773c&#xff0c;\u5374\u6700\u81f4\u547d\u7684\u4e00\u6b65<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#000000\">\u4e03\u3001\u751f\u4ea7\u73af\u5883\u91cc\u7684 RAG&#xff0c;\u8fd8\u88c5\u4e86\u4ec0\u4e48&#034;\u9009\u88c5\u4ef6&#034;<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#000000\">\u516b\u3001\u4e09\u4e2a\u771f\u5b9e\u7684\u843d\u5730\u6848\u4f8b<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#000000\">\u4e5d\u3001RAG \u7684\u8fb9\u754c&#xff1a;\u4ec0\u4e48\u65f6\u5019\u4f60\u4e0d\u8be5\u7528 RAG<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#000000\">\u5341\u3001\u600e\u4e48\u5224\u65ad\u4f60\u7684 RAG \u505a\u5f97\u597d\u4e0d\u597d<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#000000\">\u5341\u4e00\u3001\u7ed9\u96f6\u57fa\u7840\u7684\u843d\u5730\u8def\u7ebf<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#000000\">\u5341\u4e8c\u3001\u5e38\u89c1\u95ee\u9898<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#000000\">\u6570\u636e\u65f6\u6548\u58f0\u660e<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#000000\">\u53c2\u8003\u8d44\u6599<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u5148\u8bb2\u4e00\u4e2a\u6211\u5f88\u559c\u6b22\u7684\u573a\u666f\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u67d0\u516c\u53f8\u5185\u90e8\u4e0a\u7ebf\u4e86\u4e00\u4e2a<\/span><span style=\"color:#111827\"> AI <\/span><span style=\"color:#111827\">\u52a9\u624b&#xff0c;\u5458\u5de5\u53ef\u4ee5\u95ee\u5b83\u5404\u79cd\u89c4\u7ae0\u5236\u5ea6\u3002\u4e0a\u7ebf\u7b2c\u4e00\u5468\u53e3\u7891\u4e0d\u9519&#xff0c;\u76f4\u5230\u6709\u4f4d\u540c\u4e8b\u95ee&#xff1a;<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u51fa\u5dee\u4f4f\u5bbf\u4e00\u665a\u6700\u591a\u80fd\u62a5\u591a\u5c11\u94b1&#xff1f;<\/span><span style=\"color:#111827\">&#034;<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u52a9\u624b\u56de\u7b54\u5f97\u53c8\u5feb\u53c8\u81ea\u4fe1&#xff1a;<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u6839\u636e\u516c\u53f8\u89c4\u5b9a&#xff0c;\u4f4f\u5bbf\u6807\u51c6\u4e3a\u6bcf\u665a\u4e0d\u8d85\u8fc7<\/span><span style=\"color:#111827\"> 1500 <\/span><span style=\"color:#111827\">\u5143&#xff0c;\u8d85\u6807\u90e8\u5206\u53ef\u7533\u8bf7\u7279\u6279\u3002<\/span><span style=\"color:#111827\">&#034;<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u8fd9\u4f4d\u540c\u4e8b\u771f\u7684\u6309<\/span><span style=\"color:#111827\"> 1500 <\/span><span style=\"color:#111827\">\u5143\u8ba2\u4e86\u9152\u5e97\u3002\u56de\u6765\u62a5\u9500\u65f6\u624d\u53d1\u73b0&#xff0c;\u516c\u53f8\u89c4\u5b9a\u662f<\/span><span style=\"color:#111827\">\u4e00\u7ebf\u57ce\u5e02 600 \u5143<\/span><span style=\"color:#111827\">&#xff0c;\u6ca1\u6709\u4efb\u4f55<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u7279\u6279<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u6761\u6b3e\u3002\u90a3\u4e2a<\/span><span style=\"color:#111827\"> 1500 <\/span><span style=\"color:#111827\">\u5143&#xff0c;\u662f\u6a21\u578b\u81ea\u5df1\u7f16\u51fa\u6765\u7684\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u66f4\u9ebb\u70e6\u7684\u662f&#xff1a;\u4f60\u5f88\u96be\u4ece\u56de\u7b54\u91cc\u770b\u51fa\u5b83\u5728\u7f16\u3002\u5b83\u7684\u8bed\u6c14\u548c\u7b54\u5bf9\u65f6\u4e00\u6a21\u4e00\u6837&#xff0c;\u683c\u5f0f\u5de5\u6574\u3001\u6761\u7406\u6e05\u6670\u3001\u751a\u81f3\u8fd8<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u8d34\u5fc3\u5730<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u8865\u5145\u4e86\u4e0d\u5b58\u5728\u7684\u4f8b\u5916\u60c5\u51b5\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u8fd9\u5c31\u662f\u4eca\u5929\u8981\u8bb2\u7684\u4e1c\u897f<\/span><span style=\"color:#111827\">\u2014\u2014RAG<\/span><span style=\"color:#111827\">\u3002\u5b83\u89e3\u51b3\u7684\u6b63\u662f\u8fd9\u4e2a\u95ee\u9898&#xff1a;<\/span><span style=\"color:#111827\">\u600e\u4e48\u8ba9 AI \u8bf4\u9519\u7684\u65f6\u5019&#xff0c;\u81f3\u5c11\u4e0d\u8981\u8bf4\u5f97\u90a3\u4e48\u7406\u76f4\u6c14\u58ee&#xff1b;\u4ee5\u53ca\u600e\u4e48\u8ba9\u5b83\u8bf4\u7684\u8bdd&#xff0c;\u4f60\u80fd\u7ffb\u5230\u51fa\u5904\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u8fd9\u7bc7\u6587\u7ae0\u6211\u4f1a\u628a<\/span><span style=\"color:#111827\"> RAG <\/span><span style=\"color:#111827\">\u4ece<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u4e09\u4e2a\u5b57\u6bcd<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u4e00\u8def\u62c6\u5230<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u80fd\u8dd1\u8d77\u6765\u7684\u4ee3\u7801<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u3002\u4f60\u4e0d\u9700\u8981\u4efb\u4f55<\/span><span style=\"color:#111827\"> AI <\/span><span style=\"color:#111827\">\u57fa\u7840&#xff0c;\u53ea\u8981\u4f1a\u4e00\u70b9\u70b9<\/span><span style=\"color:#111827\"> Python<\/span><span style=\"color:#111827\">&#xff08;\u751a\u81f3\u4e0d\u4f1a\u4e5f\u884c&#xff0c;\u4ee3\u7801\u6211\u90fd\u914d\u4e86\u9010\u884c\u89e3\u91ca&#xff09;&#xff0c;\u5c31\u80fd\u5b8c\u6574\u770b\u61c2\u8fd9\u6761\u94fe\u8def\u5230\u5e95\u53d1\u751f\u4e86\u4ec0\u4e48\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u800c\u4e14\u6211\u4e0d\u6253\u7b97\u53ea\u7528\u6bd4\u55bb\u7cca\u5f04\u4f60\u3002\u6587\u7ae0\u91cc\u6709\u4e09\u6bb5\u4ee3\u7801\u662f\u771f\u7684\u80fd\u8dd1\u7684<\/span><span style=\"color:#111827\">\u2014\u2014<\/span><span style=\"color:#111827\">\u4f60\u5728\u81ea\u5df1\u7535\u8111\u4e0a\u590d\u5236\u7c98\u8d34\u5c31\u80fd\u590d\u73b0&#xff0c;\u8fde<\/span><span style=\"color:#111827\"> API Key <\/span><span style=\"color:#111827\">\u90fd\u4e0d\u7528\u3002\u5305\u62ec\u90a3\u4e2a<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u4f4f\u9152\u5e97\u62a5\u591a\u5c11\u94b1<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u7684\u771f\u5b9e\u68c0\u7d22\u5931\u8d25\u6848\u4f8b&#xff0c;\u6211\u4f1a\u8ba9\u4f60\u4eb2\u773c\u770b\u5b83\u9519\u4e00\u6b21\u3001\u518d\u4fee\u597d\u4e00\u6b21\u3002<\/span><\/p>\n<h3 style=\"margin-left:0pt;text-align:justify\"><span style=\"color:#111827\">\u4e00\u3001\u5927\u6a21\u578b\u4e3a\u4ec0\u4e48\u4f1a&#034;\u4e00\u672c\u6b63\u7ecf\u5730\u80e1\u8bf4\u516b\u9053&#034;<\/span><\/h3>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u8981\u7406\u89e3<\/span><span style=\"color:#111827\"> RAG<\/span><span style=\"color:#111827\">&#xff0c;\u5f97\u5148\u7406\u89e3\u5927\u6a21\u578b\u7684\u4e00\u4e2a\u6839\u672c\u7279\u5f81&#xff1a;<\/span><span style=\"color:#111827\">\u5b83\u7684\u77e5\u8bc6\u88ab&#034;\u51bb&#034;\u5728\u4e86\u8bad\u7ec3\u7ed3\u675f\u7684\u90a3\u4e00\u523b\u3002<\/span><\/p>\n<h4 style=\"margin-left:0pt;text-align:justify\"><span style=\"color:#111827\">\u8bad\u7ec3\u5b8c&#xff0c;\u77e5\u8bc6\u5c31\u51dd\u56fa\u4e86<\/span><\/h4>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u5927\u6a21\u578b\u662f\u901a\u8fc7\u9605\u8bfb\u6d77\u91cf\u6587\u672c\u8bad\u7ec3\u51fa\u6765\u7684\u3002\u8bad\u7ec3\u8fc7\u7a0b\u4e2d&#xff0c;\u5b83\u628a\u770b\u5230\u7684\u4e1c\u897f\u538b\u7f29\u8fdb\u4e86\u81ea\u5df1\u7684\u53c2\u6570\u91cc<\/span><span style=\"color:#111827\">\u2014\u2014<\/span><span style=\"color:#111827\">\u4f60\u53ef\u4ee5\u7c97\u66b4\u5730\u7406\u89e3\u6210&#xff1a;\u5b83\u628a\u6574\u4e2a\u4e92\u8054\u7f51<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u80cc<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u4e86\u4e00\u904d\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u4f46<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u80cc<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u6709\u4e09\u4e2a\u9ebb\u70e6&#xff1a;<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u7b2c\u4e00&#xff0c;<\/span><span style=\"color:#111827\">\u80cc\u5b8c\u5c31\u5b9a\u578b\u4e86<\/span><span style=\"color:#111827\">\u3002\u6a21\u578b\u8bad\u7ec3\u7ed3\u675f\u7684\u90a3\u4e00\u5929\u4e4b\u540e\u53d1\u751f\u7684\u4e8b\u60c5&#xff0c;\u5b83\u4e00\u6982\u4e0d\u77e5\u9053\u3002\u516c\u53f8\u6628\u5929\u65b0\u53d1\u7684\u901a\u77e5\u3001\u4e0a\u4e2a\u6708\u6539\u7684\u62a5\u9500\u6807\u51c6\u3001\u4eca\u5929\u65e9\u4e0a\u66f4\u65b0\u7684\u4ea7\u54c1\u4ef7\u683c&#xff0c;\u5b83\u7684\u8111\u5b50\u91cc\u90fd\u6ca1\u6709\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u7b2c\u4e8c&#xff0c;<\/span><span style=\"color:#111827\">\u80cc\u5f97\u4e0d\u7cbe\u786e<\/span><span style=\"color:#111827\">\u3002\u4eba\u80cc\u4e66\u4f1a\u4e32\u884c&#xff0c;\u6a21\u578b\u4e5f\u4e00\u6837\u3002\u5b83\u8bb0\u4f4f\u7684\u662f<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u5927\u6982\u610f\u601d<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u548c<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u8bed\u8a00\u89c4\u5f8b<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">&#xff0c;\u800c\u4e0d\u662f\u4e00\u4efd\u9010\u5b57\u9010\u53e5\u7684\u6863\u6848\u3002\u4f60\u95ee\u5b83\u67d0\u4e2a\u6587\u4ef6\u7684\u7b2c<\/span><span style=\"color:#111827\"> 3 <\/span><span style=\"color:#111827\">\u6761\u7b2c<\/span><span style=\"color:#111827\"> 2 <\/span><span style=\"color:#111827\">\u6b3e\u5199\u4e86\u4ec0\u4e48&#xff0c;\u5b83\u7b54\u4e0d\u51fa\u6765<\/span><span style=\"color:#111827\">\u2014\u2014<\/span><span style=\"color:#111827\">\u5b83\u53ef\u80fd\u8fde\u8fd9\u4e2a\u6587\u4ef6\u662f\u5426\u5b58\u5728\u90fd\u4e0d\u77e5\u9053\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u7b2c\u4e09&#xff0c;\u4e5f\u662f\u6700\u8981\u547d\u7684&#xff1a;<\/span><span style=\"color:#111827\">\u5b83\u4e0d\u4f1a\u8bf4&#034;\u6211\u4e0d\u77e5\u9053&#034;<\/span><span style=\"color:#111827\">\u3002<\/span><\/p>\n<h4 style=\"margin-left:0pt;text-align:justify\"><span style=\"color:#111827\">\u5e7b\u89c9\u4e0d\u662f bug&#xff0c;\u662f\u5b83\u7684\u672c\u80fd<\/span><\/h4>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u8fd9\u91cc\u6709\u4e2a\u53cd\u76f4\u89c9\u7684\u70b9&#xff0c;\u503c\u5f97\u4f60\u505c\u4e0b\u6765\u60f3\u4e00\u60f3\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u5927\u6a21\u578b\u7684\u672c\u8d28\u5de5\u4f5c&#xff0c;\u662f<\/span><span style=\"color:#111827\">\u9884\u6d4b\u4e0b\u4e00\u4e2a\u5b57\u6700\u53ef\u80fd\u662f\u4ec0\u4e48<\/span><span style=\"color:#111827\">\u3002\u4f60\u7ed9\u5b83\u4e00\u53e5\u8bdd&#xff0c;\u5b83\u7b97\u51fa\u63a5\u4e0b\u6765\u6700\u8be5\u51fa\u73b0\u7684\u8bcd&#xff0c;\u7136\u540e\u4e00\u4e2a\u5b57\u4e00\u4e2a\u5b57\u5f80\u4e0b\u63a5\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u6ce8\u610f&#xff1a;\u5b83\u7684\u4efb\u52a1\u4ece\u6765\u4e0d\u662f<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u8bf4\u771f\u8bdd<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">&#xff0c;\u800c\u662f<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u8bf4\u51fa\u6700\u50cf\u771f\u7684\u90a3\u6bb5\u8bdd<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u6240\u4ee5\u5f53\u5b83\u9047\u5230\u4e00\u4e2a\u77e5\u8bc6\u7a7a\u6863\u65f6&#xff0c;\u5b83\u4e0d\u4f1a\u505c\u4e0b\u6765&#xff0c;\u5b83\u4f1a\u7528\u8bed\u8a00\u89c4\u5f8b\u628a\u7a7a\u6863<\/span><span style=\"color:#111827\">\u586b\u5e73<\/span><span style=\"color:#111827\">\u2014\u2014<\/span><span style=\"color:#111827\">\u56e0\u4e3a\u5b83\u88ab\u8bad\u7ec3\u6210<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u5fc5\u987b\u63a5\u4e0b\u53bb<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u3002\u8fd9\u4e2a\u586b\u7a7a\u51fa\u6765\u7684\u5185\u5bb9&#xff0c;\u8bed\u6cd5\u901a\u987a\u3001\u903b\u8f91\u81ea\u6d3d\u3001\u8bed\u6c14\u7b03\u5b9a&#xff0c;\u770b\u8d77\u6765\u548c\u771f\u8bdd\u6ca1\u6709\u4efb\u4f55\u533a\u522b\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u8fd9\u5c31\u662f<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u5e7b\u89c9<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u7684\u672c\u8d28&#xff1a;\u5b83\u4e0d\u662f\u6a21\u578b\u574f\u6389\u4e86&#xff0c;\u800c\u662f\u5b83<\/span><span style=\"color:#111827\">\u5728\u5fe0\u5b9e\u5730\u6267\u884c&#034;\u628a\u8bdd\u63a5\u5b8c\u6574&#034;\u8fd9\u4e2a\u4efb\u52a1<\/span><span style=\"color:#111827\">\u3002<\/span><\/p>\n<h4 style=\"margin-left:0pt;text-align:justify\"><span style=\"color:#111827\">\u4e00\u4e2a\u51e0\u4e4e\u5fc5\u7136\u53d1\u751f\u7684\u63a8\u8bba<\/span><\/h4>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u7406\u89e3\u4e86\u4e0a\u9762\u8fd9\u4e9b&#xff0c;\u4f60\u4f1a\u53d1\u73b0\u4e00\u4e2a\u7ed3\u8bba\u51e0\u4e4e\u662f\u5fc5\u7136\u7684&#xff1a;<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u5149\u9760\u6362\u4e00\u4e2a\u66f4\u5927\u3001\u66f4\u5f3a\u7684\u6a21\u578b&#xff0c;\u89e3\u51b3\u4e0d\u4e86\u8fd9\u4e2a\u95ee\u9898\u3002\u56e0\u4e3a\u6a21\u578b\u518d\u5f3a&#xff0c;\u5b83\u7684\u77e5\u8bc6\u4f9d\u7136\u662f\u51dd\u56fa\u7684\u3001\u5927\u6982\u7684\u3001\u65e0\u6cd5\u6eaf\u6e90\u7684\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u4f60\u53ef\u80fd\u4f1a\u60f3&#xff1a;\u90a3\u6211\u628a\u5b83\u8bad\u7ec3\u5f97\u66f4\u51c6\u4e00\u70b9\u884c\u4e0d\u884c&#xff1f;\u53ef\u4ee5&#xff0c;\u4f46\u4ee3\u4ef7\u5f88\u5927<\/span><span style=\"color:#111827\">\u2014\u2014<\/span><span style=\"color:#111827\">\u6bcf\u6b21\u77e5\u8bc6\u66f4\u65b0\u90fd\u8981\u91cd\u8bad\u4e00\u6b21\u6a21\u578b&#xff0c;\u800c\u4e14\u4f60\u4f9d\u7136\u65e0\u6cd5\u4fdd\u8bc1\u5b83\u5bf9\u7b54\u5982\u6d41\u65f6\u4e0d\u7f16\u9020\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u4e8e\u662f\u6709\u4eba\u63d0\u51fa\u4e86\u53e6\u4e00\u4e2a\u601d\u8def&#xff1a;<\/span><span style=\"color:#111827\">\u522b\u6307\u671b\u6a21\u578b\u81ea\u5df1\u8bb0\u4f4f&#xff0c;\u6211\u4eec\u628a\u8d44\u6599\u51c6\u5907\u597d&#xff0c;\u5728\u5b83\u56de\u7b54\u4e4b\u524d\u9012\u7ed9\u5b83\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u8fd9\u5c31\u662f<\/span><span style=\"color:#111827\"> RAG<\/span><span style=\"color:#111827\">\u3002<\/span><\/p>\n<h3 style=\"margin-left:0pt;text-align:justify\"><span style=\"color:#111827\">\u4e8c\u3001RAG \u4e09\u4e2a\u5b57\u6bcd&#xff0c;\u62c6\u5f00\u5c31\u662f\u4e00\u53e5\u5927\u767d\u8bdd<\/span><\/h3>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">RAG <\/span><span style=\"color:#111827\">\u662f\u4e09\u4e2a\u82f1\u6587\u5355\u8bcd\u7684\u7f29\u5199&#xff1a;<\/span><span style=\"color:#111827\">Retrieval-Augmented Generation<\/span><span style=\"color:#111827\">&#xff0c;\u4e2d\u6587\u901a\u5e38\u7ffb\u8bd1\u6210<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u68c0\u7d22\u589e\u5f3a\u751f\u6210<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u8fd9\u4e2a\u540d\u5b57\u542c\u8d77\u6765\u5f88\u5b66\u672f&#xff0c;\u4f46\u62c6\u5f00\u770b&#xff0c;\u5b83\u5176\u5b9e\u5c31\u662f\u5728\u63cf\u8ff0\u4e00\u4e2a\u975e\u5e38\u6734\u7d20\u7684\u6d41\u7a0b\u3002\u8fd9\u4e00\u8282\u6211\u4eec\u628a\u4e09\u4e2a\u5b57\u6bcd\u4e00\u4e2a\u4e00\u4e2a\u63b0\u5f00\u3002<\/span><\/p>\n<h4 style=\"margin-left:0pt;text-align:justify\"><span style=\"color:#111827\">Retrieval&#xff1a;\u68c0\u7d22&#xff0c;\u53bb\u628a\u76f8\u5173\u8d44\u6599\u635e\u51fa\u6765<\/span><\/h4>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u7528\u6237\u63d0\u95ee\u540e&#xff0c;\u7cfb\u7edf\u5148\u53bb\u4e00\u4e2a<\/span><span style=\"color:#111827\">\u8d44\u6599\u5e93<\/span><span style=\"color:#111827\">\u91cc\u7ffb\u627e&#xff0c;\u628a\u548c\u95ee\u9898\u6700\u76f8\u5173\u7684\u5185\u5bb9\u635e\u51fa\u6765\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u5173\u952e\u662f&#xff1a;\u8fd9\u4e2a\u8d44\u6599\u5e93\u662f\u4f60\u81ea\u5df1\u7684&#xff0c;\u800c\u4e14\u662f\u4f60\u968f\u65f6\u53ef\u4ee5\u6539\u7684\u3002\u516c\u53f8\u7684\u5236\u5ea6\u6587\u6863\u3001\u4ea7\u54c1\u624b\u518c\u3001\u5ba2\u670d\u5de5\u5355\u3001\u5386\u53f2\u90ae\u4ef6&#xff0c;\u90fd\u53ef\u4ee5\u653e\u8fdb\u53bb\u3002<\/span><\/p>\n<h4 style=\"margin-left:0pt;text-align:justify\"><span style=\"color:#111827\">Augmented&#xff1a;\u589e\u5f3a&#xff0c;\u628a\u635e\u5230\u7684\u4e1c\u897f\u585e\u8fdb\u63d0\u793a\u8bcd<\/span><\/h4>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">&#034;Augmented&#034;<\/span><span style=\"color:#111827\">\u662f<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u589e\u5f3a\u3001\u8865\u5145<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u7684\u610f\u601d\u3002\u589e\u5f3a\u7684\u5bf9\u8c61\u662f<\/span><span style=\"color:#111827\">\u63d0\u793a\u8bcd&#xff08;Prompt&#xff09;<\/span><span style=\"color:#111827\">\u2014\u2014<\/span><span style=\"color:#111827\">\u4e5f\u5c31\u662f\u4f60\u53d1\u7ed9\u5927\u6a21\u578b\u7684\u90a3\u6bb5\u8f93\u5165\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u539f\u6765\u4f60\u53d1\u7ed9\u6a21\u578b\u7684\u53ea\u6709\u4e00\u53e5<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u51fa\u5dee\u4f4f\u5bbf\u80fd\u62a5\u591a\u5c11\u94b1<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">&#xff1b;\u73b0\u5728\u4f60\u53d1\u7684\u662f&#xff1a;<\/span><\/p>\n<table border=\"1\" cellspacing=\"0\">\n<tbody>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"background-color:#f3f4f6;height:27px;vertical-align:middle;width:576px\">\n<p style=\"margin-left:0;text-align:left\"><span style=\"color:#111827\">\u63d0\u793a\u8bcd<\/span> <span style=\"color:#111827\"> \u00b7 <\/span> <span style=\"color:#111827\">\u53d1\u9001\u7ed9\u5927\u6a21\u578b\u7684\u8f93\u5165<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"background-color:#f9fafb;height:27px;vertical-align:middle;width:576px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u4f60\u662f\u516c\u53f8\u5185\u90e8\u52a9\u624b\u3002\u8bf7\u4e25\u683c\u4f9d\u636e\u4e0b\u9762\u7684\u8d44\u6599\u56de\u7b54\u95ee\u9898&#xff0c;<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u8d44\u6599\u91cc\u6ca1\u6709\u7684\u5185\u5bb9\u4e0d\u8981\u7f16\u9020&#xff0c;\u76f4\u63a5\u56de\u7b54<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u8d44\u6599\u4e2d\u6ca1\u6709\u76f8\u5173\u4fe1\u606f<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u200b<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u8d44\u6599&#xff1a;<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">[1] <\/span><span style=\"color:#111827\">\u5dee\u65c5\u6807\u51c6&#xff1a;\u4f4f\u5bbf\u6807\u51c6\u6309\u57ce\u5e02\u5206\u7ea7&#xff1a;\u4e00\u7ebf\u57ce\u5e02\u6bcf\u665a\u4e0d\u8d85\u8fc7<\/span><span style=\"color:#111827\"> 600 <\/span><span style=\"color:#111827\">\u5143<\/span><span style=\"color:#111827\">\u2026\u2026<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u200b<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u95ee\u9898&#xff1a;\u51fa\u5dee\u4f4f\u5bbf\u80fd\u62a5\u591a\u5c11\u94b1&#xff1f;<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u200b<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u56de\u7b54&#xff1a;<\/span><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u8fd9\u4e00\u6b65\u662f\u6574\u4e2a<\/span><span style=\"color:#111827\"> RAG <\/span><span style=\"color:#111827\">\u7684\u6838\u5fc3\u52a8\u4f5c\u3002\u6a21\u578b\u770b\u5230\u7684\u4e0d\u518d\u662f\u4e00\u4e2a\u5b64\u96f6\u96f6\u7684\u95ee\u9898&#xff0c;\u800c\u662f<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u95ee\u9898<\/span><span style=\"color:#111827\"> &#043; <\/span><span style=\"color:#111827\">\u4e00\u4efd\u53c2\u8003\u8d44\u6599<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u3002<\/span><\/p>\n<h4 style=\"margin-left:0pt;text-align:justify\"><span style=\"color:#111827\">Generation&#xff1a;\u751f\u6210&#xff0c;\u8ba9\u6a21\u578b\u7167\u7740\u8d44\u6599\u8bf4\u8bdd<\/span><\/h4>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u6a21\u578b\u57fa\u4e8e\u8fd9\u4e9b\u8d44\u6599\u751f\u6210\u56de\u7b54\u3002\u56e0\u4e3a\u5b83\u624b\u91cc\u6709\u4e86\u4f9d\u636e&#xff0c;\u56de\u7b54\u5c31\u53d8\u6210\u4e86<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u4ece\u8d44\u6599\u91cc\u63d0\u53d6<\/span><span style=\"color:#111827\"> &#043; <\/span><span style=\"color:#111827\">\u7ec4\u7ec7\u8bed\u8a00<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">&#xff0c;\u800c\u4e0d\u662f<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u4ece\u8bb0\u5fc6\u91cc\u786c\u51d1<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u800c\u4e14&#xff0c;\u56e0\u4e3a\u8d44\u6599\u662f\u4f60\u7ed9\u7684&#xff0c;\u4f60\u53ef\u4ee5\u987a\u624b\u505a\u4e24\u4ef6\u4e8b&#xff1a;<\/span><\/p>\n<li style=\"text-align:justify\"><span style=\"color:#111827\">\u8981\u6c42\u5b83\u6807\u6ce8\u51fa\u5904<\/span><span style=\"color:#111827\">\u2014\u2014&#034;<\/span><span style=\"color:#111827\">\u4f9d\u636e\u300a\u5dee\u65c5\u6807\u51c6\u300b\u7b2c<\/span><span style=\"color:#111827\"> 3 <\/span><span style=\"color:#111827\">\u6761<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">&#xff0c;\u7528\u6237\u53ef\u4ee5\u81ea\u5df1\u53bb\u6838\u5bf9&#xff1b;<\/span><\/li>\n<li style=\"text-align:justify\"><span style=\"color:#111827\">\u8981\u6c42\u5b83\u62d2\u7edd\u56de\u7b54<\/span><span style=\"color:#111827\">\u2014\u2014<\/span><span style=\"color:#111827\">\u8d44\u6599\u91cc\u6ca1\u6709\u7684\u5185\u5bb9&#xff0c;\u660e\u786e\u8bf4<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u8d44\u6599\u4e2d\u6ca1\u6709\u76f8\u5173\u4fe1\u606f<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">&#xff0c;\u800c\u4e0d\u662f\u786c\u7f16\u3002<\/span><\/li>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u8fd9\u4e24\u4ef6\u4e8b&#xff0c;\u5c31\u662f<\/span><span style=\"color:#111827\"> RAG <\/span><span style=\"color:#111827\">\u76f8\u6bd4<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u88f8\u6a21\u578b<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u6700\u5927\u7684\u4ef7\u503c&#xff1a;<\/span><span style=\"color:#111827\">\u7b54\u6848\u4ece&#034;\u4e0d\u53ef\u9a8c\u8bc1&#034;\u53d8\u6210\u4e86&#034;\u53ef\u8ffd\u6eaf\u5230\u5177\u4f53\u6587\u6863&#034;<\/span><span style=\"color:#111827\">\u3002<\/span><\/p>\n<table border=\"1\" cellspacing=\"0\">\n<tbody>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"background-color:#f3f4f6;height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:left\"><span style=\"color:#111827\">\u5bf9\u6bd4\u9879<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"background-color:#f3f4f6;height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:left\"><span style=\"color:#111827\">\u88f8\u6a21\u578b&#xff08;\u95ed\u5377\u8003\u8bd5&#xff09;<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"background-color:#f3f4f6;height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:left\"><span style=\"color:#111827\">RAG<\/span> <span style=\"color:#111827\">&#xff08;\u5f00\u5377\u8003\u8bd5&#xff09;<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u77e5\u8bc6\u6765\u6e90<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u8bad\u7ec3\u65f6\u80cc\u4e0b\u6765\u7684<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u4f60\u5f53\u573a\u9012\u7ed9\u5b83\u7684\u8d44\u6599<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u77e5\u8bc6\u66f4\u65b0<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u8981\u91cd\u65b0\u8bad\u7ec3\u6a21\u578b<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u6539\u6587\u6863\u3001\u91cd\u5efa\u7d22\u5f15\u5c31\u884c<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u80fd\u5426\u6eaf\u6e90<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u4e0d\u80fd&#xff0c;\u5168\u9760\u5b83\u81ea\u5df1\u8bf4<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u80fd&#xff0c;\u6bcf\u6761\u7b54\u6848\u80fd\u6307\u5230\u539f\u6587<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u9047\u5230\u4e0d\u77e5\u9053\u7684<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u5927\u6982\u7387\u7f16\u4e00\u4e2a<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u53ef\u4ee5\u8981\u6c42\u5b83\u8bf4<\/span> <span style=\"color:#111827\">&#034;<\/span> <span style=\"color:#111827\">\u8d44\u6599\u91cc\u6ca1\u6709<\/span> <span style=\"color:#111827\">&#034;<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u9002\u7528\u573a\u666f<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u901a\u7528\u95f2\u804a\u3001\u5199\u4f5c<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u4f01\u4e1a\u77e5\u8bc6\u5e93\u3001\u5ba2\u670d\u3001\u4e13\u4e1a\u95ee\u7b54<\/span><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<table border=\"1\" cellspacing=\"0\">\n<tbody>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"background-color:#f0f5fa;height:27px;vertical-align:top;width:576px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u4e00\u53e5\u8bdd\u8bb0\u4f4f<\/span><span style=\"color:#111827\">&#xff1a;<\/span><span style=\"color:#111827\">RAG <\/span><span style=\"color:#111827\">\u4e0d\u662f\u8ba9\u6a21\u578b\u53d8\u806a\u660e&#xff0c;\u800c\u662f\u8ba9\u6a21\u578b<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u6709\u8d44\u6599\u53ef\u67e5<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">&#xff0c;\u5e76\u4e14\u544a\u8bc9\u4f60\u8d44\u6599\u5728\u54ea\u4e00\u9875\u3002<\/span><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4 style=\"margin-left:0pt;text-align:justify\"><span style=\"color:#111827\">\u8fd9\u4e2a\u540d\u5b57\u7684\u6765\u5386<\/span><\/h4>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">RAG <\/span><span style=\"color:#111827\">\u8fd9\u4e2a\u8bcd\u4e0d\u662f\u8425\u9500\u6982\u5ff5&#xff0c;\u5b83\u6709\u660e\u786e\u7684\u5b66\u672f\u51fa\u5904\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">2020 <\/span><span style=\"color:#111827\">\u5e74<\/span><span style=\"color:#111827\"> 5 <\/span><span style=\"color:#111827\">\u6708<\/span><span style=\"color:#111827\"> 22 <\/span><span style=\"color:#111827\">\u65e5&#xff0c;<\/span><span style=\"color:#111827\">Facebook AI Research<\/span><span style=\"color:#111827\">&#xff08;\u73b0<\/span><span style=\"color:#111827\"> Meta AI<\/span><span style=\"color:#111827\">&#xff09;\u8054\u5408\u4f26\u6566\u5927\u5b66\u5b66\u9662\u3001\u7ebd\u7ea6\u5927\u5b66\u7684\u7814\u7a76\u8005&#xff0c;\u5728<\/span><span style=\"color:#111827\"> arXiv <\/span><span style=\"color:#111827\">\u4e0a\u53d1\u5e03\u4e86\u4e00\u7bc7\u8bba\u6587\u300a<\/span><span style=\"color:#111827\">Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks<\/span><span style=\"color:#111827\">\u300b&#xff08;\u8bba\u6587\u7f16\u53f7<\/span><span style=\"color:#111827\"> arXiv:2005.11401<\/span><span style=\"color:#111827\">&#xff09;&#xff0c;\u968f\u540e\u53d1\u8868\u5728<\/span><span style=\"color:#111827\"> NeurIPS 2020 <\/span><span style=\"color:#111827\">\u4e0a\u3002\u5341\u4e09\u4f4d\u4f5c\u8005\u4e2d\u5305\u62ec<\/span><span style=\"color:#111827\"> Patrick Lewis<\/span><span style=\"color:#111827\">\u3001<\/span><span style=\"color:#111827\">Douwe Kiela <\/span><span style=\"color:#111827\">\u7b49\u4eba\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u90a3\u7bc7\u8bba\u6587\u91cc\u7684\u539f\u59cb\u8bbe\u8ba1\u662f\u8fd9\u6837\u7684&#xff1a;\u7528<\/span><span style=\"color:#111827\"> BERT <\/span><span style=\"color:#111827\">\u8bad\u7ec3\u4e00\u4e2a\u68c0\u7d22\u5668&#xff08;\u53eb<\/span><span style=\"color:#111827\"> DPR<\/span><span style=\"color:#111827\">&#xff0c;\u7a20\u5bc6\u6bb5\u843d\u68c0\u7d22&#xff09;&#xff0c;\u628a<\/span><span style=\"color:#111827\"> 2100 <\/span><span style=\"color:#111827\">\u4e07\u4e2a\u3001\u6bcf\u4e2a\u7ea6<\/span><span style=\"color:#111827\"> 100 <\/span><span style=\"color:#111827\">\u8bcd\u7684\u7ef4\u57fa\u767e\u79d1\u6bb5\u843d\u4e8b\u5148\u7f16\u7801\u6210\u5411\u91cf\u3001\u7528<\/span><span style=\"color:#111827\"> FAISS <\/span><span style=\"color:#111827\">\u5efa\u597d\u7d22\u5f15&#xff1b;\u518d\u7528<\/span><span style=\"color:#111827\"> BART <\/span><span style=\"color:#111827\">\u505a\u751f\u6210\u5668\u3002\u7528\u6237\u63d0\u95ee\u65f6&#xff0c;\u68c0\u7d22\u5668\u5148\u627e\u51fa\u76f8\u5173\u6bb5\u843d&#xff0c;\u751f\u6210\u5668\u518d\u57fa\u4e8e\u8fd9\u4e9b\u6bb5\u843d\u4ea7\u51fa\u7b54\u6848\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u8bba\u6587\u7684\u5b9e\u9a8c\u7ed3\u8bba\u662f&#xff1a;\u5728<\/span><span style=\"color:#111827\"> Natural Questions<\/span><span style=\"color:#111827\">\u3001<\/span><span style=\"color:#111827\">TriviaQA<\/span><span style=\"color:#111827\">\u3001<\/span><span style=\"color:#111827\">WebQuestions <\/span><span style=\"color:#111827\">\u4e09\u4e2a\u5f00\u653e\u57df\u95ee\u7b54\u4efb\u52a1\u4e0a&#xff0c;\u8fd9\u5957\u65b9\u6848\u8d85\u8fc7\u4e86\u7eaf\u53c2\u6570\u5316\u7684\u6a21\u578b&#xff0c;\u800c\u4e14\u751f\u6210\u7684\u6587\u672c<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u66f4\u5177\u4f53\u3001\u66f4\u591a\u6837\u3001\u66f4\u7b26\u5408\u4e8b\u5b9e<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u4e03\u5e74\u8fc7\u53bb&#xff0c;\u6a21\u578b\u6362\u4e86\u597d\u51e0\u4ee3&#xff0c;\u5411\u91cf\u5e93\u4ece<\/span><span style=\"color:#111827\"> FAISS <\/span><span style=\"color:#111827\">\u6362\u6210\u4e86\u5404\u5f0f\u5404\u6837\u7684\u4ea7\u54c1&#xff0c;\u4f46\u8fd9\u5957<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u5148\u68c0\u7d22\u3001\u518d\u751f\u6210<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u7684\u9aa8\u67b6&#xff0c;\u4e00\u4e2a\u5b57\u90fd\u6ca1\u53d8\u3002<\/span><\/p>\n<h3 style=\"margin-left:0pt;text-align:justify\"><span style=\"color:#111827\">\u4e09\u3001RAG \u53ea\u505a\u4e24\u4ef6\u4e8b&#xff0c;\u4f46\u6bcf\u4ef6\u4e8b\u90fd\u6709\u4e00\u5806\u8bb2\u7a76<\/span><\/h3>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">RAG <\/span><span style=\"color:#111827\">\u542c\u8d77\u6765\u50cf\u4e2a\u590d\u6742\u7cfb\u7edf&#xff0c;\u4f46\u5b83\u7684\u9aa8\u67b6\u5176\u5b9e\u53ea\u6709\u4e24\u6761\u6d41\u6c34\u7ebf\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:center\"><span style=\"color:#111827\">\u4e00\u6761\u5728<\/span><span style=\"color:#111827\">\u79bb\u7ebf<\/span><span style=\"color:#111827\">\u65f6\u8dd1&#xff0c;\u8d1f\u8d23\u628a\u8d44\u6599\u6574\u7406\u6210<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u53ef\u88ab\u68c0\u7d22<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u7684\u5f62\u6001&#xff1b;\u4e00\u6761\u5728<\/span><span style=\"color:#111827\">\u5728\u7ebf<\/span><span style=\"color:#111827\">\u65f6\u8dd1&#xff0c;\u8d1f\u8d23\u6bcf\u6b21\u56de\u7b54\u7528\u6237\u7684\u95ee\u9898\u3002\u4e0b\u9762\u8fd9\u5f20\u56fe\u628a\u4e24\u6761\u6d41\u6c34\u7ebf\u753b\u5728\u4e00\u8d77\u4e86\u3002<\/span><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1056\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260919161657-6aaeb57940359.png\" width=\"1559\" \/><span style=\"color:#111827\">RAG \u5168\u666f\u67b6\u6784\u56fe<\/span><\/p>\n<h4 style=\"margin-left:0pt;text-align:justify\"><span style=\"color:#111827\">\u9636\u6bb5\u4e00&#xff1a;\u5efa\u5e93&#xff08;\u79bb\u7ebf\u8dd1\u4e00\u6b21&#xff09;<\/span><\/h4>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u8fd9\u4e00\u6b65\u7684\u76ee\u6807\u662f&#xff1a;\u628a\u4e00\u5806\u4e71\u4e03\u516b\u7cdf\u7684\u6587\u6863&#xff0c;\u53d8\u6210\u4e00\u4e2a<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u6309\u610f\u601d\u5c31\u80fd\u67e5<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u7684\u5e93\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u5b83\u5305\u542b\u56db\u4e2a\u52a8\u4f5c&#xff1a;<\/span><\/p>\n<li style=\"text-align:justify\"><span style=\"color:#111827\">\u5207\u5757&#xff08;Chunking&#xff09;<\/span><span style=\"color:#111827\">\u2014\u2014<\/span><span style=\"color:#111827\">\u4e00\u4efd<\/span><span style=\"color:#111827\"> 50 <\/span><span style=\"color:#111827\">\u9875\u7684<\/span><span style=\"color:#111827\"> PDF <\/span><span style=\"color:#111827\">\u6ca1\u6cd5\u6574\u7bc7\u585e\u7ed9\u6a21\u578b&#xff0c;\u5f97\u5207\u6210\u4e00\u6bb5\u4e00\u6bb5\u3002\u6bcf\u6bb5\u51e0\u767e\u4e2a\u5b57\u662f\u6bd4\u8f83\u5e38\u89c1\u7684\u505a\u6cd5\u3002<\/span><\/li>\n<li style=\"text-align:justify\"><span style=\"color:#111827\">\u5411\u91cf\u5316&#xff08;Embedding&#xff09;<\/span><span style=\"color:#111827\">\u2014\u2014<\/span><span style=\"color:#111827\">\u628a\u6bcf\u4e00\u6bb5\u6587\u5b57\u8f6c\u6362\u6210\u4e00\u4e32\u6570\u5b57&#xff08;\u901a\u5e38\u51e0\u767e\u5230\u51e0\u5343\u4e2a\u6570\u5b57&#xff09;&#xff0c;\u8fd9\u4e32\u6570\u5b57\u88ab\u79f0\u4e3a<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u5411\u91cf<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u3002\u5b83\u7684\u795e\u5947\u4e4b\u5904\u662f&#xff1a;<\/span><span style=\"color:#111827\">\u610f\u601d\u76f8\u8fd1\u7684\u6587\u5b57&#xff0c;\u8f6c\u6362\u51fa\u6765\u7684\u6570\u5b57\u4e32\u4e5f\u76f8\u4f3c\u3002<\/span><\/li>\n<li style=\"text-align:justify\"><span style=\"color:#111827\">\u5199\u5165\u5411\u91cf\u6570\u636e\u5e93<\/span><span style=\"color:#111827\">\u2014\u2014<\/span><span style=\"color:#111827\">\u628a\u8fd9\u4e9b\u5411\u91cf\u5b58\u8d77\u6765&#xff0c;\u540c\u65f6\u4fdd\u5b58\u539f\u6587\u548c\u6765\u6e90\u4fe1\u606f&#xff08;\u54ea\u4e2a\u6587\u4ef6\u3001\u7b2c\u51e0\u9875&#xff09;\u3002<\/span><\/li>\n<li style=\"text-align:justify\"><span style=\"color:#111827\">&#xff08;\u53ef\u9009&#xff09;\u52a0\u5143\u6570\u636e<\/span><span style=\"color:#111827\">\u2014\u2014<\/span><span style=\"color:#111827\">\u7ed9\u6bcf\u6bb5\u6253\u4e0a\u6807\u7b7e&#xff0c;\u6bd4\u5982<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u54ea\u4e00\u5e74<\/span><span style=\"color:#111827\">&#034;&#034;<\/span><span style=\"color:#111827\">\u54ea\u4e2a\u90e8\u95e8<\/span><span style=\"color:#111827\">&#034;&#034;<\/span><span style=\"color:#111827\">\u662f\u5426\u5df2\u5e9f\u6b62<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u3002<\/span><\/li>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u8fd9\u4e00\u6b65\u8dd1\u4e00\u6b21\u53ef\u80fd\u51e0\u5206\u949f\u5230\u51e0\u5c0f\u65f6&#xff0c;\u53d6\u51b3\u4e8e\u8d44\u6599\u91cf\u3002\u53ea\u6709\u8d44\u6599\u66f4\u65b0\u65f6\u624d\u9700\u8981\u91cd\u8dd1\u3002<\/span><\/p>\n<h4 style=\"margin-left:0pt;text-align:justify\"><span style=\"color:#111827\">\u9636\u6bb5\u4e8c&#xff1a;\u95ee\u7b54&#xff08;\u7528\u6237\u6bcf\u95ee\u4e00\u6b21\u8dd1\u4e00\u904d&#xff09;<\/span><\/h4>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u8fd9\u4e00\u6b65\u7684\u76ee\u6807\u662f&#xff1a;\u5728\u51e0\u79d2\u949f\u5185&#xff0c;\u627e\u5230\u6700\u76f8\u5173\u7684\u90a3\u51e0\u6bb5&#xff0c;\u7136\u540e\u8ba9\u6a21\u578b\u7167\u7740\u8bf4\u3002<\/span><\/p>\n<li style=\"text-align:justify\"><span style=\"color:#111827\">\u7528\u6237\u63d0\u95ee<\/span><span style=\"color:#111827\">\u2014\u2014<\/span><span style=\"color:#111827\">\u6bd4\u5982<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u4f4f\u9152\u5e97\u4e00\u665a\u4e0a\u6700\u591a\u80fd\u62a5\u591a\u5c11\u94b1<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u3002<\/span><\/li>\n<li style=\"text-align:justify\"><span style=\"color:#111827\">\u628a\u95ee\u9898\u4e5f\u8f6c\u6210\u5411\u91cf<\/span><span style=\"color:#111827\">\u2014\u2014<\/span><span style=\"color:#111827\">\u7528\u548c\u5efa\u5e93\u65f6<\/span><span style=\"color:#111827\">\u540c\u4e00\u4e2a<\/span><span style=\"color:#111827\">\u6a21\u578b&#xff0c;\u628a\u95ee\u9898\u53d8\u6210\u540c\u4e00\u5957\u5750\u6807\u7cfb\u91cc\u7684\u4e00\u4e2a\u70b9\u3002<\/span><\/li>\n<li style=\"text-align:justify\"><span style=\"color:#111827\">\u68c0\u7d22&#xff08;Retrieval&#xff09;<\/span><span style=\"color:#111827\">\u2014\u2014<\/span><span style=\"color:#111827\">\u5728\u5411\u91cf\u5e93\u91cc\u627e<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u8ddd\u79bb\u95ee\u9898\u6700\u8fd1<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u7684\u51e0\u4e2a\u6bb5\u843d&#xff0c;\u901a\u5e38\u53d6\u524d<\/span><span style=\"color:#111827\"> 3 <\/span><span style=\"color:#111827\">\u5230<\/span><span style=\"color:#111827\"> 20 <\/span><span style=\"color:#111827\">\u4e2a\u3002<\/span><\/li>\n<li style=\"text-align:justify\"><span style=\"color:#111827\">\u91cd\u6392&#xff08;Rerank&#xff09;<\/span><span style=\"color:#111827\">\u2014\u2014<\/span><span style=\"color:#111827\">\u5bf9\u68c0\u7d22\u51fa\u6765\u7684\u7ed3\u679c\u91cd\u65b0\u6253\u5206\u6392\u5e8f&#xff0c;\u628a\u771f\u6b63\u6700\u76f8\u5173\u7684\u653e\u5230\u6700\u524d\u9762\u3002<\/span><\/li>\n<li style=\"text-align:justify\"><span style=\"color:#111827\">\u62fc\u6210\u63d0\u793a\u8bcd<\/span><span style=\"color:#111827\">\u2014\u2014<\/span><span style=\"color:#111827\">\u628a\u95ee\u9898\u548c\u68c0\u7d22\u7ed3\u679c\u7ec4\u88c5\u6210\u4e00\u6bb5\u5b8c\u6574\u7684\u8f93\u5165\u3002<\/span><\/li>\n<li style=\"text-align:justify\"><span style=\"color:#111827\">\u5927\u6a21\u578b\u751f\u6210<\/span><span style=\"color:#111827\">\u2014\u2014<\/span><span style=\"color:#111827\">\u6a21\u578b\u57fa\u4e8e\u8fd9\u4e9b\u8d44\u6599\u4ea7\u51fa\u56de\u7b54&#xff0c;\u5e76\u6807\u6ce8\u51fa\u5904\u3002<\/span><\/li>\n<h4 style=\"margin-left:0pt;text-align:justify\"><span style=\"color:#111827\">\u4e00\u4e2a\u5173\u952e\u8ba4\u77e5<\/span><\/h4>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u770b\u5b8c\u8fd9\u4e24\u6761\u6d41\u6c34\u7ebf&#xff0c;\u6709\u4e2a\u4e8b\u60c5\u503c\u5f97\u5355\u72ec\u62ce\u51fa\u6765\u8bf4&#xff1a;<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">RAG \u4ece\u5934\u5230\u5c3e\u6ca1\u6709\u6539\u53d8\u6a21\u578b\u672c\u8eab\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u6a21\u578b\u8fd8\u662f\u90a3\u4e2a\u6a21\u578b&#xff0c;\u53c2\u6570\u4e00\u4e2a\u90fd\u6ca1\u52a8\u3002<\/span><span style=\"color:#111827\">RAG <\/span><span style=\"color:#111827\">\u505a\u7684\u6240\u6709\u4e8b\u60c5&#xff0c;\u90fd\u53d1\u751f\u5728\u6a21\u578b\u7684<\/span><span style=\"color:#111827\">\u5916\u9762<\/span><span style=\"color:#111827\">\u2014\u2014<\/span><span style=\"color:#111827\">\u5728\u5b83\u5f20\u5634\u4e4b\u524d&#xff0c;\u628a<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u8be5\u770b\u7684\u6750\u6599<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u6446\u5230\u5b83\u9762\u524d\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u8fd9\u4e2a\u8ba4\u77e5\u975e\u5e38\u91cd\u8981&#xff0c;\u5b83\u76f4\u63a5\u89e3\u91ca\u4e86<\/span><span style=\"color:#111827\"> RAG <\/span><span style=\"color:#111827\">\u7684\u4e24\u4e2a\u7279\u70b9&#xff1a;<\/span><\/p>\n<ul>\n<li style=\"text-align:justify\"><span style=\"color:#111827\">\u4e3a\u4ec0\u4e48\u5b83\u4fbf\u5b9c<\/span><span style=\"color:#111827\">&#xff1a;\u4e0d\u9700\u8981\u6807\u6ce8\u6570\u636e\u3001\u4e0d\u9700\u8981\u8bad\u7ec3\u3001\u4e0d\u9700\u8981<\/span><span style=\"color:#111827\"> GPU <\/span><span style=\"color:#111827\">\u96c6\u7fa4&#xff0c;\u6539\u6587\u6863\u5c31\u80fd\u6539\u7b54\u6848&#xff1b;<\/span><\/li>\n<li style=\"text-align:justify\"><span style=\"color:#111827\">\u4e3a\u4ec0\u4e48\u5b83\u5feb<\/span><span style=\"color:#111827\">&#xff1a;\u77e5\u8bc6\u66f4\u65b0\u53ea\u9700\u8981\u91cd\u5efa\u7d22\u5f15&#xff0c;\u800c\u4e0d\u662f\u91cd\u8bad\u6a21\u578b&#xff08;\u4e00\u6b21\u7d22\u5f15\u53ef\u80fd\u51e0\u5206\u949f&#xff0c;\u4e00\u6b21\u8bad\u7ec3\u8981\u51e0\u5929&#xff09;\u3002<\/span><\/li>\n<\/ul>\n<table border=\"1\" cellspacing=\"0\">\n<tbody>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"background-color:#f0f5fa;height:27px;vertical-align:top;width:576px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u4e00\u53e5\u8bdd\u8bb0\u4f4f<\/span><span style=\"color:#111827\">&#xff1a;<\/span><span style=\"color:#111827\">RAG <\/span><span style=\"color:#111827\">\u4e0d\u6539\u6a21\u578b&#xff0c;\u6539\u7684\u662f\u5582\u7ed9\u6a21\u578b\u7684\u4e1c\u897f\u3002<\/span><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3 style=\"margin-left:0pt;text-align:justify\"><span style=\"color:#111827\">\u56db\u3001\u624b\u6413\u4e00\u4e2a\u6700\u5c0f\u53ef\u8fd0\u884c\u7684 RAG<\/span><\/h3>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u524d\u9762\u8bb2\u4e86\u8fd9\u4e48\u591a\u6982\u5ff5&#xff0c;\u73b0\u5728\u6211\u4eec\u6765\u52a8\u624b\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u4e0b\u9762\u8fd9\u6bb5\u4ee3\u7801\u4e0d\u5230<\/span><span style=\"color:#111827\"> 90 <\/span><span style=\"color:#111827\">\u884c&#xff0c;\u53ea\u7528\u4e86<\/span><span style=\"color:#111827\"> Python <\/span><span style=\"color:#111827\">\u6807\u51c6\u5e93<\/span><span style=\"color:#111827\">\u2014\u2014<\/span><span style=\"color:#111827\">\u4e0d\u88c5\u4efb\u4f55\u7b2c\u4e09\u65b9\u5305&#xff0c;\u4e0d\u8981<\/span><span style=\"color:#111827\"> API Key<\/span><span style=\"color:#111827\">&#xff0c;\u4f60\u590d\u5236\u5230\u672c\u5730\u5b58\u6210<\/span> <span style=\"color:#111827\">rag_demo.py<\/span><span style=\"color:#111827\"> \u5c31\u80fd\u76f4\u63a5\u8dd1\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u5b83\u5b9e\u73b0\u4e86\u4e00\u4e2a\u5b8c\u6574\u7684<\/span><span style=\"color:#111827\"> RAG<\/span><span style=\"color:#111827\">&#xff1a;\u5207\u5757<\/span><span style=\"color:#111827\"> \u2192 <\/span><span style=\"color:#111827\">\u5411\u91cf\u5316<\/span><span style=\"color:#111827\"> \u2192 <\/span><span style=\"color:#111827\">\u68c0\u7d22<\/span><span style=\"color:#111827\"> \u2192 <\/span><span style=\"color:#111827\">\u62fc\u63d0\u793a\u8bcd\u3002\u867d\u7136\u7b80\u964b&#xff0c;\u4f46\u9aa8\u67b6\u548c\u5de5\u4e1a\u7ea7\u7cfb\u7edf\u5b8c\u5168\u4e00\u6837\u3002<\/span><\/p>\n<table border=\"1\" cellspacing=\"0\">\n<tbody>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"background-color:#f3f4f6;height:27px;vertical-align:middle;width:576px\">\n<p style=\"margin-left:0;text-align:left\"><span style=\"color:#111827\">Python<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"background-color:#f9fafb;height:27px;vertical-align:middle;width:576px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">&#034;&#034;&#034;<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u6700\u5c0f\u53ef\u8fd0\u884c<\/span><span style=\"color:#111827\"> RAG <\/span><span style=\"color:#111827\">\u6f14\u793a<\/span><span style=\"color:#111827\"> \u2014\u2014 <\/span><span style=\"color:#111827\">\u53ea\u7528<\/span><span style=\"color:#111827\"> Python <\/span><span style=\"color:#111827\">\u6807\u51c6\u5e93&#xff0c;\u4e0d\u9700\u8981\u4efb\u4f55<\/span><span style=\"color:#111827\"> API Key<\/span><span style=\"color:#111827\">\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u8fd0\u884c&#xff1a;<\/span><span style=\"color:#111827\">python rag_demo.py<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">&#034;&#034;&#034;<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u200b<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">import math<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">from collections import Counter<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u200b<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\"># &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\"># <\/span><span style=\"color:#111827\">\u7b2c<\/span><span style=\"color:#111827\"> 0 <\/span><span style=\"color:#111827\">\u6b65&#xff1a;\u77e5\u8bc6\u5e93&#xff08;\u771f\u5b9e\u9879\u76ee\u91cc\u662f\u4e00\u5806<\/span><span style=\"color:#111827\"> PDF \/ Word \/ <\/span><span style=\"color:#111827\">\u7f51\u9875&#xff0c;\u8fd9\u91cc\u624b\u5199\u6210\u5c0f\u5757&#xff09;<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\"># &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">DOCS &#061; [<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">(&#034;<\/span><span style=\"color:#111827\">\u62a5\u9500\u5236\u5ea6<\/span><span style=\"color:#111827\">&#034;, &#034;<\/span><span style=\"color:#111827\">\u5458\u5de5\u51fa\u5dee\u4ea7\u751f\u7684\u4ea4\u901a\u8d39\u3001\u9910\u8d39\u548c\u5dee\u65c5\u8d39&#xff0c;\u9700\u5728\u8fd4\u56de\u540e<\/span><span style=\"color:#111827\"> 15 <\/span><span style=\"color:#111827\">\u4e2a\u5de5\u4f5c\u65e5\u5185\u63d0\u4ea4\u62a5\u9500\u5355\u3002<\/span><span style=\"color:#111827\">&#034;<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u5355\u7b14\u91d1\u989d\u8d85\u8fc7<\/span><span style=\"color:#111827\"> 5000 <\/span><span style=\"color:#111827\">\u5143&#xff0c;\u9700\u8981\u90e8\u95e8\u603b\u76d1\u5ba1\u6279&#xff1b;\u8d85\u8fc7<\/span><span style=\"color:#111827\"> 20000 <\/span><span style=\"color:#111827\">\u5143&#xff0c;\u8fd8\u9700\u8981\u8d22\u52a1\u603b\u76d1\u5ba1\u6279\u3002<\/span><span style=\"color:#111827\">&#034;),<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">(&#034;<\/span><span style=\"color:#111827\">\u8bf7\u5047\u5236\u5ea6<\/span><span style=\"color:#111827\">&#034;, &#034;<\/span><span style=\"color:#111827\">\u5458\u5de5\u8bf7\u5047\u9700\u8981\u63d0\u524d<\/span><span style=\"color:#111827\"> 1 <\/span><span style=\"color:#111827\">\u4e2a\u5de5\u4f5c\u65e5\u5728\u7cfb\u7edf\u5185\u63d0\u4ea4\u7533\u8bf7\u3002\u8fde\u7eed\u8bf7\u5047<\/span><span style=\"color:#111827\"> 3 <\/span><span style=\"color:#111827\">\u5929\u4ee5\u5185\u7531\u76f4\u5c5e\u4e3b\u7ba1\u5ba1\u6279&#xff0c;<\/span><span style=\"color:#111827\">&#034;<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u8d85\u8fc7<\/span><span style=\"color:#111827\"> 3 <\/span><span style=\"color:#111827\">\u5929\u9700\u8981\u90e8\u95e8\u603b\u76d1\u5ba1\u6279\u3002<\/span><span style=\"color:#111827\">&#034;),<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">(&#034;<\/span><span style=\"color:#111827\">\u5e74\u5047\u89c4\u5219<\/span><span style=\"color:#111827\">&#034;, &#034;<\/span><span style=\"color:#111827\">\u5165\u804c\u6ee1<\/span><span style=\"color:#111827\"> 1 <\/span><span style=\"color:#111827\">\u5e74\u4eab\u6709<\/span><span style=\"color:#111827\"> 5 <\/span><span style=\"color:#111827\">\u5929\u5e74\u5047&#xff0c;\u4e4b\u540e\u6bcf\u6ee1<\/span><span style=\"color:#111827\"> 1 <\/span><span style=\"color:#111827\">\u5e74\u589e\u52a0<\/span><span style=\"color:#111827\"> 1 <\/span><span style=\"color:#111827\">\u5929&#xff0c;\u4e0a\u9650<\/span><span style=\"color:#111827\"> 15 <\/span><span style=\"color:#111827\">\u5929\u3002<\/span><span style=\"color:#111827\">&#034;<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u5e74\u5047\u5f53\u5e74\u6709\u6548&#xff0c;\u6700\u591a\u53ef\u4ee5\u7ed3\u8f6c<\/span><span style=\"color:#111827\"> 5 <\/span><span style=\"color:#111827\">\u5929\u5230\u4e0b\u4e00\u5e74\u5ea6\u3002<\/span><span style=\"color:#111827\">&#034;),<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">(&#034;<\/span><span style=\"color:#111827\">\u5dee\u65c5\u6807\u51c6<\/span><span style=\"color:#111827\">&#034;, &#034;<\/span><span style=\"color:#111827\">\u4f4f\u5bbf\u6807\u51c6\u6309\u57ce\u5e02\u5206\u7ea7&#xff1a;\u4e00\u7ebf\u57ce\u5e02\u6bcf\u665a\u4e0d\u8d85\u8fc7<\/span><span style=\"color:#111827\"> 600 <\/span><span style=\"color:#111827\">\u5143&#xff0c;\u4e8c\u7ebf\u57ce\u5e02<\/span><span style=\"color:#111827\"> 450 <\/span><span style=\"color:#111827\">\u5143&#xff0c;<\/span><span style=\"color:#111827\">&#034;<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u5176\u4ed6\u57ce\u5e02<\/span><span style=\"color:#111827\"> 350 <\/span><span style=\"color:#111827\">\u5143\u3002\u8d85\u6807\u90e8\u5206\u9700\u8981\u5458\u5de5\u81ea\u884c\u627f\u62c5\u3002<\/span><span style=\"color:#111827\">&#034;),<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">(&#034;<\/span><span style=\"color:#111827\">\u6545\u969c\u7801\u8bf4\u660e<\/span><span style=\"color:#111827\">&#034;, &#034;<\/span><span style=\"color:#111827\">\u9519\u8bef\u7801<\/span><span style=\"color:#111827\"> TS-999 <\/span><span style=\"color:#111827\">\u8868\u793a\u7f51\u5173\u4e0e\u9274\u6743\u670d\u52a1\u4e4b\u95f4\u7684\u63e1\u624b\u8d85\u65f6&#xff0c;\u901a\u5e38\u7531\u670d\u52a1\u5668\u65f6\u949f\u4e0d\u540c\u6b65\u5f15\u8d77&#xff0c;<\/span><span style=\"color:#111827\">&#034;<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u5efa\u8bae\u5148\u68c0\u67e5<\/span><span style=\"color:#111827\"> NTP <\/span><span style=\"color:#111827\">\u670d\u52a1\u72b6\u6001\u3002<\/span><span style=\"color:#111827\">&#034;),<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">]<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u200b<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\"># &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\"># <\/span><span style=\"color:#111827\">\u7b2c<\/span><span style=\"color:#111827\"> 1 <\/span><span style=\"color:#111827\">\u6b65&#xff1a;\u5207\u8bcd<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\"># <\/span><span style=\"color:#111827\">\u4e2d\u6587\u4e0d\u50cf\u82f1\u6587\u6709\u7a7a\u683c&#xff0c;\u6b63\u5e38\u9879\u76ee\u4f1a\u7528<\/span><span style=\"color:#111827\"> jieba <\/span><span style=\"color:#111827\">\u5206\u8bcd&#xff1b;\u8fd9\u91cc\u4e3a\u4e86\u4e0d\u88c5\u4efb\u4f55\u5e93&#xff0c;<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\"># <\/span><span style=\"color:#111827\">\u7528\u4e00\u4e2a\u5077\u61d2\u4f46\u6709\u6548\u7684\u529e\u6cd5&#xff1a;\u628a\u8fde\u7eed\u4e24\u4e2a\u5b57\u5f53\u4f5c\u4e00\u4e2a<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u8bcd<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">&#xff08;<\/span><span style=\"color:#111827\">bigram<\/span><span style=\"color:#111827\">&#xff09;\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\"># &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">def to_terms(text):<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">text &#061; &#034;&#034;.join(ch for ch in text if not ch.isspace())<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">return [text[i:i &#043; 2] for i in range(len(text) &#8211; 1)]<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u200b<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u200b<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\"># &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\"># <\/span><span style=\"color:#111827\">\u7b2c<\/span><span style=\"color:#111827\"> 2 <\/span><span style=\"color:#111827\">\u6b65&#xff1a;\u628a\u6bcf\u4e2a\u6587\u672c\u5757\u53d8\u6210\u4e00\u4e2a\u5411\u91cf&#xff08;\u4e00\u4e32\u6570\u5b57&#xff09;<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\"># <\/span><span style=\"color:#111827\">\u7528\u7ecf\u5178\u7684<\/span><span style=\"color:#111827\"> TF-IDF<\/span><span style=\"color:#111827\">&#xff1a;\u4e00\u4e2a\u8bcd\u5728\u672c\u5757\u91cc\u51fa\u73b0\u8d8a\u591a\u3001\u5728\u6240\u6709\u5757\u91cc\u51fa\u73b0\u8d8a\u5c11&#xff0c;\u6743\u91cd\u8d8a\u9ad8\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\"># <\/span><span style=\"color:#111827\">\u771f\u5b9e\u9879\u76ee\u4f1a\u6362\u6210<\/span><span style=\"color:#111827\"> embedding <\/span><span style=\"color:#111827\">\u6a21\u578b&#xff0c;\u4f46<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u6587\u672c<\/span><span style=\"color:#111827\"> -&gt; <\/span><span style=\"color:#111827\">\u4e00\u4e32\u6570\u5b57<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u8fd9\u4ef6\u4e8b\u662f\u4e00\u6837\u7684\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\"># &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">def build_index(docs):<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">term_sets &#061; [to_terms(text) for _, text in docs]<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u200b<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">df &#061; Counter() # <\/span><span style=\"color:#111827\">\u8bb0\u5f55\u6bcf\u4e2a\u8bcd\u51fa\u73b0\u5728\u591a\u5c11\u4e2a\u6587\u672c\u5757\u91cc<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">for terms in term_sets:<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">for t in set(terms):<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">df[t] &#043;&#061; 1<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u200b<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">n &#061; len(docs)<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">vectors &#061; []<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">for terms in term_sets:<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">tf &#061; Counter(terms)<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">vec &#061; {}<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">for term, count in tf.items():<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">idf &#061; math.log((n &#043; 1) \/ (df[term] &#043; 1)) &#043; 1 # <\/span><span style=\"color:#111827\">\u5e73\u6ed1<\/span><span style=\"color:#111827\"> IDF<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">vec[term] &#061; (1 &#043; math.log(count)) * idf # <\/span><span style=\"color:#111827\">\u5bf9\u6570<\/span><span style=\"color:#111827\"> TF * IDF<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">vectors.append(vec)<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">return vectors, df<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u200b<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u200b<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\"># &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\"># <\/span><span style=\"color:#111827\">\u7b2c<\/span><span style=\"color:#111827\"> 3 <\/span><span style=\"color:#111827\">\u6b65&#xff1a;\u7b97<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u4e24\u6bb5\u6587\u5b57\u6709\u591a\u50cf<\/span><span style=\"color:#111827\">&#034; \u2014\u2014 <\/span><span style=\"color:#111827\">\u4f59\u5f26\u76f8\u4f3c\u5ea6<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\"># <\/span><span style=\"color:#111827\">\u628a\u4e24\u4e2a\u5411\u91cf\u770b\u6210\u4e24\u652f\u7bad&#xff0c;\u5939\u89d2\u8d8a\u5c0f\u8d8a\u50cf\u3002\u53d6\u503c<\/span><span style=\"color:#111827\"> 0 <\/span><span style=\"color:#111827\">\u5230<\/span><span style=\"color:#111827\"> 1<\/span><span style=\"color:#111827\">&#xff0c;\u8d8a\u5927\u8d8a\u50cf\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\"># &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">def cosine(a, b):<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">common &#061; set(a) &amp; set(b)<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">if not common:<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">return 0.0<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">dot &#061; sum(a[t] * b[t] for t in common)<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">norm_a &#061; math.sqrt(sum(v * v for v in a.values()))<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">norm_b &#061; math.sqrt(sum(v * v for v in b.values()))<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">return dot \/ (norm_a * norm_b)<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u200b<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u200b<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">def vectorize_query(query, df, n_docs):<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">tf &#061; Counter(to_terms(query))<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">vec &#061; {}<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">for term, count in tf.items():<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">idf &#061; math.log((n_docs &#043; 1) \/ (df.get(term, 0) &#043; 1)) &#043; 1<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">vec[term] &#061; (1 &#043; math.log(count)) * idf<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">return vec<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u200b<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u200b<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\"># &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\"># <\/span><span style=\"color:#111827\">\u7b2c<\/span><span style=\"color:#111827\"> 4 <\/span><span style=\"color:#111827\">\u6b65&#xff1a;\u68c0\u7d22<\/span><span style=\"color:#111827\"> \u2014\u2014 <\/span><span style=\"color:#111827\">\u628a\u95ee\u9898\u4e5f\u53d8\u6210\u5411\u91cf&#xff0c;\u7136\u540e\u627e\u51fa\u6700\u50cf\u7684\u51e0\u5757<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\"># &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">def retrieve(query, docs, vectors, df, top_k&#061;2):<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">q_vec &#061; vectorize_query(query, df, len(docs))<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">scored &#061; [(cosine(q_vec, d_vec), idx) for idx, d_vec in enumerate(vectors)]<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">scored.sort(reverse&#061;True)<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">return scored[:top_k]<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u200b<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u200b<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\"># &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\"># <\/span><span style=\"color:#111827\">\u7b2c<\/span><span style=\"color:#111827\"> 5 <\/span><span style=\"color:#111827\">\u6b65&#xff1a;\u62fc\u63d0\u793a\u8bcd<\/span><span style=\"color:#111827\"> \u2014\u2014 <\/span><span style=\"color:#111827\">\u628a\u68c0\u7d22\u7ed3\u679c\u585e\u8fdb\u5927\u6a21\u578b\u7684\u8f93\u5165<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\"># &#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">def build_prompt(query, hits, docs):<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">context &#061; &#034;\\\\n&#034;.join(<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">&#034;[%d] %s<\/span><span style=\"color:#111827\">&#xff1a;<\/span><span style=\"color:#111827\">%s&#034; % (rank &#043; 1, docs[idx][0], docs[idx][1])<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">for rank, (_, idx) in enumerate(hits)<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">)<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">return (<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u4f60\u662f\u516c\u53f8\u5185\u90e8\u52a9\u624b\u3002\u8bf7\u4e25\u683c\u4f9d\u636e\u4e0b\u9762\u7684\u8d44\u6599\u56de\u7b54\u95ee\u9898&#xff0c;<\/span><span style=\"color:#111827\">&#034;<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u8d44\u6599\u91cc\u6ca1\u6709\u7684\u5185\u5bb9\u4e0d\u8981\u7f16\u9020&#xff0c;\u76f4\u63a5\u56de\u7b54<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u8d44\u6599\u4e2d\u6ca1\u6709\u76f8\u5173\u4fe1\u606f<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u3002<\/span><span style=\"color:#111827\">\\\\n\\\\n&#034;<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u8d44\u6599&#xff1a;<\/span><span style=\"color:#111827\">\\\\n%s\\\\n\\\\n<\/span><span style=\"color:#111827\">\u95ee\u9898&#xff1a;<\/span><span style=\"color:#111827\">%s\\\\n\\\\n<\/span><span style=\"color:#111827\">\u56de\u7b54&#xff1a;<\/span><span style=\"color:#111827\">&#034; % (context, query)<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">)<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u200b<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u200b<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">if __name__ &#061;&#061; &#034;__main__&#034;:<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">vectors, df &#061; build_index(DOCS)<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">print(&#034;<\/span><span style=\"color:#111827\">\u77e5\u8bc6\u5e93\u5171<\/span><span style=\"color:#111827\"> %d <\/span><span style=\"color:#111827\">\u4e2a\u6587\u672c\u5757&#xff0c;\u5efa\u597d\u7d22\u5f15\u540e\u8bcd\u8868\u5927\u5c0f<\/span><span style=\"color:#111827\"> &#061; %d\\\\n&#034; % (len(DOCS), len(df)))<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u200b<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">for q in [&#034;<\/span><span style=\"color:#111827\">\u51fa\u5dee\u56de\u6765\u591a\u4e45\u4e4b\u5185\u8981\u62a5\u9500&#xff1f;<\/span><span style=\"color:#111827\">&#034;, &#034;TS-999 <\/span><span style=\"color:#111827\">\u662f\u4ec0\u4e48\u95ee\u9898&#xff1f;<\/span><span style=\"color:#111827\">&#034;]:<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">print(&#034;&#061;&#034; * 62)<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">print(&#034;<\/span><span style=\"color:#111827\">\u7528\u6237\u63d0\u95ee&#xff1a;<\/span><span style=\"color:#111827\">%s&#034; % q)<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">hits &#061; retrieve(q, DOCS, vectors, df, top_k&#061;2)<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">print(&#034;<\/span><span style=\"color:#111827\">\u68c0\u7d22\u7ed3\u679c&#xff08;\u76f8\u4f3c\u5ea6\u8d8a\u9ad8\u8d8a\u76f8\u5173&#xff09;&#xff1a;<\/span><span style=\"color:#111827\">&#034;)<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">for score, idx in hits:<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">print(&#034; %.3f &lt;- [%s]&#034; % (score, DOCS[idx][0]))<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">print(&#034;\\\\n&#8212; <\/span><span style=\"color:#111827\">\u6700\u7ec8\u9001\u7ed9\u5927\u6a21\u578b\u7684\u63d0\u793a\u8bcd<\/span><span style=\"color:#111827\"> &#8212;&#034;)<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">print(build_prompt(q, hits, DOCS))<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">print()<\/span><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4 style=\"margin-left:0pt;text-align:justify\"><span style=\"color:#111827\">\u8dd1\u51fa\u6765\u662f\u4ec0\u4e48\u6837<\/span><\/h4>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u6211\u5728\u672c\u673a\u628a\u8fd9\u6bb5\u4ee3\u7801\u8dd1\u4e86\u4e00\u904d&#xff0c;\u771f\u5b9e\u8f93\u51fa\u662f\u8fd9\u6837\u7684&#xff1a;<\/span><\/p>\n<table border=\"1\" cellspacing=\"0\">\n<tbody>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"background-color:#f3f4f6;height:27px;vertical-align:middle;width:576px\">\n<p style=\"margin-left:0;text-align:left\"><span style=\"color:#111827\">\u8fd0\u884c\u7ed3\u679c<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"background-color:#f9fafb;height:27px;vertical-align:middle;width:576px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u77e5\u8bc6\u5e93\u5171<\/span><span style=\"color:#111827\"> 5 <\/span><span style=\"color:#111827\">\u4e2a\u6587\u672c\u5757&#xff0c;\u5efa\u597d\u7d22\u5f15\u540e\u8bcd\u8868\u5927\u5c0f<\/span><span style=\"color:#111827\"> &#061; 221<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u200b<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u7528\u6237\u63d0\u95ee&#xff1a;\u51fa\u5dee\u56de\u6765\u591a\u4e45\u4e4b\u5185\u8981\u62a5\u9500&#xff1f;<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u68c0\u7d22\u7ed3\u679c&#xff08;\u76f8\u4f3c\u5ea6\u8d8a\u9ad8\u8d8a\u76f8\u5173&#xff09;&#xff1a;<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">0.057 &lt;- [<\/span><span style=\"color:#111827\">\u62a5\u9500\u5236\u5ea6<\/span><span style=\"color:#111827\">]<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">0.000 &lt;- [<\/span><span style=\"color:#111827\">\u6545\u969c\u7801\u8bf4\u660e<\/span><span style=\"color:#111827\">]<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u200b<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">&#8212; <\/span><span style=\"color:#111827\">\u6700\u7ec8\u9001\u7ed9\u5927\u6a21\u578b\u7684\u63d0\u793a\u8bcd<\/span><span style=\"color:#111827\"> &#8212;<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u4f60\u662f\u516c\u53f8\u5185\u90e8\u52a9\u624b\u3002\u8bf7\u4e25\u683c\u4f9d\u636e\u4e0b\u9762\u7684\u8d44\u6599\u56de\u7b54\u95ee\u9898&#xff0c;\u8d44\u6599\u91cc\u6ca1\u6709\u7684\u5185\u5bb9\u4e0d\u8981\u7f16\u9020&#xff0c;<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u76f4\u63a5\u56de\u7b54<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u8d44\u6599\u4e2d\u6ca1\u6709\u76f8\u5173\u4fe1\u606f<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u200b<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u8d44\u6599&#xff1a;<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">[1] <\/span><span style=\"color:#111827\">\u62a5\u9500\u5236\u5ea6&#xff1a;\u5458\u5de5\u51fa\u5dee\u4ea7\u751f\u7684\u4ea4\u901a\u8d39\u3001\u9910\u8d39\u548c\u5dee\u65c5\u8d39&#xff0c;\u9700\u5728\u8fd4\u56de\u540e<\/span><span style=\"color:#111827\"> 15 <\/span><span style=\"color:#111827\">\u4e2a\u5de5\u4f5c\u65e5\u5185\u63d0\u4ea4\u62a5\u9500\u5355\u3002\u5355\u7b14\u91d1\u989d\u8d85\u8fc7<\/span><span style=\"color:#111827\"> 5000 <\/span><span style=\"color:#111827\">\u5143&#xff0c;\u9700\u8981\u90e8\u95e8\u603b\u76d1\u5ba1\u6279&#xff1b;\u8d85\u8fc7<\/span><span style=\"color:#111827\"> 20000 <\/span><span style=\"color:#111827\">\u5143&#xff0c;\u8fd8\u9700\u8981\u8d22\u52a1\u603b\u76d1\u5ba1\u6279\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">[2] <\/span><span style=\"color:#111827\">\u6545\u969c\u7801\u8bf4\u660e&#xff1a;\u9519\u8bef\u7801<\/span><span style=\"color:#111827\"> TS-999 <\/span><span style=\"color:#111827\">\u8868\u793a\u7f51\u5173\u4e0e\u9274\u6743\u670d\u52a1\u4e4b\u95f4\u7684\u63e1\u624b\u8d85\u65f6&#xff0c;\u901a\u5e38\u7531\u670d\u52a1\u5668\u65f6\u949f\u4e0d\u540c\u6b65\u5f15\u8d77&#xff0c;\u5efa\u8bae\u5148\u68c0\u67e5<\/span><span style=\"color:#111827\"> NTP <\/span><span style=\"color:#111827\">\u670d\u52a1\u72b6\u6001\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u200b<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u95ee\u9898&#xff1a;\u51fa\u5dee\u56de\u6765\u591a\u4e45\u4e4b\u5185\u8981\u62a5\u9500&#xff1f;<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u200b<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u56de\u7b54&#xff1a;<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u200b<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u7528\u6237\u63d0\u95ee&#xff1a;<\/span><span style=\"color:#111827\">TS-999 <\/span><span style=\"color:#111827\">\u662f\u4ec0\u4e48\u95ee\u9898&#xff1f;<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u68c0\u7d22\u7ed3\u679c&#xff08;\u76f8\u4f3c\u5ea6\u8d8a\u9ad8\u8d8a\u76f8\u5173&#xff09;&#xff1a;<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">0.196 &lt;- [<\/span><span style=\"color:#111827\">\u6545\u969c\u7801\u8bf4\u660e<\/span><span style=\"color:#111827\">]<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">0.000 &lt;- [<\/span><span style=\"color:#111827\">\u5dee\u65c5\u6807\u51c6<\/span><span style=\"color:#111827\">]<\/span><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u770b\u5230\u90a3\u4e2a\u63d0\u793a\u8bcd\u7684\u6700\u540e\u4e00\u884c\u4e86\u5417&#xff1f;<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u56de\u7b54&#xff1a;<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u540e\u9762\u662f\u7a7a\u7684\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u56e0\u4e3a\u8fd9\u4e00\u6b65\u53ea\u662f<\/span><span style=\"color:#111827\">\u62fc\u597d\u63d0\u793a\u8bcd<\/span><span style=\"color:#111827\">&#xff0c;\u771f\u6b63\u8bf4\u8bdd\u7684\u662f\u5927\u6a21\u578b\u3002\u628a\u8fd9\u6bb5\u6587\u5b57\u539f\u6837\u53d1\u7ed9\u4efb\u4f55\u4e00\u4e2a\u5927\u6a21\u578b<\/span><span style=\"color:#111827\"> API<\/span><span style=\"color:#111827\">&#xff08;<\/span><span style=\"color:#111827\">OpenAI<\/span><span style=\"color:#111827\">\u3001<\/span><span style=\"color:#111827\">Claude<\/span><span style=\"color:#111827\">\u3001\u901a\u4e49\u5343\u95ee\u3001<\/span><span style=\"color:#111827\">DeepSeek <\/span><span style=\"color:#111827\">\u90fd\u884c&#xff09;&#xff0c;\u5b83\u5c31\u4f1a\u57fa\u4e8e\u4f60\u7ed9\u7684\u8d44\u6599\u56de\u7b54\u95ee\u9898<\/span><span style=\"color:#111827\">\u2014\u2014<\/span><span style=\"color:#111827\">\u800c\u4e14\u56e0\u4e3a\u4f60\u5728\u63d0\u793a\u8bcd\u91cc\u660e\u786e\u8981\u6c42\u4e86<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u8d44\u6599\u91cc\u6ca1\u6709\u7684\u5185\u5bb9\u4e0d\u8981\u7f16\u9020<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">&#xff0c;\u5b83\u5927\u6982\u7387\u4f1a\u8001\u8001\u5b9e\u5b9e\u7b54<\/span><span style=\"color:#111827\">&#034;15 <\/span><span style=\"color:#111827\">\u4e2a\u5de5\u4f5c\u65e5<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">&#xff0c;\u6216\u8005\u5728\u4f60\u95ee\u5b83\u6ca1\u6536\u5f55\u7684\u95ee\u9898\u65f6\u8bf4<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u8d44\u6599\u4e2d\u6ca1\u6709\u76f8\u5173\u4fe1\u606f<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u8fd9\u5c31\u662f\u4e00\u4e2a<\/span><span style=\"color:#111827\"> RAG <\/span><span style=\"color:#111827\">\u7684\u5168\u90e8\u9aa8\u67b6\u3002<\/span><\/p>\n<h4 style=\"margin-left:0pt;text-align:justify\"><span style=\"color:#111827\">\u51e0\u4e2a\u503c\u5f97\u6ce8\u610f\u7684\u7ec6\u8282<\/span><\/h4>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u8dd1\u5b8c\u8fd9\u6bb5\u4ee3\u7801&#xff0c;\u6709\u51e0\u4e2a\u70b9\u4f60\u53ef\u4ee5\u7559\u610f\u4e00\u4e0b\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u7b2c\u4e00&#xff0c;\u76f8\u4f3c\u5ea6\u5206\u6570\u90fd\u5f88\u5c0f\u3002<\/span><span style=\"color:#111827\"> 0.057<\/span><span style=\"color:#111827\">\u3001<\/span><span style=\"color:#111827\">0.196 <\/span><span style=\"color:#111827\">\u8fd9\u6837\u7684\u6570\u5b57&#xff0c;\u770b\u8d77\u6765\u50cf\u662f<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u51e0\u4e4e\u4e0d\u76f8\u5173<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u3002\u5176\u5b9e\u4e0d\u662f<\/span><span style=\"color:#111827\">\u2014\u2014<\/span><span style=\"color:#111827\">\u5728\u8fd9\u4e2a\u7a00\u758f\u5411\u91cf\u7684\u573a\u666f\u4e0b&#xff0c;\u7edd\u5bf9\u6570\u503c\u672c\u8eab\u6ca1\u6709\u610f\u4e49&#xff0c;<\/span><span style=\"color:#111827\">\u6211\u4eec\u53ea\u770b\u76f8\u5bf9\u6392\u5e8f<\/span><span style=\"color:#111827\">&#xff1a;\u8c01\u6392\u7b2c\u4e00&#xff0c;\u8c01\u5c31\u662f\u6700\u76f8\u5173\u7684\u3002\u751f\u4ea7\u73af\u5883\u91cc\u7528\u771f\u6b63\u7684<\/span><span style=\"color:#111827\"> embedding <\/span><span style=\"color:#111827\">\u6a21\u578b\u65f6&#xff0c;\u5206\u6570\u901a\u5e38\u5728<\/span><span style=\"color:#111827\"> 0.6 <\/span><span style=\"color:#111827\">\u5230<\/span><span style=\"color:#111827\"> 0.9 <\/span><span style=\"color:#111827\">\u4e4b\u95f4&#xff0c;\u4f46\u540c\u6837\u7684\u9053\u7406&#xff0c;\u6392\u5e8f\u6bd4\u6570\u503c\u91cd\u8981\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u7b2c\u4e8c&#xff0c;0.000 \u610f\u5473\u7740&#034;\u4e00\u4e2a\u5b57\u90fd\u6ca1\u5bf9\u4e0a&#034;\u3002<\/span> <span style=\"color:#111827\">\u90a3\u51e0\u884c<\/span><span style=\"color:#111827\"> 0.000 <\/span><span style=\"color:#111827\">\u8868\u793a\u8fd9\u4e2a\u6587\u672c\u5757\u548c\u95ee\u9898\u5728\u5b57\u9762\u4e0a\u5b8c\u5168\u6ca1\u6709\u5171\u540c\u7247\u6bb5\u3002\u8fd9\u4e2a\u7ec6\u8282\u5f88\u5173\u952e&#xff0c;\u6211\u4eec\u4e0b\u4e00\u7ae0\u5c31\u6765\u8bb2\u5b83\u5e26\u6765\u7684\u9ebb\u70e6\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u7b2c\u4e09&#xff0c;\u6ce8\u610f <\/span><span style=\"color:#111827\">top_k&#061;2<\/span><span style=\"color:#111827\"> \u8fd9\u4e2a\u53c2\u6570\u3002<\/span> <span style=\"color:#111827\">\u5b83\u51b3\u5b9a<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u635e\u51e0\u6bb5\u8d44\u6599<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u3002\u635e\u592a\u5c11\u53ef\u80fd\u6f0f\u6389\u5173\u952e\u4fe1\u606f&#xff0c;\u635e\u592a\u591a\u4f1a\u628a\u566a\u58f0\u4e00\u8d77\u585e\u7ed9\u6a21\u578b&#xff08;\u540e\u9762\u7b2c\u4e03\u8282\u4f1a\u8bb2\u4e3a\u4ec0\u4e48<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u592a\u591a<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u4e5f\u662f\u95ee\u9898&#xff09;\u3002<\/span><\/p>\n<h3 style=\"margin-left:0pt;text-align:justify\"><span style=\"color:#111827\">\u4e94\u3001&#034;\u4f4f\u9152\u5e97&#034;\u4e3a\u4ec0\u4e48\u641c\u4e0d\u5230&#034;\u4f4f\u5bbf&#034;&#xff1f;<\/span><\/h3>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u4e0a\u4e00\u8282\u7684\u4ee3\u7801\u8dd1\u8d77\u6765\u611f\u89c9\u8fd8\u4e0d\u9519&#xff0c;\u90a3\u662f\u56e0\u4e3a\u6211\u6311\u4e86\u4e24\u4e2a<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u597d\u95ee\u9898<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u73b0\u5728\u6211\u4eec\u6362\u4e00\u4e2a\u771f\u5b9e\u7528\u6237\u4f1a\u95ee\u7684\u95ee\u9898\u8bd5\u8bd5&#xff1a;<\/span><span style=\"color:#111827\">&#034;\u4f4f\u9152\u5e97\u4e00\u665a\u4e0a\u6700\u591a\u80fd\u62a5\u591a\u5c11\u94b1&#xff1f;&#034;<\/span><\/p>\n<h4 style=\"margin-left:0pt;text-align:justify\"><span style=\"color:#111827\">\u4eb2\u773c\u770b\u770b\u5b83\u600e\u4e48\u9519\u7684<\/span><\/h4>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u6211\u5728\u540c\u4e00\u4e2a\u811a\u672c\u91cc\u8865\u4e86\u4e00\u4e2a\u5bf9\u7167\u5b9e\u9a8c&#xff1a;\u540c\u4e00\u4efd\u77e5\u8bc6\u5e93\u3001\u540c\u4e00\u4e2a\u95ee\u9898&#xff0c;\u8dd1\u4e24\u904d<\/span><span style=\"color:#111827\">\u2014\u2014<\/span><span style=\"color:#111827\">\u7b2c\u4e00\u904d\u7528\u7eaf\u5b57\u9762\u5339\u914d&#xff0c;\u7b2c\u4e8c\u904d\u5728\u5207\u8bcd\u524d\u52a0\u4e00\u5c42<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u8bed\u4e49\u5f52\u4e00\u5316<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u3002<\/span><\/p>\n<table border=\"1\" cellspacing=\"0\">\n<tbody>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"background-color:#f3f4f6;height:27px;vertical-align:middle;width:576px\">\n<p style=\"margin-left:0;text-align:left\"><span style=\"color:#111827\">Python<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"background-color:#f9fafb;height:27px;vertical-align:middle;width:576px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\"># <\/span><span style=\"color:#111827\">\u4e00\u5f20<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u540c\u4e49\u8bcd\u8868<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u3002\u771f\u5b9e\u9879\u76ee\u91cc\u8fd9\u5f20\u8868\u7531<\/span><span style=\"color:#111827\"> embedding <\/span><span style=\"color:#111827\">\u6a21\u578b\u81ea\u52a8\u5b66\u51fa\u6765&#xff0c;\u4e0d\u9700\u8981\u624b\u5199&#xff1b;<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\"># <\/span><span style=\"color:#111827\">\u8fd9\u91cc\u624b\u5199&#xff0c;\u53ea\u662f\u4e3a\u4e86\u8ba9\u4f60\u4eb2\u773c\u770b\u5230<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u8bed\u4e49\u5f52\u4e00\u5316<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u5230\u5e95\u5728\u505a\u4ec0\u4e48\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">SYNONYMS &#061; [<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">(&#034;<\/span><span style=\"color:#111827\">\u6700\u591a\u80fd\u62a5\u591a\u5c11\u94b1<\/span><span style=\"color:#111827\">&#034;, &#034;<\/span><span style=\"color:#111827\">\u91d1\u989d\u4e0a\u9650<\/span><span style=\"color:#111827\">&#034;),<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">(&#034;<\/span><span style=\"color:#111827\">\u4e00\u665a\u4e0a<\/span><span style=\"color:#111827\">&#034;, &#034;<\/span><span style=\"color:#111827\">\u6bcf\u665a<\/span><span style=\"color:#111827\">&#034;),<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">(&#034;<\/span><span style=\"color:#111827\">\u4f4f\u9152\u5e97<\/span><span style=\"color:#111827\">&#034;, &#034;<\/span><span style=\"color:#111827\">\u4f4f\u5bbf<\/span><span style=\"color:#111827\">&#034;),<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">(&#034;<\/span><span style=\"color:#111827\">\u9152\u5e97<\/span><span style=\"color:#111827\">&#034;, &#034;<\/span><span style=\"color:#111827\">\u4f4f\u5bbf<\/span><span style=\"color:#111827\">&#034;),<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">(&#034;<\/span><span style=\"color:#111827\">\u5bbe\u9986<\/span><span style=\"color:#111827\">&#034;, &#034;<\/span><span style=\"color:#111827\">\u4f4f\u5bbf<\/span><span style=\"color:#111827\">&#034;),<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">(&#034;<\/span><span style=\"color:#111827\">\u591a\u5c11\u5929<\/span><span style=\"color:#111827\">&#034;, &#034;<\/span><span style=\"color:#111827\">\u5929\u6570<\/span><span style=\"color:#111827\">&#034;),<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">(&#034;<\/span><span style=\"color:#111827\">\u591a\u4e45<\/span><span style=\"color:#111827\">&#034;, &#034;<\/span><span style=\"color:#111827\">\u65f6\u95f4<\/span><span style=\"color:#111827\">&#034;),<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">]<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u200b<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">def normalize(text, use_synonyms):<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">if not use_synonyms:<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">return text<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">for src, dst in SYNONYMS: # <\/span><span style=\"color:#111827\">\u957f\u8bcd\u5728\u524d&#xff0c;\u907f\u514d<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u9152\u5e97<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u5148\u88ab\u66ff\u6362\u6389<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">text &#061; text.replace(src, dst)<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">return text<\/span><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u771f\u5b9e\u8f93\u51fa&#xff08;\u4e24\u4e2a\u65b9\u6848\u7684\u68c0\u7d22\u6392\u540d\u5bf9\u6bd4&#xff09;&#xff1a;<\/span><\/p>\n<table border=\"1\" cellspacing=\"0\">\n<tbody>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"background-color:#f3f4f6;height:27px;vertical-align:middle;width:576px\">\n<p style=\"margin-left:0;text-align:left\"><span style=\"color:#111827\">\u8fd0\u884c\u7ed3\u679c<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"background-color:#f9fafb;height:27px;vertical-align:middle;width:576px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">##################################################################<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\"># <\/span><span style=\"color:#111827\">\u65b9\u6848<\/span><span style=\"color:#111827\"> A<\/span><span style=\"color:#111827\">&#xff1a;\u7eaf\u5b57\u9762\u5339\u914d&#xff08;\u4e0d\u505a\u4efb\u4f55\u8bed\u4e49\u5904\u7406&#xff09;<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">##################################################################<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u200b<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u63d0\u95ee&#xff1a;\u4f4f\u9152\u5e97\u4e00\u665a\u4e0a\u6700\u591a\u80fd\u62a5\u591a\u5c11\u94b1&#xff1f;<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u7b2c<\/span><span style=\"color:#111827\">1<\/span><span style=\"color:#111827\">\u540d<\/span><span style=\"color:#111827\"> 0.029 <\/span><span style=\"color:#111827\">\u5e74\u5047\u89c4\u5219<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u7b2c<\/span><span style=\"color:#111827\">2<\/span><span style=\"color:#111827\">\u540d<\/span><span style=\"color:#111827\"> 0.000 <\/span><span style=\"color:#111827\">\u6545\u969c\u7801\u8bf4\u660e<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u7b2c<\/span><span style=\"color:#111827\">3<\/span><span style=\"color:#111827\">\u540d<\/span><span style=\"color:#111827\"> 0.000 <\/span><span style=\"color:#111827\">\u5dee\u65c5\u6807\u51c6<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u200b<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">##################################################################<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\"># <\/span><span style=\"color:#111827\">\u65b9\u6848<\/span><span style=\"color:#111827\"> B<\/span><span style=\"color:#111827\">&#xff1a;\u52a0\u4e00\u5c42\u8bed\u4e49\u5f52\u4e00\u5316<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">##################################################################<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u200b<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u63d0\u95ee&#xff1a;\u4f4f\u9152\u5e97\u4e00\u665a\u4e0a\u6700\u591a\u80fd\u62a5\u591a\u5c11\u94b1&#xff1f;<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u7b2c<\/span><span style=\"color:#111827\">1<\/span><span style=\"color:#111827\">\u540d<\/span><span style=\"color:#111827\"> 0.082 <\/span><span style=\"color:#111827\">\u5dee\u65c5\u6807\u51c6<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u7b2c<\/span><span style=\"color:#111827\">2<\/span><span style=\"color:#111827\">\u540d<\/span><span style=\"color:#111827\"> 0.041 <\/span><span style=\"color:#111827\">\u5e74\u5047\u89c4\u5219<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u7b2c<\/span><span style=\"color:#111827\">3<\/span><span style=\"color:#111827\">\u540d<\/span><span style=\"color:#111827\"> 0.036 <\/span><span style=\"color:#111827\">\u62a5\u9500\u5236\u5ea6<\/span><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u8bf7\u4ed4\u7ec6\u770b\u65b9\u6848<\/span><span style=\"color:#111827\"> A <\/span><span style=\"color:#111827\">\u7684\u7ed3\u679c&#xff0c;\u56e0\u4e3a\u8fd9\u91cc\u85cf\u7740\u4e00\u4e2a\u975e\u5e38\u7ecf\u5178\u7684\u9677\u9631\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u6b63\u786e\u7b54\u6848&#034;\u5dee\u65c5\u6807\u51c6&#034;\u7684\u5f97\u5206\u662f 0.000\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u4e00\u4e2a\u5b57\u90fd\u6ca1\u5bf9\u4e0a\u3002\u4e3a\u4ec0\u4e48&#xff1f;\u56e0\u4e3a\u6587\u6863\u91cc\u5199\u7684\u662f<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u4f4f\u5bbf<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">&#xff0c;\u7528\u6237\u95ee\u7684\u662f<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u4f4f\u9152\u5e97<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">&#xff1b;\u6587\u6863\u91cc\u5199\u7684\u662f<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u6bcf\u665a\u4e0d\u8d85\u8fc7<\/span><span style=\"color:#111827\"> 600 <\/span><span style=\"color:#111827\">\u5143<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">&#xff0c;\u7528\u6237\u95ee\u7684\u662f<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u6700\u591a\u80fd\u62a5\u591a\u5c11\u94b1<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u3002\u4ece\u5b57\u9762\u770b&#xff0c;\u8fd9\u4e24\u53e5\u8bdd\u6ca1\u6709\u4efb\u4f55\u5171\u540c\u7247\u6bb5\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u800c&#034;\u5e74\u5047\u89c4\u5219&#034;\u5374\u62ff\u5230\u4e86 0.029 \u5206&#xff0c;\u6392\u5230\u4e86\u7b2c\u4e00\u540d\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u5b83\u51ed\u4ec0\u4e48&#xff1f;\u56e0\u4e3a<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u5e74\u5047\u89c4\u5219<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u91cc\u6709\u4e00\u53e5<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u6700\u591a\u53ef\u4ee5\u7ed3\u8f6c<\/span><span style=\"color:#111827\"> 5 <\/span><span style=\"color:#111827\">\u5929<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">&#xff0c;\u800c\u95ee\u9898\u91cc\u6709\u4e2a<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u6700\u591a<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u3002\u5c31\u8fd9\u4e48\u4e24\u4e2a\u5b57\u7684\u91cd\u5408&#xff0c;\u7cfb\u7edf\u5c31\u628a\u4e00\u6bb5\u548c\u4f4f\u5bbf\u6beb\u65e0\u5173\u7cfb\u7684\u5e74\u5047\u89c4\u5b9a&#xff0c;\u5224\u5b9a\u6210\u4e86\u6700\u76f8\u5173\u5185\u5bb9\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u5982\u679c\u8fd9\u4e2a\u7cfb\u7edf\u540e\u9762\u63a5\u7740\u5927\u6a21\u578b&#xff0c;\u63a5\u4e0b\u6765\u4f1a\u53d1\u751f\u4ec0\u4e48&#xff1f;\u6a21\u578b\u4f1a\u62ff\u5230\u4e00\u6bb5\u5173\u4e8e\u5e74\u5047\u7684\u89c4\u5b9a&#xff0c;\u7136\u540e\u88ab\u8981\u6c42\u56de\u7b54\u4f4f\u5bbf\u62a5\u9500\u7684\u95ee\u9898\u3002\u8fd0\u6c14\u597d&#xff0c;\u5b83\u4f1a\u8bf4<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u8d44\u6599\u4e2d\u6ca1\u6709\u76f8\u5173\u4fe1\u606f<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">&#xff1b;\u8fd0\u6c14\u4e0d\u597d&#xff0c;\u5b83\u4f1a\u62ff\u7740\u5e74\u5047\u7684\u6570\u636e\u786c\u7b54<\/span><span style=\"color:#111827\">\u2014\u2014<\/span><span style=\"color:#111827\">\u800c\u8fd9\u662f\u5b83\u81ea\u5df1\u7f16\u7684&#xff0c;\u7528\u6237\u5b8c\u5168\u770b\u4e0d\u51fa\u6765<\/span><span style=\"color:#111827\">\u3002<\/span><\/p>\n<h4 style=\"margin-left:0pt;text-align:justify\"><span style=\"color:#111827\">\u8fd9\u5c31\u662f embedding \u8981\u89e3\u51b3\u7684\u95ee\u9898<\/span><\/h4>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u65b9\u6848<\/span><span style=\"color:#111827\"> B <\/span><span style=\"color:#111827\">\u91cc\u6211\u624b\u5199\u4e86\u4e00\u5f20\u540c\u4e49\u8bcd\u8868&#xff0c;\u628a<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u4f4f\u9152\u5e97<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u6620\u5c04\u6210<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u4f4f\u5bbf<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u3001<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u4e00\u665a\u4e0a<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u6620\u5c04\u6210<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u6bcf\u665a<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u3001<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u6700\u591a\u80fd\u62a5\u591a\u5c11\u94b1<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u6620\u5c04\u6210<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u91d1\u989d\u4e0a\u9650<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u3002\u6539\u5b8c\u4e4b\u540e&#xff0c;\u5f97\u5206\u4ece<\/span><span style=\"color:#111827\"> 0.000 <\/span><span style=\"color:#111827\">\u8df3\u5230<\/span><span style=\"color:#111827\"> 0.082<\/span><span style=\"color:#111827\">&#xff0c;\u6b63\u786e\u7b54\u6848\u7a33\u7a33\u6392\u5728\u7b2c\u4e00\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u4f46\u6211\u5fc5\u987b\u5f3a\u8c03&#xff1a;<\/span><span style=\"color:#111827\">\u771f\u5b9e\u9879\u76ee\u91cc\u6ca1\u4eba\u4f1a\u624b\u5199\u8fd9\u5f20\u8868\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u8fd9\u5c31\u662f<\/span><span style=\"color:#111827\"> embedding <\/span><span style=\"color:#111827\">\u6a21\u578b\u5b58\u5728\u7684\u539f\u56e0\u3002\u5b83\u7684\u5de5\u4f5c&#xff0c;\u5c31\u662f\u81ea\u52a8\u5b66\u4f1a<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u4f4f\u9152\u5e97<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u548c<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u4f4f\u5bbf<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u662f\u4e00\u56de\u4e8b\u3001<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u62a5\u9500<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u548c<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u8d39\u7528<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u662f\u4e00\u56de\u4e8b\u3001<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u591a\u4e45<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u548c<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u65f6\u95f4\u671f\u9650<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u662f\u4e00\u56de\u4e8b<\/span><span style=\"color:#111827\">\u2014\u2014<\/span><span style=\"color:#111827\">\u800c\u4e14\u4e0d\u662f\u9760\u4eba\u5217\u89c4\u5219&#xff0c;\u662f\u4ece\u6d77\u91cf\u6587\u672c\u91cc\u81ea\u5df1\u5b66\u51fa\u6765\u7684\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:center\"><span style=\"color:#111827\">\u4e0b\u9762\u8fd9\u5f20\u56fe\u89e3\u91ca\u5b83\u7684\u539f\u7406&#xff1a;<\/span><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"994\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260919161658-6aaeb57a626f2.png\" width=\"1373\" \/><span style=\"color:#111827\">\u5411\u91cf\u7a7a\u95f4\u793a\u610f\u56fe<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u6bcf\u4e00\u6bb5\u6587\u5b57\u88ab\u8f6c\u6362\u6210\u4e00\u4e32\u6570\u5b57&#xff0c;\u4e5f\u5c31\u662f\u5750\u6807\u7cfb\u91cc\u7684\u4e00\u4e2a\u70b9\u3002<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u5dee\u65c5\u6807\u51c6<\/span><span style=\"color:#111827\">&#034;&#034;<\/span><span style=\"color:#111827\">\u4f4f\u5bbf\u8d39\u4e0a\u9650<\/span><span style=\"color:#111827\">&#034;&#034;<\/span><span style=\"color:#111827\">\u9152\u5e97\u62a5\u9500<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u8fd9\u51e0\u4e2a\u70b9\u548c\u7528\u6237\u7684\u95ee\u9898\u6328\u5f97\u5f88\u8fd1&#xff0c;\u56e0\u4e3a\u5b83\u4eec\u8bb2\u7684\u662f\u540c\u4e00\u4ef6\u4e8b&#xff1b;\u800c<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u5e74\u5047\u89c4\u5219<\/span><span style=\"color:#111827\">&#034;&#034;<\/span><span style=\"color:#111827\">\u8bf7\u5047\u6d41\u7a0b<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u88ab\u653e\u5230\u4e86\u8fdc\u5904\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u68c0\u7d22\u8fd9\u4ef6\u4e8b&#xff0c;\u5230\u8fd9\u91cc\u5c31\u53d8\u6210\u4e86\u4e00\u4e2a\u975e\u5e38\u6734\u7d20\u7684\u51e0\u4f55\u95ee\u9898&#xff1a;<\/span><span style=\"color:#111827\">\u627e\u51fa\u79bb\u95ee\u9898\u90a3\u4e2a\u70b9\u6700\u8fd1\u7684\u51e0\u4e2a\u70b9\u3002<\/span><\/p>\n<h4 style=\"margin-left:0pt;text-align:justify\"><span style=\"color:#111827\">\u5b9e\u9645\u9879\u76ee\u91cc\u600e\u4e48\u7528\u771f\u6b63\u7684 embedding<\/span><\/h4>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u56de\u5934\u770b\u7b2c\u4e00\u8282\u90a3\u4e2a<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u4ea4\u901a\u8d39\u3001\u9910\u8d39\u548c\u5dee\u65c5\u8d39<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u7684\u4f8b\u5b50<\/span><span style=\"color:#111827\">\u2014\u2014<\/span><span style=\"color:#111827\">\u771f\u5b9e\u9879\u76ee\u91cc&#xff0c;\u4f60\u4f1a\u8fd9\u6837\u5199&#xff1a;<\/span><\/p>\n<table border=\"1\" cellspacing=\"0\">\n<tbody>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"background-color:#f3f4f6;height:27px;vertical-align:middle;width:576px\">\n<p style=\"margin-left:0;text-align:left\"><span style=\"color:#111827\">Python<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"background-color:#f9fafb;height:27px;vertical-align:middle;width:576px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\"># <\/span><span style=\"color:#111827\">\u793a\u610f\u4ee3\u7801&#xff1a;\u9700\u8981\u5b89\u88c5<\/span><span style=\"color:#111827\"> openai <\/span><span style=\"color:#111827\">\u5e93\u5e76\u914d\u7f6e<\/span><span style=\"color:#111827\"> API Key<\/span><span style=\"color:#111827\">&#xff0c;\u672c\u6587\u672a\u5b9e\u8dd1<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">from openai import OpenAI<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u200b<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">client &#061; OpenAI(api_key&#061;&#034;<\/span><span style=\"color:#111827\">\u4f60\u7684<\/span><span style=\"color:#111827\"> API Key&#034;)<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u200b<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">def embed(texts):<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">&#034;&#034;&#034;<\/span><span style=\"color:#111827\">\u628a\u4e00\u6279\u6587\u672c\u8f6c\u6210\u5411\u91cf\u3002\u4e00\u6b21\u53ef\u4ee5\u4f20\u591a\u6761&#xff0c;\u6bd4\u4e00\u6761\u6761\u8c03\u7528\u5feb\u5f97\u591a\u3002<\/span><span style=\"color:#111827\">&#034;&#034;&#034;<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">resp &#061; client.embeddings.create(<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">model&#061;&#034;text-embedding-3-small&#034;, # <\/span><span style=\"color:#111827\">\u4e5f\u53ef\u4ee5\u7528<\/span><span style=\"color:#111827\"> BGE-M3<\/span><span style=\"color:#111827\">\u3001\u901a\u4e49<\/span><span style=\"color:#111827\"> embedding <\/span><span style=\"color:#111827\">\u7b49<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">input&#061;texts,<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">)<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">return [d.embedding for d in resp.data]<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u200b<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\"># <\/span><span style=\"color:#111827\">\u5efa\u5e93\u65f6&#xff1a;\u628a\u6bcf\u4e2a\u6587\u672c\u5757\u8f6c\u6210\u5411\u91cf&#xff0c;\u5b58\u8fdb\u5411\u91cf\u6570\u636e\u5e93<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">chunk_vectors &#061; embed([text for _, text in DOCS])<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u200b<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\"># <\/span><span style=\"color:#111827\">\u68c0\u7d22\u65f6&#xff1a;\u628a\u95ee\u9898\u4e5f\u8f6c\u6210\u540c\u6837\u7684\u5411\u91cf&#xff0c;\u7136\u540e\u7b97\u8ddd\u79bb<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">query_vector &#061; embed([&#034;<\/span><span style=\"color:#111827\">\u4f4f\u9152\u5e97\u4e00\u665a\u4e0a\u6700\u591a\u80fd\u62a5\u591a\u5c11\u94b1<\/span><span style=\"color:#111827\">&#034;])[0]<\/span><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u8981\u6ce8\u610f\u4e00\u70b9&#xff1a;<\/span><span style=\"color:#111827\">\u5efa\u5e93\u548c\u68c0\u7d22\u5fc5\u987b\u7528\u540c\u4e00\u4e2a embedding \u6a21\u578b<\/span><span style=\"color:#111827\">\u3002\u6362\u6a21\u578b\u7b49\u4e8e\u6362\u4e86\u4e00\u6574\u5957\u5750\u6807\u7cfb&#xff0c;\u65e7\u7684\u5411\u91cf\u5c31\u5168\u5bf9\u4e0d\u4e0a\u4e86<\/span><span style=\"color:#111827\">\u2014\u2014<\/span><span style=\"color:#111827\">\u8fd9\u4e5f\u662f\u4e3a\u4ec0\u4e48<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u5347\u7ea7<\/span><span style=\"color:#111827\"> embedding <\/span><span style=\"color:#111827\">\u6a21\u578b<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u5728\u751f\u4ea7\u73af\u5883\u91cc\u5f80\u5f80\u610f\u5473\u7740\u4e00\u6574\u8f6e\u5168\u91cf\u91cd\u5efa\u7d22\u5f15\u3002<\/span><\/p>\n<table border=\"1\" cellspacing=\"0\">\n<tbody>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"background-color:#fdf3ef;height:27px;vertical-align:top;width:576px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u8e29\u5751\u9884\u8b66<\/span><span style=\"color:#111827\">&#xff1a;\u5b57\u9762\u5339\u914d\u5728\u771f\u5b9e\u7528\u6237\u9762\u524d\u975e\u5e38\u8106\u5f31\u3002\u7528\u6237\u4e0d\u4f1a\u6309\u4f60\u6587\u6863\u7684\u63aa\u8f9e\u63d0\u95ee\u3002\u5982\u679c\u4f60\u7684<\/span><span style=\"color:#111827\"> RAG <\/span><span style=\"color:#111827\">\u53ea\u505a\u4e86\u5173\u952e\u8bcd\u5339\u914d&#xff0c;\u5b83\u4f1a\u5728\u6f14\u793a\u65f6\u8868\u73b0\u826f\u597d&#xff08;\u56e0\u4e3a\u6f14\u793a\u95ee\u9898\u901a\u5e38\u662f\u7cbe\u5fc3\u8bbe\u8ba1\u7684&#xff09;&#xff0c;\u5728\u771f\u5b9e\u4f7f\u7528\u4e2d\u66b4\u9732\u5f97\u4e00\u584c\u7cca\u6d82\u3002<\/span><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3 style=\"margin-left:0pt;text-align:justify\"><span style=\"color:#111827\">\u516d\u3001\u5207\u5757&#xff1a;\u6700\u4e0d\u8d77\u773c&#xff0c;\u5374\u6700\u81f4\u547d\u7684\u4e00\u6b65<\/span><\/h3>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u524d\u9762\u8bb2\u4e86\u68c0\u7d22\u73af\u8282\u7684\u95ee\u9898\u3002\u4f46\u5982\u679c\u4f60\u4ee5\u4e3a<\/span><span style=\"color:#111827\"> RAG <\/span><span style=\"color:#111827\">\u7684\u8d28\u91cf\u5929\u82b1\u677f\u5728\u68c0\u7d22&#xff0c;\u90a3\u5c31\u9519\u4e86<\/span><span style=\"color:#111827\">\u2014\u2014<\/span><span style=\"color:#111827\">\u771f\u6b63\u51b3\u5b9a\u4e0a\u9650\u7684&#xff0c;\u5f80\u5f80\u662f\u66f4\u65e9\u7684\u4e00\u6b65&#xff1a;<\/span><span style=\"color:#111827\">\u5207\u5757<\/span><span style=\"color:#111827\">\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u8fd9\u4e00\u8282\u6211\u4eec\u505a\u4e00\u4e2a\u66f4\u5c0f\u7684\u5b9e\u9a8c&#xff0c;\u53ea\u6539\u4e00\u4e2a\u53d8\u91cf&#xff1a;\u5207\u5757\u65b9\u5f0f\u3002<\/span><\/p>\n<h4 style=\"margin-left:0pt;text-align:justify\"><span style=\"color:#111827\">\u4e24\u4e2a\u771f\u5b9e\u7684\u5207\u5757\u65b9\u6848\u5bf9\u6bd4<\/span><\/h4>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u539f\u6587\u53ea\u6709\u4e00\u53e5\u8bdd&#xff1a;<\/span><\/p>\n<table border=\"1\" cellspacing=\"0\">\n<tbody>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"background-color:#f3f4f6;height:27px;vertical-align:middle;width:576px\">\n<p style=\"margin-left:0;text-align:left\"><span style=\"color:#111827\">\u6587\u6863\u5185\u5bb9<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"background-color:#f9fafb;height:27px;vertical-align:middle;width:576px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u4f4f\u5bbf\u6807\u51c6\u6309\u57ce\u5e02\u5206\u7ea7\u3002\u4e00\u7ebf\u57ce\u5e02\u6bcf\u665a\u4e0d\u8d85\u8fc7<\/span><span style=\"color:#111827\">600<\/span><span style=\"color:#111827\">\u5143\u3002\u4e8c\u7ebf\u57ce\u5e02\u6bcf\u665a<\/span><span style=\"color:#111827\">450<\/span><span style=\"color:#111827\">\u5143\u3002\u5176\u4ed6\u57ce\u5e02\u6bcf\u665a<\/span><span style=\"color:#111827\">350<\/span><span style=\"color:#111827\">\u5143\u3002\u8d85\u6807\u90e8\u5206\u9700\u8981\u5458\u5de5\u81ea\u884c\u627f\u62c5\u3002<\/span><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u6211\u4eec\u7528\u4e24\u79cd\u65b9\u5f0f\u5207\u5b83&#xff0c;\u7136\u540e\u95ee\u540c\u4e00\u4e2a\u95ee\u9898&#xff1a;<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u4e8c\u7ebf\u57ce\u5e02\u4f4f\u5bbf\u4e0a\u9650\u662f\u591a\u5c11<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u3002<\/span><\/p>\n<table border=\"1\" cellspacing=\"0\">\n<tbody>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"background-color:#f3f4f6;height:27px;vertical-align:middle;width:576px\">\n<p style=\"margin-left:0;text-align:left\"><span style=\"color:#111827\">Python<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"background-color:#f9fafb;height:27px;vertical-align:middle;width:576px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">def fixed_chunk(text, size):<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">&#034;&#034;&#034;<\/span><span style=\"color:#111827\">\u5207\u6cd5<\/span><span style=\"color:#111827\"> A<\/span><span style=\"color:#111827\">&#xff1a;\u6bcf<\/span><span style=\"color:#111827\"> size <\/span><span style=\"color:#111827\">\u4e2a\u5b57\u786c\u5207\u4e00\u5200&#xff0c;\u4e0d\u7ba1\u5207\u5728\u54ea<\/span><span style=\"color:#111827\">&#034;&#034;&#034;<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">return [text[i:i &#043; size] for i in range(0, len(text), size)]<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u200b<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">def sentence_chunk(text):<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">&#034;&#034;&#034;<\/span><span style=\"color:#111827\">\u5207\u6cd5<\/span><span style=\"color:#111827\"> B<\/span><span style=\"color:#111827\">&#xff1a;\u6309\u53e5\u5b50\u8fb9\u754c\u5207&#xff0c;\u4fdd\u8bc1\u6bcf\u53e5\u8bdd\u5b8c\u6574<\/span><span style=\"color:#111827\">&#034;&#034;&#034;<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">return [s &#043; &#034;<\/span><span style=\"color:#111827\">\u3002<\/span><span style=\"color:#111827\">&#034; for s in text.split(&#034;<\/span><span style=\"color:#111827\">\u3002<\/span><span style=\"color:#111827\">&#034;) if s.strip()]<\/span><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u771f\u5b9e\u8f93\u51fa&#xff1a;<\/span><\/p>\n<table border=\"1\" cellspacing=\"0\">\n<tbody>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"background-color:#f3f4f6;height:27px;vertical-align:middle;width:576px\">\n<p style=\"margin-left:0;text-align:left\"><span style=\"color:#111827\">\u8fd0\u884c\u7ed3\u679c<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"background-color:#f9fafb;height:27px;vertical-align:middle;width:576px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u56fa\u5b9a\u957f\u5ea6\u5207\u5757&#xff08;\u6bcf\u5757<\/span><span style=\"color:#111827\"> 20 <\/span><span style=\"color:#111827\">\u5b57&#xff09;<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u5757<\/span><span style=\"color:#111827\">1: <\/span><span style=\"color:#111827\">\u4f4f\u5bbf\u6807\u51c6\u6309\u57ce\u5e02\u5206\u7ea7\u3002\u4e00\u7ebf\u57ce\u5e02\u6bcf\u665a\u4e0d\u8d85\u8fc7<\/span><span style=\"color:#111827\">6<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u5757<\/span><span style=\"color:#111827\">2: 00<\/span><span style=\"color:#111827\">\u5143\u3002\u4e8c\u7ebf\u57ce\u5e02\u6bcf\u665a<\/span><span style=\"color:#111827\">450<\/span><span style=\"color:#111827\">\u5143\u3002\u5176\u4ed6\u57ce\u5e02\u6bcf<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u5757<\/span><span style=\"color:#111827\">3: <\/span><span style=\"color:#111827\">\u665a<\/span><span style=\"color:#111827\">350<\/span><span style=\"color:#111827\">\u5143\u3002\u8d85\u6807\u90e8\u5206\u9700\u8981\u5458\u5de5\u81ea\u884c\u627f\u62c5\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u63d0\u95ee&#xff1a;\u4e8c\u7ebf\u57ce\u5e02\u4f4f\u5bbf\u4e0a\u9650\u662f\u591a\u5c11<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u7b2c<\/span><span style=\"color:#111827\">1<\/span><span style=\"color:#111827\">\u540d<\/span><span style=\"color:#111827\"> 0.163 00<\/span><span style=\"color:#111827\">\u5143\u3002\u4e8c\u7ebf\u57ce\u5e02\u6bcf\u665a<\/span><span style=\"color:#111827\">450<\/span><span style=\"color:#111827\">\u5143\u3002\u5176\u4ed6\u57ce\u5e02\u6bcf<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u7b2c<\/span><span style=\"color:#111827\">2<\/span><span style=\"color:#111827\">\u540d<\/span><span style=\"color:#111827\"> 0.158 <\/span><span style=\"color:#111827\">\u4f4f\u5bbf\u6807\u51c6\u6309\u57ce\u5e02\u5206\u7ea7\u3002\u4e00\u7ebf\u57ce\u5e02\u6bcf\u665a\u4e0d\u8d85\u8fc7<\/span><span style=\"color:#111827\">6<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u7b2c<\/span><span style=\"color:#111827\">3<\/span><span style=\"color:#111827\">\u540d<\/span><span style=\"color:#111827\"> 0.000 <\/span><span style=\"color:#111827\">\u665a<\/span><span style=\"color:#111827\">350<\/span><span style=\"color:#111827\">\u5143\u3002\u8d85\u6807\u90e8\u5206\u9700\u8981\u5458\u5de5\u81ea\u884c\u627f\u62c5\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u200b<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u6309\u53e5\u5b50\u8fb9\u754c\u5207\u5757<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u5757<\/span><span style=\"color:#111827\">1: <\/span><span style=\"color:#111827\">\u4f4f\u5bbf\u6807\u51c6\u6309\u57ce\u5e02\u5206\u7ea7\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u5757<\/span><span style=\"color:#111827\">2: <\/span><span style=\"color:#111827\">\u4e00\u7ebf\u57ce\u5e02\u6bcf\u665a\u4e0d\u8d85\u8fc7<\/span><span style=\"color:#111827\">600<\/span><span style=\"color:#111827\">\u5143\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u5757<\/span><span style=\"color:#111827\">3: <\/span><span style=\"color:#111827\">\u4e8c\u7ebf\u57ce\u5e02\u6bcf\u665a<\/span><span style=\"color:#111827\">450<\/span><span style=\"color:#111827\">\u5143\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u5757<\/span><span style=\"color:#111827\">4: <\/span><span style=\"color:#111827\">\u5176\u4ed6\u57ce\u5e02\u6bcf\u665a<\/span><span style=\"color:#111827\">350<\/span><span style=\"color:#111827\">\u5143\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u5757<\/span><span style=\"color:#111827\">5: <\/span><span style=\"color:#111827\">\u8d85\u6807\u90e8\u5206\u9700\u8981\u5458\u5de5\u81ea\u884c\u627f\u62c5\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u63d0\u95ee&#xff1a;\u4e8c\u7ebf\u57ce\u5e02\u4f4f\u5bbf\u4e0a\u9650\u662f\u591a\u5c11<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u7b2c<\/span><span style=\"color:#111827\">1<\/span><span style=\"color:#111827\">\u540d<\/span><span style=\"color:#111827\"> 0.211 <\/span><span style=\"color:#111827\">\u4e8c\u7ebf\u57ce\u5e02\u6bcf\u665a<\/span><span style=\"color:#111827\">450<\/span><span style=\"color:#111827\">\u5143\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u7b2c<\/span><span style=\"color:#111827\">2<\/span><span style=\"color:#111827\">\u540d<\/span><span style=\"color:#111827\"> 0.124 <\/span><span style=\"color:#111827\">\u4f4f\u5bbf\u6807\u51c6\u6309\u57ce\u5e02\u5206\u7ea7\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u7b2c<\/span><span style=\"color:#111827\">3<\/span><span style=\"color:#111827\">\u540d<\/span><span style=\"color:#111827\"> 0.084 <\/span><span style=\"color:#111827\">\u4e00\u7ebf\u57ce\u5e02\u6bcf\u665a\u4e0d\u8d85\u8fc7<\/span><span style=\"color:#111827\">600<\/span><span style=\"color:#111827\">\u5143\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u7b2c<\/span><span style=\"color:#111827\">4<\/span><span style=\"color:#111827\">\u540d<\/span><span style=\"color:#111827\"> 0.033 <\/span><span style=\"color:#111827\">\u5176\u4ed6\u57ce\u5e02\u6bcf\u665a<\/span><span style=\"color:#111827\">350<\/span><span style=\"color:#111827\">\u5143\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u7b2c<\/span><span style=\"color:#111827\">5<\/span><span style=\"color:#111827\">\u540d<\/span><span style=\"color:#111827\"> 0.000 <\/span><span style=\"color:#111827\">\u8d85\u6807\u90e8\u5206\u9700\u8981\u5458\u5de5\u81ea\u884c\u627f\u62c5\u3002<\/span><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u5bf9\u6bd4\u4e00\u4e0b\u4e24\u7ec4\u6570\u5b57&#xff0c;\u5dee\u8ddd\u975e\u5e38\u76f4\u89c2\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u5207\u6cd5 A \u7684\u7b2c\u4e00\u540d&#xff0c;\u5f97 0.163 \u5206&#xff1b;\u7b2c\u4e8c\u540d 0.158 \u5206\u3002<\/span><span style=\"color:#111827\"> \u4e24\u4e2a\u5206\u6570\u51e0\u4e4e\u4e00\u6837&#xff0c;\u7cfb\u7edf\u5206\u4e0d\u51fa\u8c01\u66f4\u76f8\u5173\u3002\u66f4\u7cdf\u7684\u662f&#xff0c;\u7b2c\u4e00\u540d\u90a3\u4e2a\u5757\u957f\u8fd9\u6837&#xff1a;<\/span><\/p>\n<table border=\"1\" cellspacing=\"0\">\n<tbody>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"background-color:#f3f4f6;height:27px;vertical-align:middle;width:576px\">\n<p style=\"margin-left:0;text-align:left\"><span style=\"color:#111827\">\u6587\u6863\u5185\u5bb9<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"background-color:#f9fafb;height:27px;vertical-align:middle;width:576px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">00<\/span><span style=\"color:#111827\">\u5143\u3002\u4e8c\u7ebf\u57ce\u5e02\u6bcf\u665a<\/span><span style=\"color:#111827\">450<\/span><span style=\"color:#111827\">\u5143\u3002\u5176\u4ed6\u57ce\u5e02\u6bcf<\/span><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u5b83\u4ee5<\/span><span style=\"color:#111827\">&#034;00<\/span><span style=\"color:#111827\">\u5143<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u5f00\u5934<\/span><span style=\"color:#111827\">\u2014\u2014&#034;600 <\/span><span style=\"color:#111827\">\u5143<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u88ab\u5207\u6210\u4e86<\/span><span style=\"color:#111827\">&#034;6&#034;<\/span><span style=\"color:#111827\">\u548c<\/span><span style=\"color:#111827\">&#034;00<\/span><span style=\"color:#111827\">\u5143<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u5206\u5728\u4e24\u5757\u91cc&#xff1b;\u7ed3\u5c3e\u662f<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u5176\u4ed6\u57ce\u5e02\u6bcf<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">&#xff0c;<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u6bcf\u665a<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u7684<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u6bcf<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u5b57\u5b64\u96f6\u96f6\u7559\u5728\u8fd9\u5757&#xff0c;\u8ddf\u4e0b\u534a\u53e5\u5206\u5bb6\u4e86\u3002\u800c\u6b63\u786e\u7b54\u6848<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u4e8c\u7ebf\u57ce\u5e02\u6bcf\u665a<\/span><span style=\"color:#111827\">450<\/span><span style=\"color:#111827\">\u5143<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u786e\u5b9e\u5728\u8fd9\u4e2a\u5757\u91cc&#xff0c;\u4f46<\/span><span style=\"color:#111827\">\u5b83\u6df7\u5728\u4e00\u5806\u88ab\u5207\u788e\u7684\u6b8b\u53e5\u4e2d\u95f4<\/span><span style=\"color:#111827\">\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u5207\u6cd5 B \u7684\u7b2c\u4e00\u540d&#xff0c;\u5f97 0.211 \u5206&#xff0c;\u800c\u4e14\u5b83\u5c31\u662f\u5e72\u51c0\u7684\u4e00\u53e5&#034;\u4e8c\u7ebf\u57ce\u5e02\u6bcf\u665a450\u5143\u3002&#034;<\/span> <span style=\"color:#111827\">\u7b2c\u4e8c\u540d\u53ea\u6709<\/span><span style=\"color:#111827\"> 0.124<\/span><span style=\"color:#111827\">\u3002\u5dee\u8ddd\u62c9\u5f00\u4e86\u4e00\u500d&#xff0c;\u7cfb\u7edf\u4e00\u773c\u5c31\u80fd\u786e\u5b9a\u8be5\u7528\u54ea\u5757\u3002<\/span><\/p>\n<h4 style=\"margin-left:0pt;text-align:justify\"><span style=\"color:#111827\">\u4e3a\u4ec0\u4e48\u5dee\u8fd9\u4e48\u4e00\u70b9&#xff0c;\u540e\u679c\u8fd9\u4e48\u4e25\u91cd<\/span><\/h4>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u56e0\u4e3a\u5207\u5757\u7684\u5f71\u54cd\u4f1a\u88ab\u540e\u9762\u7684\u6bcf\u4e00\u6b65\u653e\u5927\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u60f3\u8c61\u4e00\u4e0b\u5207\u6cd5<\/span><span style=\"color:#111827\"> A <\/span><span style=\"color:#111827\">\u7684\u5757\u88ab\u68c0\u7d22\u51fa\u6765\u3001\u9001\u8fdb\u5927\u6a21\u578b\u3002\u6a21\u578b\u770b\u5230\u7684\u662f<\/span><span style=\"color:#111827\">&#034;00<\/span><span style=\"color:#111827\">\u5143\u3002\u4e8c\u7ebf\u57ce\u5e02\u6bcf\u665a<\/span><span style=\"color:#111827\">450<\/span><span style=\"color:#111827\">\u5143\u3002\u5176\u4ed6\u57ce\u5e02\u6bcf<\/span><span style=\"color:#111827\">&#034;\u2014\u2014<\/span><span style=\"color:#111827\">\u4e00\u6bb5\u6ca1\u6709\u5934\u6ca1\u6709\u5c3e\u7684\u6587\u5b57\u3002\u5b83\u5f97\u731c&#xff1a;<\/span><span style=\"color:#111827\">&#034;00<\/span><span style=\"color:#111827\">\u5143<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u662f\u4ec0\u4e48\u4e1c\u897f\u7684<\/span><span style=\"color:#111827\"> 00 <\/span><span style=\"color:#111827\">\u5143&#xff1f;<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u5176\u4ed6\u57ce\u5e02\u6bcf<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u540e\u9762\u539f\u672c\u63a5\u7684\u662f\u4ec0\u4e48&#xff1f;<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u5b83\u4e0d\u4f1a\u8bf4<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u8fd9\u6bb5\u6211\u770b\u4e0d\u61c2<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">&#xff0c;\u5b83\u4f1a<\/span><span style=\"color:#111827\">\u731c\u4e00\u4e2a\u6700\u5408\u7406\u7684\u8865\u5168<\/span><span style=\"color:#111827\">\u3002\u4e8e\u662f\u5e7b\u89c9\u5c31\u8fd9\u6837\u8bde\u751f\u4e86\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:center\"><span style=\"color:#111827\">\u8fd9\u5c31\u662f\u4e3a\u4ec0\u4e48\u6211\u5728\u524d\u9762\u8bf4&#xff0c;<\/span><span style=\"color:#111827\">RAG \u7684\u95ee\u9898\u5f80\u5f80\u4e0d\u5728\u6a21\u578b&#xff0c;\u800c\u5728\u7ed9\u5b83\u5582\u7684\u6750\u6599\u3002<\/span><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"902\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260919161658-6aaeb57ae0917.png\" width=\"1528\" \/><span style=\"color:#111827\">\u5207\u5757\u65b9\u5f0f\u5bf9\u6bd4\u56fe<\/span><\/p>\n<h4 style=\"margin-left:0pt;text-align:justify\"><span style=\"color:#111827\">\u6ca1\u6709\u4e07\u80fd\u7684\u5207\u6cd5<\/span><\/h4>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u90a3\u5230\u5e95\u8be5\u600e\u4e48\u5207&#xff1f;\u5f88\u9057\u61be&#xff0c;\u7b54\u6848\u4e0d\u662f<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u7528\u4e00\u4e2a\u56fa\u5b9a\u6570\u503c\u5c31\u5b8c\u4e8b<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">NVIDIA <\/span><span style=\"color:#111827\">\u5728\u5b98\u65b9\u6280\u672f\u535a\u5ba2\u91cc\u516c\u5e03\u8fc7\u4e00\u7ec4\u5b9e\u6d4b\u6570\u636e&#xff0c;\u8986\u76d6\u4e86\u591a\u79cd\u6587\u6863\u7c7b\u578b\u548c\u5207\u5757\u7b56\u7565\u3002\u51e0\u4e2a\u5173\u952e\u7ed3\u8bba\u633a\u53cd\u76f4\u89c9\u7684&#xff1a;<\/span><\/p>\n<table border=\"1\" cellspacing=\"0\">\n<tbody>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"background-color:#f3f4f6;height:27px;vertical-align:middle;width:288px\">\n<p style=\"margin-left:0;text-align:left\"><span style=\"color:#111827\">\u7ed3\u8bba<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"background-color:#f3f4f6;height:27px;vertical-align:middle;width:288px\">\n<p style=\"margin-left:0;text-align:left\"><span style=\"color:#111827\">\u5177\u4f53\u6570\u636e<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:288px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u9875\u9762\u7ea7\u5207\u5206\u5e73\u5747\u8868\u73b0\u6700\u597d<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:288px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u5e73\u5747\u51c6\u786e\u7387<\/span> <span style=\"color:#111827\"> 0.648<\/span> <span style=\"color:#111827\">&#xff0c;\u4e14\u65b9\u5dee\u6700\u5c0f&#xff0c;\u662f\u6700\u7a33\u59a5\u7684\u9ed8\u8ba4\u9009\u62e9<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:288px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u592a\u5c0f\u548c\u592a\u5927\u90fd\u4e0d\u884c<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:288px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">128 token <\/span> <span style=\"color:#111827\">\u548c<\/span> <span style=\"color:#111827\"> 2048 token <\/span> <span style=\"color:#111827\">\u4e24\u5757\u6781\u7aef\u8868\u73b0\u666e\u904d\u57ab\u5e95<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:288px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u4e8b\u5b9e\u578b\u95ee\u9898\u9002\u5408\u5c0f\u5757<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:288px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u8d22\u62a5\u7c7b\u6570\u636e\u96c6\u5728<\/span> <span style=\"color:#111827\"> 512 token <\/span> <span style=\"color:#111827\">\u8fbe\u5230\u5cf0\u503c<\/span> <span style=\"color:#111827\"> 0.681<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:288px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u5206\u6790\u578b\u95ee\u9898\u9002\u5408\u5927\u5757<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:288px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">FinanceBench <\/span> <span style=\"color:#111827\">\u4e0a<\/span> <span style=\"color:#111827\"> 1024 token<\/span> <span style=\"color:#111827\">&#xff08;<\/span> <span style=\"color:#111827\">0.579<\/span> <span style=\"color:#111827\">&#xff09;\u53cd\u800c\u4f18\u4e8e\u9875\u9762\u7ea7&#xff08;<\/span> <span style=\"color:#111827\">0.566<\/span> <span style=\"color:#111827\">&#xff09;<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:288px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u8868\u683c\u5bc6\u96c6\u6587\u6863\u8981\u5f53\u5fc3<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:288px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u91d1\u878d\u8868\u683c\u5e38\u8de8\u9875&#xff0c;\u6309\u9875\u5207\u4f1a\u628a\u4e00\u4e2a\u5b8c\u6574\u8868\u683c\u5288\u6210\u4e24\u534a<\/span><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">NVIDIA <\/span><span style=\"color:#111827\">\u7ed9\u51fa\u7684\u843d\u5730\u5efa\u8bae\u4e5f\u5f88\u5b9e\u5728&#xff1a;<\/span><span style=\"color:#111827\">\u5148\u628a\u9875\u9762\u7ea7\u5207\u5206\u5f53\u57fa\u7ebf<\/span><span style=\"color:#111827\">&#xff0c;\u7136\u540e\u6839\u636e\u4f60\u7684\u6587\u6863\u7c7b\u578b\u518d\u6311\u4e00\u5230\u4e24\u79cd\u7b56\u7565\u505a\u5c0f\u89c4\u6a21\u5bf9\u6bd4\u8bc4\u6d4b\u3002\u4ed6\u4eec\u4e5f\u5f3a\u8c03&#xff0c;\u9875\u9762\u7ea7\u7684\u53e6\u4e00\u4e2a\u597d\u5904\u662f<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u5f15\u7528\u7a33\u5b9a<\/span><span style=\"color:#111827\">&#034;\u2014\u2014<\/span><span style=\"color:#111827\">\u9875\u7801\u662f\u5929\u7136\u8fb9\u754c&#xff0c;\u7528\u6237\u8bf4<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u7b2c<\/span><span style=\"color:#111827\"> 8 <\/span><span style=\"color:#111827\">\u9875<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u4f60\u5c31\u80fd\u5b9a\u4f4d&#xff1b;\u800c\u6309<\/span><span style=\"color:#111827\"> token <\/span><span style=\"color:#111827\">\u5207\u7684\u5757\u7f16\u53f7\u4f1a\u968f\u53c2\u6570\u53d8\u5316\u800c\u6f02\u79fb&#xff0c;\u5f15\u7528\u8d77\u6765\u5f88\u4e0d\u65b9\u4fbf\u3002<\/span><\/p>\n<table border=\"1\" cellspacing=\"0\">\n<tbody>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"background-color:#fdf3ef;height:27px;vertical-align:top;width:576px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u8e29\u5751\u9884\u8b66<\/span><span style=\"color:#111827\">&#xff1a;\u5207\u5757\u7b56\u7565\u4e0d\u80fd\u7167\u6284\u522b\u4eba\u7684\u914d\u7f6e\u3002\u540c\u4e00\u5957\u53c2\u6570&#xff0c;\u6362\u4e00\u4efd\u8bed\u6599&#xff0c;\u6548\u679c\u53ef\u80fd\u5929\u5dee\u5730\u522b\u3002\u4f60\u5fc5\u987b\u5728\u81ea\u5df1\u7684\u6570\u636e\u4e0a\u6d4b\u3002<\/span><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3 style=\"margin-left:0pt;text-align:justify\"><span style=\"color:#111827\">\u4e03\u3001\u751f\u4ea7\u73af\u5883\u91cc\u7684 RAG&#xff0c;\u8fd8\u88c5\u4e86\u4ec0\u4e48&#034;\u9009\u88c5\u4ef6&#034;<\/span><\/h3>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u5230\u8fd9\u91cc&#xff0c;\u4e00\u4e2a\u80fd\u8dd1\u7684<\/span><span style=\"color:#111827\"> RAG <\/span><span style=\"color:#111827\">\u4f60\u5df2\u7ecf\u5b8c\u5168\u638c\u63e1\u4e86\u3002\u4f46<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u80fd\u8dd1<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u548c<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u6562\u4e0a\u7ebf<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u4e4b\u95f4&#xff0c;\u8fd8\u9694\u7740\u4e00\u6bb5\u8ddd\u79bb\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u8fd9\u4e00\u8282\u8bb2\u4e09\u4e2a\u5de5\u4e1a\u754c\u51e0\u4e4e\u6807\u914d\u7684<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u52a0\u88c5\u4ef6<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u3002\u5b83\u4eec\u90fd\u4e0d\u6539\u53d8\u57fa\u672c\u9aa8\u67b6&#xff0c;\u53ea\u662f\u8ba9\u68c0\u7d22\u66f4\u51c6\u3001\u56de\u7b54\u66f4\u7a33\u3002<\/span><\/p>\n<h4 style=\"margin-left:0pt;text-align:justify\"><span style=\"color:#111827\">\u52a0\u88c5\u4ef6\u4e00&#xff1a;\u7ed9\u6bcf\u4e2a\u5c0f\u5757\u8865\u4e0a&#034;\u8eab\u4efd&#034;<\/span><\/h4>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u5148\u56de\u5230\u7b2c\u4e00\u8282\u90a3\u4e2a\u7ecf\u5178\u96be\u9898\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u5047\u8bbe\u4f60\u6709\u4e00\u5806\u8d22\u62a5&#xff0c;\u5207\u5757\u4e4b\u540e\u6709\u4e00\u5757\u957f\u8fd9\u6837&#xff1a;<\/span><\/p>\n<table border=\"1\" cellspacing=\"0\">\n<tbody>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"background-color:#f3f4f6;height:27px;vertical-align:middle;width:576px\">\n<p style=\"margin-left:0;text-align:left\"><span style=\"color:#111827\">\u6587\u6863\u5185\u5bb9<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"background-color:#f9fafb;height:27px;vertical-align:middle;width:576px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u516c\u53f8\u8425\u6536\u8f83\u4e0a\u4e00\u5b63\u5ea6\u589e\u957f\u4e86<\/span><span style=\"color:#111827\"> 3%<\/span><span style=\"color:#111827\">\u3002<\/span><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u8fd9\u5757\u5355\u72ec\u62ff\u51fa\u6765\u770b&#xff0c;\u4f60\u6839\u672c\u4e0d\u77e5\u9053\u5b83\u5728\u8bf4\u54ea\u5bb6\u516c\u53f8\u3001\u54ea\u4e00\u5e74\u3001\u54ea\u4e2a\u5b63\u5ea6\u3002\u8fd9\u5c31\u662f\u5207\u5757\u7684\u539f\u7f6a&#xff1a;<\/span><span style=\"color:#111827\">\u5207\u788e\u4e86\u4e0a\u4e0b\u6587\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">Anthropic <\/span><span style=\"color:#111827\">\u5728<\/span><span style=\"color:#111827\"> 2024 <\/span><span style=\"color:#111827\">\u5e74\u516c\u5e03\u4e86\u4e00\u4e2a\u975e\u5e38\u5de7\u5999\u7684\u89e3\u6cd5&#xff0c;\u53eb<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u4e0a\u4e0b\u6587\u68c0\u7d22<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">&#xff08;<\/span><span style=\"color:#111827\">Contextual Retrieval<\/span><span style=\"color:#111827\">&#xff09;\u3002\u505a\u6cd5\u662f&#xff1a;\u5728\u628a\u6bcf\u4e2a\u5757\u7f16\u7801\u6210\u5411\u91cf\u4e4b\u524d&#xff0c;\u5148\u8ba9\u4e00\u4e2a\u4fbf\u5b9c\u7684\u5c0f\u6a21\u578b\u4e3a\u5b83\u5199\u4e00\u6bb5<\/span><span style=\"color:#111827\"> 50 <\/span><span style=\"color:#111827\">\u5230<\/span><span style=\"color:#111827\"> 100 <\/span><span style=\"color:#111827\">\u8bcd\u7684\u8bf4\u660e&#xff0c;\u8bb2\u6e05<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u8fd9\u4e00\u5757\u5728\u6574\u4e2a\u6587\u6863\u91cc\u662f\u4ec0\u4e48\u4f4d\u7f6e\u3001\u8bb2\u7684\u662f\u4ec0\u4e48<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">&#xff0c;\u7136\u540e\u628a\u8fd9\u53e5\u8bf4\u660e\u62fc\u5728\u5757\u7684\u524d\u9762\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u521a\u624d\u90a3\u4e2a\u533f\u540d\u5757\u5c31\u53d8\u6210\u4e86&#xff1a;<\/span><\/p>\n<table border=\"1\" cellspacing=\"0\">\n<tbody>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"background-color:#f3f4f6;height:27px;vertical-align:middle;width:576px\">\n<p style=\"margin-left:0;text-align:left\"><span style=\"color:#111827\">\u6587\u6863\u5185\u5bb9<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"background-color:#f9fafb;height:27px;vertical-align:middle;width:576px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u8fd9\u4e00\u5757\u6765\u81ea<\/span><span style=\"color:#111827\"> ACME <\/span><span style=\"color:#111827\">\u516c\u53f8<\/span><span style=\"color:#111827\"> 2023 <\/span><span style=\"color:#111827\">\u5e74\u7b2c\u4e8c\u5b63\u5ea6\u7684<\/span><span style=\"color:#111827\"> SEC <\/span><span style=\"color:#111827\">\u6587\u4ef6&#xff0c;\u4e0a\u4e00\u5b63\u5ea6\u8425\u6536\u4e3a<\/span><span style=\"color:#111827\"> 3.14 <\/span><span style=\"color:#111827\">\u4ebf\u7f8e\u5143\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u516c\u53f8\u8425\u6536\u8f83\u4e0a\u4e00\u5b63\u5ea6\u589e\u957f\u4e86<\/span><span style=\"color:#111827\"> 3%<\/span><span style=\"color:#111827\">\u3002<\/span><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"margin-left:0;text-align:center\"><span style=\"color:#111827\">Anthropic <\/span><span style=\"color:#111827\">\u516c\u5e03\u7684\u5b9e\u6d4b\u6570\u636e&#xff08;\u7528<\/span><span style=\"color:#111827\">&#034;Top-20 <\/span><span style=\"color:#111827\">\u68c0\u7d22\u5931\u8d25\u7387<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u8861\u91cf&#xff0c;\u5373\u6b63\u786e\u7b54\u6848\u6ca1\u80fd\u8fdb\u5165\u524d<\/span><span style=\"color:#111827\"> 20 \u540d\u7684\u6bd4\u4f8b&#xff09;&#xff1a;<\/span><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1052\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260919161659-6aaeb57b73995.png\" width=\"1595\" \/><span style=\"color:#111827\">Anthropic \u4e0a\u4e0b\u6587\u68c0\u7d22\u68c0\u7d22\u5931\u8d25\u7387\u5bf9\u6bd4<\/span><\/p>\n<table border=\"1\" cellspacing=\"0\">\n<tbody>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"background-color:#f3f4f6;height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:left\"><span style=\"color:#111827\">\u6280\u672f\u7ec4\u5408<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"background-color:#f3f4f6;height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:left\"><span style=\"color:#111827\">Top-20 <\/span> <span style=\"color:#111827\">\u5931\u8d25\u7387<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"background-color:#f3f4f6;height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:left\"><span style=\"color:#111827\">\u76f8\u5bf9\u964d\u5e45<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u7eaf\u5411\u91cf\u68c0\u7d22&#xff08;\u57fa\u7ebf&#xff09;<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">5.7%<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u2014<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u52a0\u4e0a<\/span> <span style=\"color:#111827\"> BM25 <\/span> <span style=\"color:#111827\">\u6df7\u5408\u68c0\u7d22<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">4.8%<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u964d\u4f4e<\/span> <span style=\"color:#111827\"> 16%<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u52a0\u4e0a\u4e0a\u4e0b\u6587\u5d4c\u5165<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">3.7%<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u964d\u4f4e<\/span> <span style=\"color:#111827\"> 35%<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u4e0a\u4e0b\u6587\u5d4c\u5165<\/span> <span style=\"color:#111827\"> &#043; <\/span> <span style=\"color:#111827\">\u4e0a\u4e0b\u6587<\/span> <span style=\"color:#111827\"> BM25<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">2.9%<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u964d\u4f4e<\/span> <span style=\"color:#111827\"> 49%<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u518d\u53e0\u52a0\u4ea4\u53c9\u7f16\u7801\u5668\u91cd\u6392<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">1.9%<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u964d\u4f4e<\/span> <span style=\"color:#111827\"> 67%<\/span><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u8fd9\u91cc\u8981\u63d0\u9192\u4e00\u4e2a\u5c0f\u7ec6\u8282&#xff0c;\u5f88\u591a\u4e8c\u624b\u6587\u7ae0\u4f1a\u628a\u5b83\u8bb2\u9519&#xff1a;<\/span><span style=\"color:#111827\">&#034;\u964d\u4f4e 67%&#034;\u662f\u5931\u8d25\u7387\u7684\u76f8\u5bf9\u964d\u5e45&#xff0c;\u4e0d\u662f\u51c6\u786e\u7387\u63d0\u5347 67%\u3002<\/span> <span style=\"color:#111827\">\u51c6\u786e\u7684\u8bf4\u6cd5\u662f&#xff1a;\u4ece<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u6bcf<\/span><span style=\"color:#111827\"> 100 <\/span><span style=\"color:#111827\">\u4e2a\u95ee\u9898\u6709<\/span><span style=\"color:#111827\"> 5.7 <\/span><span style=\"color:#111827\">\u4e2a\u68c0\u7d22\u5931\u8d25<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u53d8\u6210<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u6bcf<\/span><span style=\"color:#111827\"> 100 <\/span><span style=\"color:#111827\">\u4e2a\u95ee\u9898\u53ea\u6709<\/span><span style=\"color:#111827\"> 1.9 <\/span><span style=\"color:#111827\">\u4e2a\u5931\u8d25<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u3002\u76f8\u5bf9\u964d\u5e45\u5f88\u60ca\u4eba&#xff0c;\u7edd\u5bf9\u6570\u5b57\u770b\u7740\u4e0d\u5927<\/span><span style=\"color:#111827\">\u2014\u2014<\/span><span style=\"color:#111827\">\u4f46\u4e24\u4e2a\u8bf4\u6cd5\u90fd\u662f\u771f\u7684&#xff0c;\u53ea\u662f\u89d2\u5ea6\u4e0d\u540c\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">Anthropic <\/span><span style=\"color:#111827\">\u8fd8\u7ed9\u4e86\u4e2a\u6210\u672c\u53c2\u8003&#xff1a;\u914d\u5408\u63d0\u793a\u8bcd\u7f13\u5b58&#xff08;<\/span><span style=\"color:#111827\">Prompt Caching<\/span><span style=\"color:#111827\">&#xff09;&#xff0c;\u4e00\u6b21\u6027\u5904\u7406<\/span><span style=\"color:#111827\"> 100 <\/span><span style=\"color:#111827\">\u4e07\u4e2a\u6587\u6863<\/span><span style=\"color:#111827\"> token <\/span><span style=\"color:#111827\">\u5927\u7ea6\u53ea\u8981<\/span><span style=\"color:#111827\"> 1.02 <\/span><span style=\"color:#111827\">\u7f8e\u5143\u3002\u4e5f\u5c31\u662f\u8bf4&#xff0c;\u7ed9\u5168\u516c\u53f8\u6587\u6863\u505a\u4e00\u904d\u4e0a\u4e0b\u6587\u589e\u5f3a&#xff0c;\u6210\u672c\u53ef\u80fd\u8fd8\u4e0d\u5230\u4e00\u676f\u5496\u5561\u3002<\/span><\/p>\n<h4 style=\"margin-left:0pt;text-align:justify\"><span style=\"color:#111827\">\u52a0\u88c5\u4ef6\u4e8c&#xff1a;\u5411\u91cf\u68c0\u7d22\u548c\u5173\u952e\u8bcd\u68c0\u7d22\u4e00\u8d77\u7528<\/span><\/h4>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u4f60\u53ef\u80fd\u4f1a\u95ee&#xff1a;\u65e2\u7136\u6709\u8bed\u4e49\u68c0\u7d22&#xff0c;\u4e3a\u4ec0\u4e48\u8fd8\u8981\u52a0\u4ec0\u4e48<\/span><span style=\"color:#111827\"> BM25<\/span><span style=\"color:#111827\">&#xff08;\u4e00\u79cd\u7ecf\u5178\u7684\u5173\u952e\u8bcd\u68c0\u7d22\u7b97\u6cd5&#xff09;&#xff1f;<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u56e0\u4e3a\u8bed\u4e49\u68c0\u7d22\u6709\u4e2a\u5929\u751f\u7684\u77ed\u677f&#xff1a;<\/span><span style=\"color:#111827\">\u5b83\u5bf9\u7cbe\u786e\u7684\u5b57\u4e32\u4e0d\u654f\u611f\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u8bbe\u60f3\u7528\u6237\u5728\u6280\u672f\u652f\u6301\u5e93\u91cc\u641c<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u9519\u8bef\u7801<\/span><span style=\"color:#111827\"> TS-999&#034;<\/span><span style=\"color:#111827\">\u3002\u8bed\u4e49\u6a21\u578b\u53ef\u80fd\u7ed9\u4f60\u8fd4\u56de\u4e00\u5806<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u5173\u4e8e\u9519\u8bef\u7801\u7684\u901a\u7528\u8bf4\u660e<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">&#xff0c;\u56e0\u4e3a\u5b83\u7406\u89e3\u7684\u662f<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u9519\u8bef\u7801<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u8fd9\u4e2a\u6982\u5ff5&#xff1b;\u800c\u5b83\u53ef\u80fd\u6070\u6070\u6f0f\u6389\u90a3\u6761\u6807\u9898\u5c31\u53eb<\/span><span style=\"color:#111827\">&#034;TS-999&#034;<\/span><span style=\"color:#111827\">\u7684\u6587\u6863&#xff0c;\u56e0\u4e3a<\/span><span style=\"color:#111827\">&#034;TS-999&#034;<\/span><span style=\"color:#111827\">\u8fd9\u79cd\u5b57\u7b26\u4e32\u5728\u8bed\u4e49\u7a7a\u95f4\u91cc\u6ca1\u6709\u591a\u5c11<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u610f\u601d<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u53ef\u8bb2\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">BM25 <\/span><span style=\"color:#111827\">\u6070\u597d\u76f8\u53cd\u3002\u5b83\u4e0d\u61c2\u8bed\u4e49&#xff0c;\u4f46\u5b83\u662f\u5b57\u9762\u5339\u914d\u7684\u9ad8\u624b&#xff0c;\u627e<\/span><span style=\"color:#111827\"> ID<\/span><span style=\"color:#111827\">\u3001\u578b\u53f7\u3001\u4e13\u6709\u540d\u8bcd\u3001\u9519\u8bef\u7801\u7279\u522b\u51c6\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u6240\u4ee5\u5de5\u4e1a\u754c\u7684\u6807\u51c6\u505a\u6cd5\u662f<\/span><span style=\"color:#111827\">\u4e24\u8def\u4e00\u8d77\u8dd1&#xff0c;\u518d\u628a\u7ed3\u679c\u878d\u5408<\/span><span style=\"color:#111827\">\u3002\u6700\u5e38\u7528\u7684\u878d\u5408\u7b97\u6cd5\u53eb<\/span><span style=\"color:#111827\"> RRF<\/span><span style=\"color:#111827\">&#xff08;<\/span><span style=\"color:#111827\">Reciprocal Rank Fusion<\/span><span style=\"color:#111827\">&#xff0c;\u5012\u6570\u6392\u540d\u878d\u5408&#xff09;&#xff0c;\u601d\u8def\u7b80\u5355\u5230\u53ef\u4ee5\u7528\u4e00\u53e5\u8bdd\u8bf4\u6e05&#xff1a;<\/span><span style=\"color:#111827\">\u4e0d\u6bd4\u8f83\u5206\u6570&#xff0c;\u53ea\u770b\u6392\u540d&#xff0c;\u5728\u5404\u8def\u91cc\u6392\u5f97\u9760\u524d\u7684&#xff0c;\u878d\u5408\u540e\u4e5f\u9760\u524d\u3002<\/span><\/p>\n<table border=\"1\" cellspacing=\"0\">\n<tbody>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"background-color:#f3f4f6;height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:left\"><span style=\"color:#111827\">\u68c0\u7d22\u65b9\u5f0f<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"background-color:#f3f4f6;height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:left\"><span style=\"color:#111827\">\u64c5\u957f<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"background-color:#f3f4f6;height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:left\"><span style=\"color:#111827\">\u77ed\u677f<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u8bed\u4e49\u5411\u91cf\u68c0\u7d22<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u7406\u89e3\u540c\u4e49\u8868\u8fbe\u3001\u6a21\u7cca\u63cf\u8ff0<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u6f0f\u6389\u7cbe\u786e\u5b57\u7b26\u4e32\u3001\u7f16\u53f7\u3001\u578b\u53f7<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u5173\u952e\u8bcd\u68c0\u7d22&#xff08;<\/span> <span style=\"color:#111827\">BM25<\/span> <span style=\"color:#111827\">&#xff09;<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u7cbe\u786e\u5339\u914d<\/span> <span style=\"color:#111827\"> ID<\/span> <span style=\"color:#111827\">\u3001\u9519\u8bef\u7801\u3001\u4e13\u6709\u540d\u8bcd<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u7528\u6237\u6362\u4e2a\u8bf4\u6cd5\u5c31\u5b8c\u5168\u627e\u4e0d\u5230<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u4e24\u8def\u878d\u5408&#xff08;<\/span> <span style=\"color:#111827\">RRF<\/span> <span style=\"color:#111827\">&#xff09;<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u517c\u987e\u4e0a\u9762\u4e24\u8005<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u8981\u591a\u7ef4\u62a4\u4e00\u8def\u7d22\u5f15<\/span><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4 style=\"margin-left:0pt;text-align:justify\"><span style=\"color:#111827\">\u52a0\u88c5\u4ef6\u4e09&#xff1a;\u6ce8\u610f&#034;\u4e2d\u95f4\u5931\u843d&#034;\u6548\u5e94<\/span><\/h4>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u6700\u540e\u4e00\u4e2a\u52a0\u88c5\u4ef6\u662f\u4e2a<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u6ce8\u610f\u4e8b\u9879<\/span><span style=\"color:#111827\">&#034;\u2014\u2014<\/span><span style=\"color:#111827\">\u5b83\u53ef\u80fd\u98a0\u8986\u4f60\u5bf9<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u4e0a\u4e0b\u6587\u7a97\u53e3\u8d8a\u5927\u8d8a\u597d<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u7684\u60f3\u8c61\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u65af\u5766\u798f\u7b49\u673a\u6784\u7684\u7814\u7a76\u8005\u5728<\/span><span style=\"color:#111827\"> 2023 <\/span><span style=\"color:#111827\">\u5e74\u53d1\u8868\u4e86\u4e00\u7bc7\u5f88\u6709\u540d\u7684\u8bba\u6587\u300a<\/span><span style=\"color:#111827\">Lost in the Middle: How Language Models Use Long Contexts<\/span><span style=\"color:#111827\">\u300b&#xff08;\u540e\u53d1\u8868\u4e8e<\/span><span style=\"color:#111827\"> TACL 2024<\/span><span style=\"color:#111827\">&#xff09;\u3002\u4ed6\u4eec\u505a\u4e86\u4e00\u4e2a\u7cbe\u5fc3\u8bbe\u8ba1\u7684\u5b9e\u9a8c&#xff1a;\u628a\u5305\u542b\u7b54\u6848\u7684\u90a3\u4efd\u6750\u6599&#xff0c;\u653e\u5728\u4e0a\u4e0b\u6587\u7684\u7b2c<\/span><span style=\"color:#111827\"> 1<\/span><span style=\"color:#111827\">\u3001<\/span><span style=\"color:#111827\">5<\/span><span style=\"color:#111827\">\u3001<\/span><span style=\"color:#111827\">10<\/span><span style=\"color:#111827\">\u3001<\/span><span style=\"color:#111827\">15<\/span><span style=\"color:#111827\">\u3001<\/span><span style=\"color:#111827\">20 <\/span><span style=\"color:#111827\">\u4f4d&#xff0c;\u770b\u6a21\u578b\u7b54\u9898\u51c6\u786e\u7387\u600e\u4e48\u53d8\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:center\"><span style=\"color:#111827\">\u7ed3\u679c\u662f\u90a3\u6761\u7ecf\u5178\u7684 <\/span><span style=\"color:#111827\">U \u578b\u66f2\u7ebf<\/span><span style=\"color:#111827\">&#xff1a;<\/span><img loading=\"lazy\" decoding=\"async\" alt=\"\" height=\"1037\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260919161700-6aaeb57c32a78.png\" width=\"1579\" \/><span style=\"color:#111827\">Lost in the Middle U \u578b\u66f2\u7ebf<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u6a21\u578b\u5bf9<\/span><span style=\"color:#111827\">\u5f00\u5934<\/span><span style=\"color:#111827\">\u548c<\/span><span style=\"color:#111827\">\u7ed3\u5c3e<\/span><span style=\"color:#111827\">\u7684\u4fe1\u606f\u7528\u5f97\u5f88\u597d&#xff0c;\u800c<\/span><span style=\"color:#111827\">\u5939\u5728\u4e2d\u95f4<\/span><span style=\"color:#111827\">\u7684\u4fe1\u606f&#xff0c;\u51c6\u786e\u7387\u4f1a\u6bd4\u9996\u5c3e\u4f4e<\/span><span style=\"color:#111827\"> 20 <\/span><span style=\"color:#111827\">\u5230<\/span><span style=\"color:#111827\"> 30 <\/span><span style=\"color:#111827\">\u4e2a\u767e\u5206\u70b9\u3002\u66f4\u6709\u610f\u601d\u7684\u662f&#xff0c;\u5728\u67d0\u4e9b\u8bbe\u7f6e\u4e0b&#xff0c;\u628a\u4fe1\u606f\u653e\u5728\u4e2d\u95f4&#xff0c;\u6a21\u578b\u7684\u8868\u73b0\u751a\u81f3\u4e0d\u5982<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u5b8c\u5168\u4e0d\u7ed9\u5b83\u8fd9\u4efd\u6750\u6599<\/span><span style=\"color:#111827\">&#034;\u2014\u2014<\/span><span style=\"color:#111827\">\u8fd9\u4e9b\u591a\u51fa\u6765\u7684\u6587\u5b57\u4e0d\u4f46\u6ca1\u5e2e\u4e0a\u5fd9&#xff0c;\u53cd\u800c\u5e72\u6270\u4e86\u5b83\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u8fd9\u5bf9<\/span><span style=\"color:#111827\"> RAG <\/span><span style=\"color:#111827\">\u7684\u8bbe\u8ba1\u6709\u975e\u5e38\u5177\u4f53\u7684\u6307\u5bfc\u610f\u4e49&#xff1a;<\/span><\/p>\n<ul>\n<li style=\"text-align:justify\"><span style=\"color:#111827\">\u522b\u8d2a\u5fc3<\/span><span style=\"color:#111827\">\u3002\u68c0\u7d22<\/span><span style=\"color:#111827\"> 20 <\/span><span style=\"color:#111827\">\u6bb5\u8d44\u6599\u4e00\u80a1\u8111\u585e\u8fdb\u53bb&#xff0c;\u672a\u5fc5\u6bd4\u7cbe\u9009<\/span><span style=\"color:#111827\"> 5 <\/span><span style=\"color:#111827\">\u6bb5\u66f4\u597d\u3002\u4e2d\u95f4\u90a3\u4e9b\u6bb5\u843d\u5f88\u53ef\u80fd\u88ab<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u65e0\u89c6<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u3002<\/span><\/li>\n<li style=\"text-align:justify\"><span style=\"color:#111827\">\u6ce8\u610f\u6392\u5e8f<\/span><span style=\"color:#111827\">\u3002\u65e2\u7136\u9996\u5c3e\u4f4d\u7f6e\u6700\u53d7\u5173\u6ce8&#xff0c;\u90a3\u5c31\u628a\u6700\u76f8\u5173\u7684\u8d44\u6599\u653e\u5728\u6700\u524d\u9762\u6216\u6700\u540e\u9762\u3002<\/span><\/li>\n<li style=\"text-align:justify\"><span style=\"color:#111827\">\u91cd\u6392\u5f88\u503c\u94b1<\/span><span style=\"color:#111827\">\u3002\u628a\u771f\u6b63\u91cd\u8981\u7684\u5185\u5bb9\u91cd\u65b0\u6392\u5230\u9ad8\u6ce8\u610f\u529b\u4f4d\u7f6e&#xff0c;\u8fd9\u4ef6\u4e8b\u7684\u6536\u76ca\u53ef\u80fd\u6bd4\u6362\u4e00\u4e2a\u66f4\u5f3a\u7684\u6a21\u578b\u8fd8\u5927\u3002<\/span><\/li>\n<\/ul>\n<table border=\"1\" cellspacing=\"0\">\n<tbody>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"background-color:#f0f5fa;height:27px;vertical-align:top;width:576px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u4e00\u53e5\u8bdd\u8bb0\u4f4f<\/span><span style=\"color:#111827\">&#xff1a;\u68c0\u7d22\u8d28\u91cf\u51b3\u5b9a\u4e86\u56de\u7b54\u8d28\u91cf\u7684\u4e0a\u9650\u3002\u800c\u5728\u6240\u6709\u4f18\u5316\u624b\u6bb5\u91cc&#xff0c;\u91cd\u6392&#xff08;<\/span><span style=\"color:#111827\">Rerank<\/span><span style=\"color:#111827\">&#xff09;\u5f80\u5f80\u662f\u6027\u4ef7\u6bd4\u6700\u9ad8\u7684\u4e00\u7b14\u6295\u5165<\/span><span style=\"color:#111827\">\u2014\u2014<\/span><span style=\"color:#111827\">\u5b83\u5355\u9879\u5c31\u80fd\u8d21\u732e\u53ef\u89c2\u7684\u5931\u8d25\u7387\u4e0b\u964d\u3002<\/span><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3 style=\"margin-left:0pt;text-align:justify\"><span style=\"color:#111827\">\u516b\u3001\u4e09\u4e2a\u771f\u5b9e\u7684\u843d\u5730\u6848\u4f8b<\/span><\/h3>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u8bb2\u4e86\u8fd9\u4e48\u591a\u539f\u7406&#xff0c;\u4f60\u53ef\u80fd\u4f1a\u60f3&#xff1a;\u8fd9\u4e8b\u513f\u771f\u6709\u4eba\u5728\u505a\u5417&#xff1f;\u505a\u5f97\u600e\u4e48\u6837&#xff1f;<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u8fd9\u4e00\u8282\u8bb2\u4e09\u4e2a\u6709\u516c\u5f00\u8bb0\u5f55\u7684\u771f\u5b9e\u6848\u4f8b\u3002\u6211\u5c3d\u91cf\u7528\u53ef\u67e5\u8bc1\u7684\u6570\u5b57&#xff0c;\u5e76\u7528\u8868\u683c\u628a<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u4ed6\u4eec\u505a\u4e86\u4ec0\u4e48<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u548c<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u5f97\u5230\u4e86\u4ec0\u4e48<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u5bf9\u5e94\u8d77\u6765\u3002<\/span><\/p>\n<h4 style=\"margin-left:0pt;text-align:justify\"><span style=\"color:#111827\">\u6848\u4f8b\u4e00&#xff1a;\u6469\u6839\u58eb\u4e39\u5229\u7684\u5185\u90e8 AI \u52a9\u624b<\/span><\/h4>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u8fd9\u662f\u76ee\u524d\u516c\u5f00\u8d44\u6599\u91cc\u6700\u5e38\u88ab\u5f15\u7528\u7684<\/span><span style=\"color:#111827\"> RAG <\/span><span style=\"color:#111827\">\u843d\u5730\u6848\u4f8b\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u80cc\u666f\u5f88\u5178\u578b&#xff1a;\u6469\u6839\u58eb\u4e39\u5229\u8d22\u5bcc\u7ba1\u7406\u90e8\u95e8\u6709\u5927\u7ea6<\/span><span style=\"color:#111827\"> 16000 <\/span><span style=\"color:#111827\">\u540d\u8d22\u52a1\u987e\u95ee&#xff0c;\u516c\u53f8\u79ef\u7d2f\u4e86\u8d85\u8fc7<\/span><span style=\"color:#111827\"> 10 <\/span><span style=\"color:#111827\">\u4e07\u4efd\u7814\u7a76\u62a5\u544a\u548c\u6587\u6863\u3001\u7ea6<\/span><span style=\"color:#111827\"> 100 <\/span><span style=\"color:#111827\">\u4e07\u9875\u673a\u6784\u77e5\u8bc6\u3002\u987e\u95ee\u4eec\u6bcf\u5929\u8981\u82b1\u5927\u91cf\u65f6\u95f4\u5728\u8fd9\u4e9b\u8d44\u6599\u91cc\u7ffb\u627e\u7b54\u6848&#xff0c;\u800c\u4e0d\u662f\u670d\u52a1\u5ba2\u6237\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u4ed6\u4eec<\/span><span style=\"color:#111827\"> 2023 <\/span><span style=\"color:#111827\">\u5e74<\/span><span style=\"color:#111827\"> 9 <\/span><span style=\"color:#111827\">\u6708\u4e0a\u7ebf\u4e86\u57fa\u4e8e<\/span><span style=\"color:#111827\"> GPT-4 <\/span><span style=\"color:#111827\">\u7684<\/span><span style=\"color:#111827\"> RAG <\/span><span style=\"color:#111827\">\u52a9\u624b\u3002\u6709\u4e24\u70b9\u503c\u5f97\u6ce8\u610f&#xff1a;<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u7b2c\u4e00&#xff0c;\u4ed6\u4eec\u6ca1\u6709\u5fae\u8c03\u6a21\u578b\u3002<\/span> <span style=\"color:#111827\">\u6574\u5957\u65b9\u6848\u9760\u7684\u662f\u68c0\u7d22\u5c42<\/span><span style=\"color:#111827\">\u2014\u2014<\/span><span style=\"color:#111827\">\u628a\u65b0\u53d1\u5e03\u7684\u7814\u62a5\u548c\u76d1\u7ba1\u53d8\u66f4\u5373\u65f6\u7d22\u5f15\u8fdb\u53bb&#xff0c;\u6a21\u578b\u672c\u8eab\u4e0d\u52a8\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u7b2c\u4e8c&#xff0c;\u4ed6\u4eec\u8bbe\u8ba1\u4e86&#034;\u4eba\u5728\u73af\u4e2d&#034;\u3002<\/span> <span style=\"color:#111827\">\u987e\u95ee\u5728\u628a<\/span><span style=\"color:#111827\"> AI <\/span><span style=\"color:#111827\">\u8f93\u51fa\u4ea4\u7ed9\u5ba2\u6237\u4e4b\u524d\u4f1a\u81ea\u5df1\u5ba1\u6838<\/span><span style=\"color:#111827\">\u2014\u2014<\/span><span style=\"color:#111827\">\u8fd9\u5728\u53d7\u76d1\u7ba1\u7684\u91d1\u878d\u884c\u4e1a\u662f\u5fc5\u987b\u7684\u3002<\/span><\/p>\n<table border=\"1\" cellspacing=\"0\">\n<tbody>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"background-color:#f3f4f6;height:27px;vertical-align:middle;width:288px\">\n<p style=\"margin-left:0;text-align:left\"><span style=\"color:#111827\">\u9879\u76ee<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"background-color:#f3f4f6;height:27px;vertical-align:middle;width:288px\">\n<p style=\"margin-left:0;text-align:left\"><span style=\"color:#111827\">\u516c\u5f00\u6570\u636e<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:288px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u670d\u52a1\u5bf9\u8c61<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:288px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u7ea6<\/span> <span style=\"color:#111827\"> 16000 <\/span> <span style=\"color:#111827\">\u540d\u8d22\u52a1\u987e\u95ee<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:288px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u77e5\u8bc6\u5e93\u89c4\u6a21<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:288px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u8d85\u8fc7<\/span> <span style=\"color:#111827\"> 10 <\/span> <span style=\"color:#111827\">\u4e07\u4efd\u6587\u6863\u3001\u7ea6<\/span> <span style=\"color:#111827\"> 100 <\/span> <span style=\"color:#111827\">\u4e07\u9875<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:288px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u68c0\u7d22\u5c42\u80fd\u5904\u7406<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:288px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u8d85\u8fc7<\/span> <span style=\"color:#111827\"> 35 <\/span> <span style=\"color:#111827\">\u4e07\u4efd\u6587\u6863<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:288px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u91c7\u7528\u7387<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:288px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u8d85\u8fc7<\/span> <span style=\"color:#111827\"> 98% <\/span> <span style=\"color:#111827\">\u7684\u987e\u95ee\u56e2\u961f\u5728\u4f7f\u7528<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:288px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u6548\u7387\u63d0\u5347<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:288px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u987e\u95ee\u6bcf\u5929\u8282\u7701\u7ea6<\/span> <span style=\"color:#111827\"> 20\u201345 <\/span> <span style=\"color:#111827\">\u5206\u949f\u7684\u4fe1\u606f\u68c0\u7d22\u65f6\u95f4<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:288px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u662f\u5426\u5fae\u8c03\u6a21\u578b<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:288px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u6ca1\u6709&#xff0c;\u5b8c\u5168\u9760\u68c0\u7d22\u5c42<\/span><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u516c\u53f8\u8d1f\u8d23\u4eba\u7684\u4e00\u53e5\u539f\u8bdd\u88ab\u5e7f\u6cdb\u5f15\u7528&#xff1a;<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u8fd9\u9879\u6280\u672f\u8ba9\u4f60\u548c\u7ec4\u7ec7\u91cc\u6700\u806a\u660e\u7684\u4eba\u4e00\u6837\u806a\u660e\u3002<\/span><span style=\"color:#111827\">&#034;<\/span><\/p>\n<h4 style=\"margin-left:0pt;text-align:justify\"><span style=\"color:#111827\">\u6848\u4f8b\u4e8c&#xff1a;\u5fae\u8f6f PIKE-RAG \u5728\u6615\u8bfa\u98de\u7684\u77e5\u8bc6\u7ba1\u7406\u573a\u666f<\/span><\/h4>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u8fd9\u4e2a\u6848\u4f8b\u7684\u4ef7\u503c\u5728\u4e8e&#xff0c;\u5b83\u5c55\u793a\u4e86<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u6734\u7d20<\/span><span style=\"color:#111827\"> RAG <\/span><span style=\"color:#111827\">\u4e0d\u591f\u7528<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u65f6\u8be5\u600e\u4e48\u529e\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u6615\u8bfa\u98de&#xff08;<\/span><span style=\"color:#111827\">Signify<\/span><span style=\"color:#111827\">&#xff0c;\u539f\u98de\u5229\u6d66\u7167\u660e&#xff09;\u670d\u52a1\u7684\u662f\u4e13\u4e1a\u7528\u6237&#xff0c;\u4ea7\u54c1\u6709\u6570\u5343\u4e2a\u578b\u53f7\u3001\u53c2\u6570\u590d\u6742\u3001\u6587\u6863\u7248\u672c\u591a\u3002\u4ed6\u4eec\u7684\u5ba2\u670d\u7cfb\u7edf\u539f\u672c\u5df2\u7ecf\u7528\u4e86<\/span><span style=\"color:#111827\"> RAG<\/span><span style=\"color:#111827\">&#xff0c;\u4f46\u6548\u679c\u5361\u5728\u74f6\u9888\u4e0a\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u5361\u5728\u54ea&#xff1f;\u4e09\u7c7b\u95ee\u9898&#xff1a;\u975e\u6807\u51c6\u5316\u7684\u8868\u683c&#xff08;\u6bd4\u5982\u4e0d\u540c\u7535\u6d41\u4e0b\u7684\u7535\u538b\u8303\u56f4\u5bf9\u7167\u8868&#xff09;\u3001\u7535\u8def\u63a5\u7ebf\u56fe\u8fd9\u7c7b\u56fe\u5f62\u3001\u4ee5\u53ca\u9700\u8981\u591a\u6b65\u63a8\u7406\u7684\u590d\u6742\u95ee\u9898\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u5fae\u8f6f\u4e9a\u6d32\u7814\u7a76\u9662\u7684<\/span><span style=\"color:#111827\"> PIKE-RAG <\/span><span style=\"color:#111827\">\u65b9\u6848\u505a\u4e86\u4e09\u4ef6\u4e8b&#xff1a;<\/span><\/p>\n<li style=\"text-align:justify\"><span style=\"color:#111827\">\u591a\u6a21\u6001\u89e3\u6790<\/span><span style=\"color:#111827\">\u2014\u2014<\/span><span style=\"color:#111827\">\u4e0d\u53ea\u662f\u8bfb\u6587\u5b57&#xff0c;\u8fd8\u80fd\u8bc6\u522b\u8868\u683c\u7ed3\u6784\u3001\u89e3\u6790\u7535\u8def\u56fe\u4e2d\u7684\u5173\u952e\u53c2\u6570\u3002\u5b98\u65b9\u6587\u7ae0\u4e3e\u7684\u4f8b\u5b50\u662f&#xff1a;\u5ba2\u670d\u95ee<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u67d0\u578b\u53f7\u9a71\u52a8\u5668\u5728<\/span><span style=\"color:#111827\"> 0.15 <\/span><span style=\"color:#111827\">\u5b89\u7535\u6d41\u4e0b\u7684\u8f93\u51fa\u7535\u538b<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">&#xff0c;\u7cfb\u7edf\u80fd\u5b9a\u4f4d\u6587\u6863\u91cc\u7684\u66f2\u7ebf\u56fe\u5e76\u63a8\u7b97\u533a\u95f4&#xff0c;\u800c\u8fd9\u6b63\u662f\u4f20\u7edf\u7cfb\u7edf\u9891\u7e41\u51fa\u9519\u7684\u573a\u666f\u3002<\/span><\/li>\n<li style=\"text-align:justify\"><span style=\"color:#111827\">\u52a8\u6001\u4efb\u52a1\u5206\u89e3 &#043; \u591a\u8df3\u63a8\u7406<\/span><span style=\"color:#111827\">\u2014\u2014<\/span><span style=\"color:#111827\">\u628a\u4e00\u4e2a\u590d\u6742\u95ee\u9898\u62c6\u6210\u591a\u4e2a\u5b50\u4efb\u52a1\u9010\u6b65\u6c42\u89e3\u3002\u5b98\u65b9\u4e3e\u7684\u4f8b\u5b50\u662f<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u5217\u51fa\u4e0e<\/span><span style=\"color:#111827\"> G8 <\/span><span style=\"color:#111827\">\u7cfb\u5217\u5339\u914d\u7684\u5168\u90e8\u5e95\u5ea7<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">&#xff1a;\u6587\u6863\u91cc\u6ca1\u76f4\u63a5\u5199&#xff0c;\u7cfb\u7edf\u5148\u53d1\u73b0<\/span><span style=\"color:#111827\">&#034;G7 <\/span><span style=\"color:#111827\">\u4e0e<\/span><span style=\"color:#111827\"> G8 <\/span><span style=\"color:#111827\">\u5c3a\u5bf8\u4e00\u81f4\u3001<\/span><span style=\"color:#111827\">G7 <\/span><span style=\"color:#111827\">\u7684\u5e95\u5ea7\u90fd\u517c\u5bb9<\/span><span style=\"color:#111827\"> G8&#034;<\/span><span style=\"color:#111827\">&#xff0c;\u518d\u53bb\u68c0\u7d22<\/span><span style=\"color:#111827\"> G7 <\/span><span style=\"color:#111827\">\u7684\u5e95\u5ea7\u5217\u8868&#xff0c;\u6700\u540e\u53bb\u67e5\u7f29\u5199\u4e0e\u5168\u79f0\u7684\u5bf9\u7167\u8868&#xff0c;\u624d\u62fc\u51fa\u5b8c\u6574\u7b54\u6848\u3002<\/span><\/li>\n<li style=\"text-align:justify\"><span style=\"color:#111827\">\u9886\u57df\u601d\u7ef4\u6a21\u5f0f\u9002\u914d<\/span><span style=\"color:#111827\">\u2014\u2014<\/span><span style=\"color:#111827\">\u5141\u8bb8\u4f01\u4e1a\u628a\u884c\u4e1a\u7ea6\u5b9a\u4fd7\u6210\u7684\u5224\u65ad\u89c4\u5219\u5199\u8fdb\u53bb&#xff0c;\u6bd4\u5982<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u9a71\u52a8\u5668\u7684\u6700\u5927\u8f93\u51fa\u7535\u538b\u5e94\u53d6\u5de5\u4f5c\u7535\u538b\u8303\u56f4\u7684\u6700\u5927\u503c&#xff0c;\u800c\u4e0d\u662f\u53c2\u6570\u8868\u91cc\u7684\u6700\u5927\u503c<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u3002<\/span><\/li>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u7ed3\u679c&#xff1a;\u76f8\u6bd4\u539f\u6709\u7cfb\u7edf&#xff0c;\u56de\u7b54\u51c6\u786e\u7387\u63d0\u5347\u4e86<\/span><span style=\"color:#111827\"> 12%<\/span><span style=\"color:#111827\">&#xff0c;\u800c\u4e14\u662f\u5728<\/span><span style=\"color:#111827\">\u6ca1\u6709\u9488\u5bf9\u4efb\u4f55\u5355\u4e2a\u95ee\u9898\u505a\u5b9a\u5236\u5316\u8c03\u6574<\/span><span style=\"color:#111827\">\u7684\u524d\u63d0\u4e0b\u53d6\u5f97\u7684\u3002<\/span><\/p>\n<table border=\"1\" cellspacing=\"0\">\n<tbody>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"background-color:#f3f4f6;height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:left\"><span style=\"color:#111827\">\u7ef4\u5ea6<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"background-color:#f3f4f6;height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:left\"><span style=\"color:#111827\">\u6539\u8fdb\u524d<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"background-color:#f3f4f6;height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:left\"><span style=\"color:#111827\">\u6539\u8fdb\u540e<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u8868\u683c\u3001\u56fe\u5f62\u7c7b\u95ee\u9898<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u65e0\u6cd5\u6709\u6548\u5904\u7406&#xff0c;\u6216\u53ea\u63d0\u53d6\u51fa\u6df7\u4e71\u7247\u6bb5<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u80fd\u8bc6\u522b\u8868\u683c\u7ed3\u6784\u3001\u89e3\u6790\u56fe\u4e2d\u53c2\u6570<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u591a\u6b65\u63a8\u7406\u95ee\u9898<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u4e00\u95ee\u4e00\u7b54\u6a21\u5f0f&#xff0c;\u96be\u4ee5\u5e94\u5bf9<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u52a8\u6001\u5206\u89e3\u4e3a\u5b50\u4efb\u52a1&#xff0c;\u591a\u8df3\u63a8\u7406<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u9886\u57df\u89c4\u5219<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u9760\u63d0\u793a\u8bcd\u53cd\u590d\u8c03\u4f18<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u901a\u8fc7\u9886\u57df\u63d0\u793a\u6a21\u5757\u52a8\u6001\u6ce8\u5165<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u51c6\u786e\u7387<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u57fa\u7ebf<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u63d0\u5347<\/span> <span style=\"color:#111827\"> 12%<\/span><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h4 style=\"margin-left:0pt;text-align:justify\"><span style=\"color:#111827\">\u6848\u4f8b\u4e09&#xff1a;\u4e00\u4e2a\u80fd\u843d\u5730\u7684\u8bc4\u4f30\u505a\u6cd5<\/span><\/h4>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u7b2c\u4e09\u4e2a\u6848\u4f8b\u4e0d\u8bb2\u5177\u4f53\u516c\u53f8&#xff0c;\u8bb2\u4e00\u4e2a\u6211\u89c9\u5f97\u6700\u6709\u666e\u9002\u4ef7\u503c\u7684\u7ecf\u9a8c&#xff0c;\u6765\u81ea\u4e00\u4efd<\/span><span style=\"color:#111827\"> 2026 <\/span><span style=\"color:#111827\">\u5e74\u7684<\/span><span style=\"color:#111827\"> RAG <\/span><span style=\"color:#111827\">\u751f\u4ea7\u5b9e\u8df5\u603b\u7ed3\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u91cc\u9762\u63d0\u5230\u4e00\u5bb6\u4e2d\u578b<\/span><span style=\"color:#111827\"> SaaS <\/span><span style=\"color:#111827\">\u516c\u53f8\u7684\u5ba2\u670d\u77e5\u8bc6\u5e93&#xff1a;<\/span><\/p>\n<ul>\n<li style=\"text-align:justify\"><span style=\"color:#111827\">\u7b2c\u4e00\u4e2a\u7248\u672c\u7528\u7684\u662f\u6734\u7d20\u65b9\u6848<\/span><span style=\"color:#111827\">\u2014\u2014<\/span><span style=\"color:#111827\">\u5355\u6b21\u68c0\u7d22\u3001\u76f4\u63a5\u7528\u4e3b\u6d41\u6a21\u578b\u751f\u6210\u3002\u7528\u6237\u53cd\u9988<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u7b54\u9519<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u7684\u6bd4\u4f8b\u5927\u6982\u662f<\/span> <span style=\"color:#111827\">22%<\/span><span style=\"color:#111827\">\u3002<\/span><\/li>\n<li style=\"text-align:justify\"><span style=\"color:#111827\">\u6539\u9020\u4e4b\u540e\u52a0\u4e86\u56db\u6837\u4e1c\u897f&#xff1a;<\/span><span style=\"color:#111827\">BM25 <\/span><span style=\"color:#111827\">\u6df7\u5408\u68c0\u7d22\u3001\u91cd\u6392\u6a21\u578b\u3001\u67e5\u8be2\u6539\u5199\u3001\u8bed\u4e49\u7f13\u5b58\u3002<\/span><\/li>\n<li style=\"text-align:justify\"><span style=\"color:#111827\">\u4e09\u4e2a\u6708\u540e&#xff1a;<\/span><span style=\"color:#111827\">\u7b54\u9519\u7387\u964d\u5230 4%<\/span><span style=\"color:#111827\">&#xff0c;\u800c\u4e14\u56e0\u4e3a\u8bed\u4e49\u7f13\u5b58\u62b5\u6d88\u4e86\u91cd\u6392\u7684\u7b97\u529b\u5f00\u9500&#xff0c;<\/span><span style=\"color:#111827\">\u6bcf\u6b21\u67e5\u8be2\u7684\u6210\u672c\u53cd\u800c\u964d\u4e86 38%<\/span><span style=\"color:#111827\">\u3002<\/span><\/li>\n<\/ul>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u540c\u4e00\u4efd\u8d44\u6599\u91cc\u8fd8\u63d0\u5230\u53e6\u4e00\u4e2a\u6848\u4f8b&#xff0c;\u6211\u89c9\u5f97\u66f4\u80fd\u8bf4\u660e\u95ee\u9898&#xff1a;\u4e00\u5bb6\u5f8b\u6240\u7684\u5185\u90e8\u7814\u7a76\u52a9\u624b&#xff0c;\u6700\u521d\u4e0a\u7ebf\u65f6\u7528\u6237\u4e0d\u4fe1\u4efb\u5b83<\/span><span style=\"color:#111827\">\u2014\u2014<\/span><span style=\"color:#111827\">\u56e0\u4e3a\u7cfb\u7edf\u4f1a<\/span><span style=\"color:#111827\">\u7f16\u9020\u5224\u4f8b\u5f15\u7528<\/span><span style=\"color:#111827\">\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u4ed6\u4eec\u7684\u4fee\u6cd5\u4e0d\u662f\u6362\u6a21\u578b&#xff0c;\u800c\u662f\u52a0\u4e86\u4e24\u5c42&#xff1a;\u4e00\u662f\u8ba9\u6a21\u578b\u6309\u7ed3\u6784\u5316\u683c\u5f0f\u8f93\u51fa\u5f15\u7528&#xff0c;\u4e8c\u662f\u52a0\u4e86\u4e00\u4e2a<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u6821\u9a8c\u5668<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">&#xff0c;\u628a\u6bcf\u4e00\u4e2a\u5f15\u7528\u7684\u51fa\u5904\u62ff\u53bb\u548c\u68c0\u7d22\u5230\u7684\u539f\u6587\u6bd4\u5bf9\u3002\u6539\u5b8c\u4e4b\u540e&#xff0c;\u5fe0\u5b9e\u5ea6\u6307\u6807\u4ece<\/span><span style=\"color:#111827\"> 0.71 <\/span><span style=\"color:#111827\">\u5347\u5230<\/span><span style=\"color:#111827\"> 0.96<\/span><span style=\"color:#111827\">&#xff0c;\u7528\u6237\u53cd\u9988\u7684\u5e7b\u89c9\u95ee\u9898\u4e0b\u964d\u5230\u63a5\u8fd1\u96f6\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u8fd9\u4e24\u4e2a\u6848\u4f8b\u6307\u5411\u540c\u4e00\u4e2a\u7ed3\u8bba&#xff1a;<\/span><span style=\"color:#111827\">RAG \u7684\u8d28\u91cf\u63d0\u5347&#xff0c;\u7edd\u5927\u591a\u6570\u6765\u81ea\u5de5\u7a0b\u7ec6\u8282&#xff0c;\u800c\u4e0d\u662f\u6362\u66f4\u8d35\u7684\u6a21\u578b\u3002<\/span><\/p>\n<h3 style=\"margin-left:0pt;text-align:justify\"><span style=\"color:#111827\">\u4e5d\u3001RAG \u7684\u8fb9\u754c&#xff1a;\u4ec0\u4e48\u65f6\u5019\u4f60\u4e0d\u8be5\u7528 RAG<\/span><\/h3>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u770b\u5230\u8fd9\u91cc&#xff0c;\u4f60\u53ef\u80fd\u4f1a\u89c9\u5f97<\/span><span style=\"color:#111827\"> RAG <\/span><span style=\"color:#111827\">\u662f\u4e2a\u4e07\u80fd\u836f\u3002\u4e0d\u662f\u7684\u3002\u8fd9\u4e00\u8282\u4e13\u95e8\u8bb2\u5b83\u7684\u8fb9\u754c&#xff0c;\u4ee5\u53ca\u5b83\u548c\u53e6\u5916\u4e24\u6761\u6280\u672f\u8def\u7ebf\u7684\u53d6\u820d\u3002<\/span><\/p>\n<h4 style=\"margin-left:0pt;text-align:justify\"><span style=\"color:#111827\">\u548c&#034;\u5fae\u8c03&#034;\u6bd4&#xff1a;\u4e0d\u662f\u5bf9\u624b&#xff0c;\u662f\u5206\u5de5<\/span><\/h4>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u5f88\u591a\u4eba\u7ea0\u7ed3<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u8be5\u7528<\/span><span style=\"color:#111827\"> RAG <\/span><span style=\"color:#111827\">\u8fd8\u662f\u5fae\u8c03<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u3002\u5148\u770b\u4e00\u7ec4\u771f\u5b9e\u6570\u636e\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">Menlo Ventures <\/span><span style=\"color:#111827\">\u5728<\/span><span style=\"color:#111827\"> 2024 <\/span><span style=\"color:#111827\">\u5e74\u7684\u4f01\u4e1a\u751f\u6210\u5f0f<\/span><span style=\"color:#111827\"> AI <\/span><span style=\"color:#111827\">\u8c03\u7814\u4e2d&#xff08;\u6837\u672c\u4e3a<\/span><span style=\"color:#111827\"> 600 <\/span><span style=\"color:#111827\">\u4f4d\u4f01\u4e1a<\/span><span style=\"color:#111827\"> IT <\/span><span style=\"color:#111827\">\u51b3\u7b56\u8005&#xff09;\u53d1\u73b0&#xff1a;<\/span><\/p>\n<table border=\"1\" cellspacing=\"0\">\n<tbody>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"background-color:#f3f4f6;height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:left\"><span style=\"color:#111827\">\u6280\u672f\u8def\u7ebf<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"background-color:#f3f4f6;height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:left\"><span style=\"color:#111827\">\u751f\u4ea7\u73af\u5883\u91c7\u7528\u7387&#xff08;<\/span> <span style=\"color:#111827\">2024<\/span> <span style=\"color:#111827\">&#xff09;<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"background-color:#f3f4f6;height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:left\"><span style=\"color:#111827\">\u4e0a\u4e00\u5e74<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u63d0\u793a\u8bcd\u8bbe\u8ba1<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u5c45\u9996<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u2014<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">RAG<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">51%<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">31%<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u667a\u80fd\u4f53\u67b6\u6784<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">12%<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u9996\u6b21\u51fa\u73b0<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u5fae\u8c03<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">9%<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u2014<\/span><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">RAG <\/span><span style=\"color:#111827\">\u7684\u91c7\u7528\u7387\u4e00\u5e74\u5185\u4ece<\/span><span style=\"color:#111827\"> 31% <\/span><span style=\"color:#111827\">\u6da8\u5230<\/span><span style=\"color:#111827\"> 51%<\/span><span style=\"color:#111827\">&#xff0c;\u800c\u5fae\u8c03\u53ea\u6709<\/span><span style=\"color:#111827\"> 9%<\/span><span style=\"color:#111827\">\u3002\u5dee\u4e86\u5c06\u8fd1\u516d\u500d\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u8fd9\u4e2a\u5dee\u8ddd\u5f88\u597d\u7406\u89e3&#xff0c;\u56e0\u4e3a\u4e24\u8005\u89e3\u51b3\u7684\u6839\u672c\u4e0d\u662f\u540c\u4e00\u7c7b\u95ee\u9898&#xff1a;<\/span><\/p>\n<table border=\"1\" cellspacing=\"0\">\n<tbody>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"background-color:#f3f4f6;height:27px;vertical-align:middle;width:288px\">\n<p style=\"margin-left:0;text-align:left\"><span style=\"color:#111827\">\u4f60\u7684\u9700\u6c42<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"background-color:#f3f4f6;height:27px;vertical-align:middle;width:288px\">\n<p style=\"margin-left:0;text-align:left\"><span style=\"color:#111827\">\u5e94\u8be5\u9009<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:288px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u77e5\u8bc6\u7ecf\u5e38\u53d8&#xff08;\u653f\u7b56\u3001\u4ea7\u54c1\u6587\u6863\u3001\u4ef7\u683c&#xff09;<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:288px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">RAG\u2014\u2014<\/span> <span style=\"color:#111827\">\u6539\u6587\u6863\u91cd\u5efa\u7d22\u5f15\u5c31\u751f\u6548<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:288px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u9700\u8981\u6eaf\u6e90\u3001\u53ef\u5ba1\u8ba1&#xff08;\u6cd5\u5f8b\u3001\u533b\u7597\u3001\u91d1\u878d&#xff09;<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:288px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">RAG\u2014\u2014<\/span> <span style=\"color:#111827\">\u6bcf\u6761\u7b54\u6848\u80fd\u6307\u5230\u539f\u6587<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:288px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u9700\u8981\u7279\u5b9a\u7684\u8bf4\u8bdd\u98ce\u683c\u3001\u8f93\u51fa\u683c\u5f0f<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:288px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u5fae\u8c03<\/span> <span style=\"color:#111827\">\u2014\u2014RAG <\/span> <span style=\"color:#111827\">\u6559\u4e0d\u4e86\u98ce\u683c<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:288px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u5bf9\u5ef6\u8fdf\u6781\u5176\u654f\u611f<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:288px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u5fae\u8c03<\/span> <span style=\"color:#111827\">\u2014\u2014<\/span> <span style=\"color:#111827\">\u5fae\u8c03\u540e\u7684\u6a21\u578b\u63a8\u7406\u66f4\u5feb<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:288px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u4e24\u8005\u90fd\u8981<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:288px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u6df7\u5408&#xff1a;\u5fae\u8c03\u7ba1<\/span> <span style=\"color:#111827\">&#034;<\/span> <span style=\"color:#111827\">\u600e\u4e48\u8bf4<\/span> <span style=\"color:#111827\">&#034;<\/span> <span style=\"color:#111827\">&#xff0c;<\/span> <span style=\"color:#111827\">RAG <\/span> <span style=\"color:#111827\">\u7ba1<\/span> <span style=\"color:#111827\">&#034;<\/span> <span style=\"color:#111827\">\u8bf4\u4ec0\u4e48<\/span> <span style=\"color:#111827\">&#034;<\/span><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u6709\u4e00\u4efd<\/span><span style=\"color:#111827\"> 2026 <\/span><span style=\"color:#111827\">\u5e74\u7684\u884c\u4e1a\u7814\u7a76\u751a\u81f3\u62ff\u6c7d\u8f66\u5236\u9020\u4e1a\u505a\u5b9e\u9a8c&#xff08;\u7528\u4e86\u4e24\u4e2a\u5b9d\u9a6c\u96c6\u56e2\u7684\u5c01\u95ed\u6570\u636e\u96c6&#xff09;&#xff0c;\u7ed3\u8bba\u662f&#xff1a;<\/span><span style=\"color:#111827\">\u5728\u770b\u8d77\u6765\u6700&#034;\u5fc5\u987b\u5fae\u8c03&#034;\u7684\u9ad8\u4e13\u4e1a\u5ea6\u573a\u666f\u91cc&#xff0c;RAG \u4f9d\u7136\u662f\u6210\u672c\u6548\u76ca\u6700\u597d\u7684\u65b9\u6848<\/span><span style=\"color:#111827\">&#xff0c;\u5f00\u6e90\u6a21\u578b\u52a0\u4e0a<\/span><span style=\"color:#111827\"> RAG <\/span><span style=\"color:#111827\">\u4e4b\u540e&#xff0c;\u8d28\u91cf\u80fd\u8ffd\u5e73\u9876\u5c16\u7684\u95ed\u6e90\u6a21\u578b\u3002<\/span><\/p>\n<h4 style=\"margin-left:0pt;text-align:justify\"><span style=\"color:#111827\">\u548c&#034;\u957f\u4e0a\u4e0b\u6587&#034;\u6bd4&#xff1a;\u7a97\u53e3\u5927&#xff0c;\u4e0d\u7b49\u4e8e\u8bfb\u5f97\u597d<\/span><\/h4>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u8fc7\u53bb\u4e24\u5e74\u8fd8\u6709\u4e00\u4e2a\u53cd\u590d\u51fa\u73b0\u7684\u4e89\u8bba&#xff1a;\u65e2\u7136\u6a21\u578b\u4e0a\u4e0b\u6587\u7a97\u53e3\u5df2\u7ecf\u80fd\u5230\u767e\u4e07<\/span><span style=\"color:#111827\"> token<\/span><span style=\"color:#111827\">&#xff0c;\u90a3\u6211\u76f4\u63a5\u628a\u6240\u6709\u8d44\u6599\u585e\u8fdb\u53bb&#xff0c;\u662f\u4e0d\u662f\u5c31\u4e0d\u9700\u8981<\/span><span style=\"color:#111827\"> RAG <\/span><span style=\"color:#111827\">\u4e86&#xff1f;<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">Anthropic <\/span><span style=\"color:#111827\">\u5728\u5b98\u65b9\u6587\u7ae0\u91cc\u7ed9\u4e86\u534a\u80af\u5b9a\u7684\u7b54\u6848&#xff0c;\u4e5f\u5212\u4e86\u8fb9\u754c&#xff1a;<\/span><span style=\"color:#111827\">\u5982\u679c\u4f60\u7684\u77e5\u8bc6\u5e93\u5c0f\u4e8e 20 \u4e07 token&#xff08;\u5927\u7ea6 500 \u9875&#xff09;&#xff0c;\u4f60\u786e\u5b9e\u53ef\u4ee5\u76f4\u63a5\u628a\u5168\u90e8\u5185\u5bb9\u653e\u8fdb\u63d0\u793a\u8bcd&#xff0c;\u6839\u672c\u4e0d\u9700\u8981 RAG\u3002<\/span> <span style=\"color:#111827\">\u914d\u5408\u63d0\u793a\u8bcd\u7f13\u5b58&#xff0c;\u8fd9\u79cd\u505a\u6cd5\u8fd8\u80fd\u628a\u5ef6\u8fdf\u964d\u4f4e\u4e00\u500d\u4ee5\u4e0a\u3001\u6210\u672c\u964d\u4f4e\u6700\u591a<\/span><span style=\"color:#111827\"> 90%<\/span><span style=\"color:#111827\">\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u4f46\u4e00\u65e6\u8d85\u8fc7\u8fd9\u4e2a\u89c4\u6a21&#xff0c;<\/span><span style=\"color:#111827\">RAG <\/span><span style=\"color:#111827\">\u5c31\u56de\u6765\u4e86\u3002\u539f\u56e0\u6709\u4e09\u6761&#xff1a;<\/span><\/p>\n<li style=\"text-align:justify\"><span style=\"color:#111827\">\u6210\u672c<\/span><span style=\"color:#111827\">&#xff1a;\u6bcf\u6b21\u63d0\u95ee\u90fd\u628a<\/span><span style=\"color:#111827\"> 20 <\/span><span style=\"color:#111827\">\u4e07<\/span><span style=\"color:#111827\"> token <\/span><span style=\"color:#111827\">\u7684\u8d44\u6599\u91cd\u53d1\u4e00\u904d&#xff0c;\u548c\u53ea\u53d1<\/span><span style=\"color:#111827\"> 5000 token <\/span><span style=\"color:#111827\">\u7684\u76f8\u5173\u7247\u6bb5&#xff0c;\u6210\u672c\u5dee\u4e86\u4e0d\u6b62\u4e00\u4e2a\u6570\u91cf\u7ea7\u3002<\/span><span style=\"color:#111827\">Anthropic <\/span><span style=\"color:#111827\">\u81ea\u5df1\u4e5f\u7b97\u8fc7\u8fd9\u7b14\u8d26&#xff1a;\u4e00\u4e2a<\/span><span style=\"color:#111827\"> 20 <\/span><span style=\"color:#111827\">\u4e07<\/span><span style=\"color:#111827\"> token <\/span><span style=\"color:#111827\">\u7684\u7a97\u53e3&#xff0c;\u5728\u6bcf\u6708<\/span><span style=\"color:#111827\"> 400 <\/span><span style=\"color:#111827\">\u4e07\u6b21\u67e5\u8be2\u7684\u91cf\u7ea7\u4e0b&#xff0c;\u8d26\u5355\u662f\u4e94\u4f4d\u6570\u7f8e\u5143\u8d77\u6b65&#xff1b;\u800c<\/span><span style=\"color:#111827\"> RAG <\/span><span style=\"color:#111827\">\u65b9\u6848\u7684\u6709\u6548\u4e0a\u4e0b\u6587\u901a\u5e38\u53ea\u6709<\/span><span style=\"color:#111827\"> 5K token <\/span><span style=\"color:#111827\">\u5de6\u53f3&#xff0c;\u6210\u672c\u5927\u7ea6\u662f\u524d\u8005\u7684<\/span><span style=\"color:#111827\"> 5%\u20138%<\/span><span style=\"color:#111827\">\u3002<\/span><\/li>\n<li style=\"text-align:justify\"><span style=\"color:#111827\">\u6ce8\u610f\u529b<\/span><span style=\"color:#111827\">&#xff1a;\u524d\u9762\u8bb2\u8fc7\u7684<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u4e2d\u95f4\u5931\u843d<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u6548\u5e94<\/span><span style=\"color:#111827\">\u2014\u2014<\/span><span style=\"color:#111827\">\u585e\u5f97\u8d8a\u591a&#xff0c;\u4e2d\u95f4\u90e8\u5206\u8d8a\u5bb9\u6613\u88ab\u65e0\u89c6\u3002<\/span><\/li>\n<li style=\"text-align:justify\"><span style=\"color:#111827\">\u65b0\u9c9c\u5ea6\u548c\u6743\u9650<\/span><span style=\"color:#111827\">&#xff1a;\u8d44\u6599\u66f4\u65b0\u4e00\u6b21&#xff0c;<\/span><span style=\"color:#111827\">RAG <\/span><span style=\"color:#111827\">\u53ea\u9700\u8981\u91cd\u65b0\u7d22\u5f15\u90a3\u4e00\u4e2a\u6587\u6863&#xff1b;\u957f\u4e0a\u4e0b\u6587\u65b9\u6848\u8981\u5728\u4e4b\u540e\u6bcf\u4e00\u6b21\u63d0\u95ee\u91cc\u90fd\u91cd\u590d\u4ed8\u8fd9\u4efd\u94b1\u3002\u800c\u5728\u4f01\u4e1a\u73af\u5883\u91cc&#xff0c;\u4e0d\u540c\u5458\u5de5\u80fd\u770b\u7684\u8d44\u6599\u8303\u56f4\u8fd8\u4e0d\u4e00\u6837&#xff0c;\u8fd9\u9700\u8981\u68c0\u7d22\u5c42\u6765\u505a\u6743\u9650\u8fc7\u6ee4\u3002<\/span><\/li>\n<table border=\"1\" cellspacing=\"0\">\n<tbody>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"background-color:#f3f4f6;height:27px;vertical-align:middle;width:288px\">\n<p style=\"margin-left:0;text-align:left\"><span style=\"color:#111827\">\u573a\u666f<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"background-color:#f3f4f6;height:27px;vertical-align:middle;width:288px\">\n<p style=\"margin-left:0;text-align:left\"><span style=\"color:#111827\">\u66f4\u5408\u9002\u7684\u9009\u62e9<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:288px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u77e5\u8bc6\u5e93\u5c0f\u4e8e<\/span> <span style=\"color:#111827\"> 500 <\/span> <span style=\"color:#111827\">\u9875&#xff0c;\u67e5\u8be2\u91cf\u4e0d\u5927<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:288px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u76f4\u63a5\u585e\u8fdb\u4e0a\u4e0b\u6587&#xff0c;\u4e0d\u7528\u6298\u817e<\/span> <span style=\"color:#111827\"> RAG<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:288px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u77e5\u8bc6\u5e93\u5927\u3001\u66f4\u65b0\u9891\u7e41<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:288px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">RAG<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:288px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u9700\u8981\u8de8\u5168\u5e93\u6c47\u603b&#xff08;<\/span> <span style=\"color:#111827\">&#034;<\/span> <span style=\"color:#111827\">\u603b\u7ed3\u6211\u548c\u8fd9\u4e2a\u5ba2\u6237\u7684\u6240\u6709\u4f1a\u8bae<\/span> <span style=\"color:#111827\">&#034;<\/span> <span style=\"color:#111827\">&#xff09;<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:288px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u957f\u4e0a\u4e0b\u6587\u6216\u5206\u5c42\u6458\u8981&#xff0c;\u4e0d\u662f<\/span> <span style=\"color:#111827\"> top-K <\/span> <span style=\"color:#111827\">\u68c0\u7d22<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:288px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u9700\u8981\u5f15\u7528\u51fa\u5904\u3001\u9700\u8981\u6743\u9650\u9694\u79bb<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:288px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">RAG<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:288px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u67e5\u8be2\u91cf\u5927\u3001\u5bf9\u6210\u672c\u654f\u611f<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:288px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">RAG<\/span><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3 style=\"margin-left:0pt;text-align:justify\"><span style=\"color:#111827\">\u5341\u3001\u600e\u4e48\u5224\u65ad\u4f60\u7684 RAG \u505a\u5f97\u597d\u4e0d\u597d<\/span><\/h3>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u6211\u611f\u89c9\u5b83\u7b54\u5f97\u8fd8\u4e0d\u9519<\/span><span style=\"color:#111827\">&#034;\u2014\u2014<\/span><span style=\"color:#111827\">\u8fd9\u662f\u6700\u5371\u9669\u7684\u8bc4\u4f30\u65b9\u5f0f\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u751f\u4ea7\u7ea7\u7684<\/span><span style=\"color:#111827\"> RAG <\/span><span style=\"color:#111827\">\u5fc5\u987b\u80fd\u88ab\u91cf\u5316\u8bc4\u4f30&#xff0c;\u5426\u5219\u4f60\u8fde<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u8fd9\u6b21\u6539\u52a8\u662f\u53d8\u597d\u4e86\u8fd8\u662f\u53d8\u574f\u4e86<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u90fd\u8bf4\u4e0d\u6e05\u3002\u8fd9\u4e00\u8282\u8bb2\u4e09\u4e2a\u6700\u5e38\u7528\u7684\u6307\u6807&#xff0c;\u4ee5\u53ca\u4e00\u4e2a\u6700\u5bb9\u6613\u88ab\u5ffd\u89c6\u7684\u5931\u8d25\u6a21\u5f0f\u3002<\/span><\/p>\n<h4 style=\"margin-left:0pt;text-align:justify\"><span style=\"color:#111827\">\u4e09\u4e2a\u6838\u5fc3\u6307\u6807<\/span><\/h4>\n<table border=\"1\" cellspacing=\"0\">\n<tbody>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"background-color:#f3f4f6;height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:left\"><span style=\"color:#111827\">\u6307\u6807<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"background-color:#f3f4f6;height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:left\"><span style=\"color:#111827\">\u5b83\u5728\u95ee\u4ec0\u4e48<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"background-color:#f3f4f6;height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:left\"><span style=\"color:#111827\">\u600e\u4e48\u6d4b<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u68c0\u7d22\u547d\u4e2d\u7387&#xff08;<\/span> <span style=\"color:#111827\">Recall&#064;K<\/span> <span style=\"color:#111827\">&#xff09;<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u6b63\u786e\u7684\u8d44\u6599&#xff0c;\u6709\u6ca1\u6709\u88ab\u635e\u8fdb\u524d<\/span> <span style=\"color:#111827\"> K <\/span> <span style=\"color:#111827\">\u540d&#xff1f;<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u51c6\u5907\u4e00\u6279\u6807\u6ce8\u597d\u7684\u95ee\u9898&#xff0c;\u770b\u6807\u51c6\u7b54\u6848\u6240\u5728\u7684\u5757\u6709\u6ca1\u6709\u51fa\u73b0<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u5fe0\u5b9e\u5ea6&#xff08;<\/span> <span style=\"color:#111827\">Faithfulness<\/span> <span style=\"color:#111827\">&#xff09;<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u56de\u7b54\u91cc\u7684\u6bcf\u53e5\u8bdd&#xff0c;\u90fd\u80fd\u5728\u68c0\u7d22\u5230\u7684\u8d44\u6599\u91cc\u627e\u5230\u4f9d\u636e\u5417&#xff1f;<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u7528\u8bc4\u4f30\u6a21\u578b\u9010\u53e5\u6bd4\u5bf9\u7b54\u6848\u4e0e\u8d44\u6599<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u7b54\u6848\u76f8\u5173\u5ea6&#xff08;<\/span> <span style=\"color:#111827\">Answer Relevancy<\/span> <span style=\"color:#111827\">&#xff09;<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u56de\u7b54\u6709\u6ca1\u6709\u771f\u6b63\u56de\u7b54\u7528\u6237\u7684\u8fd9\u4e2a\u95ee\u9898&#xff1f;<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u8bc4\u4f30\u6a21\u578b\u6253\u5206&#xff0c;\u6216\u4eba\u5de5\u62bd\u6837<\/span><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u8fd9\u4e09\u4e2a\u6307\u6807\u8981\u5206\u5f00\u770b&#xff0c;\u56e0\u4e3a\u5b83\u4eec\u5bf9\u5e94\u7684\u662f\u94fe\u8def\u7684\u4e0d\u540c\u73af\u8282&#xff1a;\u68c0\u7d22\u547d\u4e2d\u7387\u4f4e&#xff0c;\u8bf4\u660e\u95ee\u9898\u51fa\u5728\u5207\u5757\u6216<\/span><span style=\"color:#111827\"> embedding<\/span><span style=\"color:#111827\">&#xff1b;\u5fe0\u5b9e\u5ea6\u9ad8\u4f46\u76f8\u5173\u5ea6\u4f4e&#xff0c;\u8bf4\u660e\u68c0\u7d22\u6765\u7684\u8d44\u6599\u4e0d\u5bf9\u9898&#xff1b;\u76f8\u5173\u5ea6\u9ad8\u4f46\u5fe0\u5b9e\u5ea6\u4f4e&#xff0c;\u8bf4\u660e\u6a21\u578b\u5728\u81ea\u7531\u53d1\u6325\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u6709\u4e2a\u5f88\u5b9e\u7528\u7684\u505a\u6cd5&#xff1a;<\/span><span style=\"color:#111827\">\u5728\u5199\u7b2c\u4e00\u884c\u68c0\u7d22\u4ee3\u7801\u4e4b\u524d&#xff0c;\u5148\u628a\u8bc4\u4f30\u96c6\u5efa\u8d77\u6765\u3002<\/span> <span style=\"color:#111827\">\u4ece\u4f60\u7684\u771f\u5b9e\u4e1a\u52a1\u91cc\u6311<\/span><span style=\"color:#111827\"> 50 <\/span><span style=\"color:#111827\">\u4e2a\u6709\u4ee3\u8868\u6027\u7684\u95ee\u9898&#xff0c;\u6807\u6ce8\u597d\u6bcf\u4e2a\u95ee\u9898\u7684\u6807\u51c6\u7b54\u6848\u5728\u54ea\u4e2a\u6587\u6863\u3002\u8fd9<\/span><span style=\"color:#111827\"> 50 <\/span><span style=\"color:#111827\">\u4e2a\u95ee\u9898\u4f1a\u6210\u4e3a\u4f60\u540e\u7eed\u6240\u6709\u4f18\u5316\u7684\u6807\u5c3a<\/span><span style=\"color:#111827\">\u2014\u2014<\/span><span style=\"color:#111827\">\u4f60\u4f1a\u53d1\u73b0\u5b83\u903c\u7740\u4f60\u628a<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u611f\u89c9<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u53d8\u6210<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u6570\u5b57<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u3002<\/span><\/p>\n<h4 style=\"margin-left:0pt;text-align:justify\"><span style=\"color:#111827\">\u6700\u9634\u9669\u7684\u5931\u8d25&#xff1a;\u6d4b\u8bd5\u5168\u8fc7&#xff0c;\u7528\u6237\u4e0d\u6ee1\u610f<\/span><\/h4>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u6709\u4e00\u7c7b\u5931\u8d25\u6781\u96be\u53d1\u73b0&#xff1a;\u4f60\u7684\u7cfb\u7edf\u5728\u6240\u6709\u6307\u6807\u4e0a\u90fd\u8fbe\u6807&#xff0c;\u4f46\u7528\u6237\u5c31\u662f\u4e0d\u4e70\u8d26\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u539f\u56e0\u901a\u5e38\u662f&#xff1a;<\/span><span style=\"color:#111827\">\u4f60\u7684\u6d4b\u8bd5\u96c6\u662f&#034;\u6807\u51c6\u95ee\u6cd5&#034;&#xff0c;\u800c\u7528\u6237\u8bf4\u7684\u662f\u4eba\u8bdd\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u6d4b\u8bd5\u96c6\u91cc\u7684\u95ee\u9898\u662f<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u51fa\u5dee\u4f4f\u5bbf\u7684\u62a5\u9500\u6807\u51c6\u662f\u4ec0\u4e48<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">&#xff0c;\u7528\u6237\u95ee\u7684\u662f<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u6211\u4e0a\u6b21\u53bb\u4e0a\u6d77\u4f4f\u7684\u90a3\u4e2a\u9152\u5e97&#xff0c;\u80fd\u62a5\u591a\u5c11\u6765\u7740<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u3002\u524d\u8005\u80fd\u547d\u4e2d&#xff0c;\u540e\u8005\u5168\u7ebf\u5d29\u6e83\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u8fd9\u4e5f\u662f\u4e3a\u4ec0\u4e48<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u67e5\u8be2\u7406\u89e3<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u5728\u751f\u4ea7\u73af\u5883\u91cc\u5f88\u91cd\u8981<\/span><span style=\"color:#111827\">\u2014\u2014<\/span><span style=\"color:#111827\">\u7cfb\u7edf\u9700\u8981\u80fd\u5904\u7406\u542b\u6df7\u7684\u3001\u6307\u4ee3\u4e0d\u6e05\u7684\u3001\u751a\u81f3\u8bed\u6cd5\u4e0d\u5b8c\u6574\u7684\u95ee\u9898&#xff0c;\u5fc5\u8981\u65f6\u53cd\u95ee\u7528\u6237\u6f84\u6e05&#xff0c;\u6216\u8005\u628a<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u5b83\u7406\u89e3\u6210\u4e86\u4ec0\u4e48<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u663e\u5f0f\u8bf4\u51fa\u6765\u8ba9\u7528\u6237\u7ea0\u6b63\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u8fd8\u6709\u4e00\u7c7b\u9759\u9ed8\u5931\u8d25\u503c\u5f97\u5355\u72ec\u63d0&#xff1a;<\/span><span style=\"color:#111827\">\u7d22\u5f15\u6f02\u79fb<\/span><span style=\"color:#111827\">\u3002\u6e90\u6587\u6863\u66f4\u65b0\u4e86&#xff0c;\u5411\u91cf\u7d22\u5f15\u6ca1\u540c\u6b65\u3002\u7cfb\u7edf\u7167\u5e38\u8fd4\u56de\u7ed3\u679c&#xff0c;\u53ea\u662f\u8fd4\u56de\u7684\u662f\u8fc7\u671f\u5185\u5bb9\u3002\u8fd9\u7c7b\u95ee\u9898\u4e0d\u4f1a\u62a5\u9519&#xff0c;\u53ea\u4f1a\u6162\u6162\u8ba9\u7528\u6237\u5931\u53bb\u4fe1\u4efb\u3002\u89e3\u6cd5\u662f\u7ed9\u6bcf\u4efd\u6587\u6863\u6253\u4e0a\u7248\u672c\u548c\u65f6\u95f4\u6233&#xff0c;\u68c0\u7d22\u65f6\u6309\u65f6\u95f4\u8fc7\u6ee4\u3002<\/span><\/p>\n<h3 style=\"margin-left:0pt;text-align:justify\"><span style=\"color:#111827\">\u5341\u4e00\u3001\u7ed9\u96f6\u57fa\u7840\u7684\u843d\u5730\u8def\u7ebf<\/span><\/h3>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u5982\u679c\u4f60\u8bfb\u5230\u8fd9\u91cc&#xff0c;\u60f3\u81ea\u5df1\u52a8\u624b\u505a\u4e00\u4e2a&#xff0c;\u8fd9\u4e00\u8282\u7ed9\u4f60\u4e00\u6761\u80fd\u8d70\u901a\u7684\u8def\u3002\u6211\u4e0d\u4f1a\u5efa\u8bae\u4f60\u4e00\u6b65\u5230\u4f4d&#xff0c;\u56e0\u4e3a\u90a3\u6837\u5927\u6982\u7387\u4f1a\u5361\u6b7b\u5728\u4e2d\u9014\u3002<\/span><\/p>\n<h4 style=\"margin-left:0pt;text-align:justify\"><span style=\"color:#111827\">\u4e94\u6b65\u8d70<\/span><\/h4>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u7b2c\u4e00\u6b65&#xff1a;\u5148\u7528&#034;\u4e0d\u7528 RAG&#034;\u7684\u65b9\u5f0f\u8dd1\u901a<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u628a\u4f60\u7684\u6587\u6863\u6574\u7406\u6210\u4e00\u4e2a\u7eaf\u6587\u672c\u6587\u4ef6&#xff0c;\u76f4\u63a5\u585e\u8fdb\u6a21\u578b\u4e0a\u4e0b\u6587&#xff0c;\u95ee\u51e0\u4e2a\u95ee\u9898\u770b\u770b\u6548\u679c\u3002\u5982\u679c\u4f60\u7684\u8d44\u6599\u672c\u6765\u5c31\u4e0d\u5230<\/span><span style=\"color:#111827\"> 500 <\/span><span style=\"color:#111827\">\u9875&#xff0c;\u4f60\u53ef\u80fd\u6839\u672c\u4e0d\u9700\u8981<\/span><span style=\"color:#111827\"> RAG\u2014\u2014<\/span><span style=\"color:#111827\">\u8fd9\u4e00\u6b65\u5c31\u80fd\u5e2e\u4f60\u7701\u4e0b\u5927\u91cf\u65f6\u95f4\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u7b2c\u4e8c\u6b65&#xff1a;\u5efa\u4e00\u4e2a 50 \u9898\u7684\u5c0f\u8bc4\u4f30\u96c6<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u4ece\u771f\u5b9e\u4e1a\u52a1\u91cc\u6311<\/span><span style=\"color:#111827\"> 50 <\/span><span style=\"color:#111827\">\u4e2a\u95ee\u9898&#xff0c;\u6807\u6ce8\u6bcf\u4e2a\u95ee\u9898\u7684\u7b54\u6848\u5728\u54ea\u4e2a\u6587\u6863\u3002\u8fd9\u4e00\u6b65\u770b\u7740\u67af\u71e5&#xff0c;\u4f46\u5b83\u51b3\u5b9a\u4e86\u4f60\u540e\u9762\u6240\u6709\u4f18\u5316\u662f\u4e0d\u662f<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u778e\u8c03<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u7b2c\u4e09\u6b65&#xff1a;\u5b9e\u73b0\u6700\u5c0f\u53ef\u7528\u7248\u672c<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u6309\u672c\u6587\u7b2c\u56db\u8282\u7684\u601d\u8def&#xff0c;\u5148\u8dd1\u901a<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u5207\u5757<\/span><span style=\"color:#111827\"> \u2192 <\/span><span style=\"color:#111827\">\u5411\u91cf\u5316<\/span><span style=\"color:#111827\"> \u2192 <\/span><span style=\"color:#111827\">\u68c0\u7d22<\/span><span style=\"color:#111827\"> \u2192 <\/span><span style=\"color:#111827\">\u751f\u6210<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u7684\u5b8c\u6574\u94fe\u8def&#xff0c;\u54ea\u6015\u7528\u7684\u662f\u6700\u6734\u7d20\u7684\u65b9\u6848\u3002\u5148\u8ba9\u5b83\u80fd\u7aef\u5230\u7aef\u8dd1\u8d77\u6765&#xff0c;\u518d\u8c08\u4f18\u5316\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u7b2c\u56db\u6b65&#xff1a;\u6309\u987a\u5e8f\u52a0\u88c5<\/span><span style=\"color:#111827\">&#xff08;\u987a\u5e8f\u5f88\u91cd\u8981&#xff0c;\u522b\u8df3&#xff09;<\/span><\/p>\n<li style=\"text-align:justify\"><span style=\"color:#111827\">\u5148\u628a\u5207\u5757\u7b56\u7565\u8c03\u5bf9<\/span><span style=\"color:#111827\">\u2014\u2014<\/span><span style=\"color:#111827\">\u8fd9\u662f\u6536\u76ca\u6700\u5927\u3001\u6210\u672c\u6700\u4f4e\u7684\u4e00\u6b65&#xff1b;<\/span><\/li>\n<li style=\"text-align:justify\"><span style=\"color:#111827\">\u518d\u52a0\u6df7\u5408\u68c0\u7d22&#xff08;\u5411\u91cf<\/span><span style=\"color:#111827\"> &#043; BM25<\/span><span style=\"color:#111827\">&#xff09;<\/span><span style=\"color:#111827\">\u2014\u2014<\/span><span style=\"color:#111827\">\u8fd9\u4e00\u9879\u901a\u5e38\u80fd\u5e26\u6765\u660e\u663e\u7684\u53ec\u56de\u63d0\u5347&#xff1b;<\/span><\/li>\n<li style=\"text-align:justify\"><span style=\"color:#111827\">\u518d\u52a0\u91cd\u6392<\/span><span style=\"color:#111827\">\u2014\u2014<\/span><span style=\"color:#111827\">\u6027\u4ef7\u6bd4\u6781\u9ad8\u7684\u4e00\u9879&#xff1b;<\/span><\/li>\n<li style=\"text-align:justify\"><span style=\"color:#111827\">\u5982\u679c\u6587\u6863\u6709<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u5207\u788e\u540e\u5931\u53bb\u4e0a\u4e0b\u6587<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u7684\u95ee\u9898&#xff0c;\u518d\u4e0a\u4e0a\u4e0b\u6587\u589e\u5f3a\u3002<\/span><\/li>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u7b2c\u4e94\u6b65&#xff1a;\u628a\u8bc4\u4f30\u63a5\u8fdb\u6d41\u7a0b<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u6bcf\u6539\u4e00\u4e2a\u53c2\u6570&#xff0c;\u8dd1\u4e00\u904d\u90a3<\/span><span style=\"color:#111827\"> 50 <\/span><span style=\"color:#111827\">\u9898&#xff0c;\u5bf9\u6bd4\u6570\u5b57\u3002<\/span><span style=\"color:#111827\">\u4e0d\u8981\u51ed\u611f\u89c9\u4e0a\u7ebf\u3002<\/span><\/p>\n<h4 style=\"margin-left:0pt;text-align:justify\"><span style=\"color:#111827\">\u5de5\u5177\u600e\u4e48\u9009<\/span><\/h4>\n<table border=\"1\" cellspacing=\"0\">\n<tbody>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"background-color:#f3f4f6;height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:left\"><span style=\"color:#111827\">\u73af\u8282<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"background-color:#f3f4f6;height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:left\"><span style=\"color:#111827\">\u5e38\u89c1\u9009\u62e9<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"background-color:#f3f4f6;height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:left\"><span style=\"color:#111827\">\u8bf4\u660e<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u7f16\u6392\u6846\u67b6<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">LangChain \/ LlamaIndex \/ <\/span> <span style=\"color:#111827\">\u81ea\u5df1\u5199<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u81ea\u5df1\u5199\u80fd\u770b\u6e05\u6bcf\u4e00\u6b65&#xff0c;\u5b66\u4e60\u9636\u6bb5\u63a8\u8350&#xff1b;\u6846\u67b6\u9002\u5408\u5feb\u901f\u642d\u751f\u4ea7<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u5411\u91cf\u6570\u636e\u5e93<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">pgvector \/ Qdrant \/ Milvus \/ Chroma<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u5df2\u7ecf\u6709<\/span> <span style=\"color:#111827\"> PostgreSQL <\/span> <span style=\"color:#111827\">\u7684\u8bdd&#xff0c;<\/span> <span style=\"color:#111827\">pgvector <\/span> <span style=\"color:#111827\">\u6700\u7701\u4e8b<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">Embedding <\/span> <span style=\"color:#111827\">\u6a21\u578b<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">text-embedding-3 <\/span> <span style=\"color:#111827\">\u7cfb\u5217<\/span> <span style=\"color:#111827\"> \/ BGE-M3 \/ <\/span> <span style=\"color:#111827\">\u901a\u4e49<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u4e2d\u6587\u573a\u666f\u5efa\u8bae\u4f18\u5148\u6d4b\u4e2d\u6587\u53cb\u597d\u7684\u6a21\u578b<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u91cd\u6392\u6a21\u578b<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">Cohere Rerank \/ BGE-reranker<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u6548\u679c\u63d0\u5347\u660e\u663e&#xff0c;\u662f\u5e38\u89c1\u7684\u7b2c\u4e00\u6b65\u4f18\u5316<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u8bc4\u4f30\u5de5\u5177<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">Ragas \/ ARES \/ <\/span> <span style=\"color:#111827\">\u81ea\u5df1\u5199\u811a\u672c<\/span><\/p>\n<\/td>\n<td colspan=\"1\" rowspan=\"1\" style=\"height:27px;vertical-align:middle;width:192px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u4e5f\u53ef\u4ee5\u7528\u672c\u6587\u8bb2\u7684\u4e09\u4e2a\u6307\u6807\u81ea\u5df1\u5b9e\u73b0<\/span><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u7528<\/span><span style=\"color:#111827\"> LangChain <\/span><span style=\"color:#111827\">\u5199\u540c\u6837\u7684\u94fe\u8def&#xff0c;\u4ee3\u7801\u5927\u6982\u4f1a\u53d8\u6210\u8fd9\u6837&#xff08;\u793a\u610f\u4ee3\u7801&#xff0c;\u672a\u5b9e\u8dd1&#xff09;&#xff1a;<\/span><\/p>\n<table border=\"1\" cellspacing=\"0\">\n<tbody>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"background-color:#f3f4f6;height:27px;vertical-align:middle;width:576px\">\n<p style=\"margin-left:0;text-align:left\"><span style=\"color:#111827\">Python<\/span><\/p>\n<\/td>\n<\/tr>\n<tr>\n<td colspan=\"1\" rowspan=\"1\" style=\"background-color:#f9fafb;height:27px;vertical-align:middle;width:576px\">\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\"># <\/span><span style=\"color:#111827\">\u793a\u610f\u4ee3\u7801&#xff1a;\u9700\u8981\u5b89\u88c5<\/span><span style=\"color:#111827\"> langchain <\/span><span style=\"color:#111827\">\u76f8\u5173\u4f9d\u8d56<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">from langchain_community.document_loaders import TextLoader<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">from langchain_text_splitters import RecursiveCharacterTextSplitter<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">from langchain_openai import OpenAIEmbeddings<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">from langchain_chroma import Chroma<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u200b<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">loader &#061; TextLoader(&#034;<\/span><span style=\"color:#111827\">\u5458\u5de5\u624b\u518c<\/span><span style=\"color:#111827\">.txt&#034;, encoding&#061;&#034;utf-8&#034;)<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">docs &#061; loader.load()<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u200b<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\"># <\/span><span style=\"color:#111827\">\u6846\u67b6\u5e2e\u4f60\u5c01\u88c5\u4e86\u5207\u5757&#xff1a;\u6309\u6bb5\u843d<\/span><span style=\"color:#111827\"> -&gt; <\/span><span style=\"color:#111827\">\u53e5\u5b50<\/span><span style=\"color:#111827\"> -&gt; <\/span><span style=\"color:#111827\">\u8bcd\u7684\u987a\u5e8f\u9012\u5f52\u5207<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">splitter &#061; RecursiveCharacterTextSplitter(chunk_size&#061;512, chunk_overlap&#061;64)<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">chunks &#061; splitter.split_documents(docs)<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u200b<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\"># <\/span><span style=\"color:#111827\">\u5411\u91cf\u5e93\u3001\u7f16\u7801\u3001\u68c0\u7d22\u4e09\u4ef6\u4e8b&#xff0c;\u5404\u4e00\u884c<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">vectorstore &#061; Chroma.from_documents(chunks, OpenAIEmbeddings())<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">retriever &#061; vectorstore.as_retriever(search_kwargs&#061;{&#034;k&#034;: 5})<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">hits &#061; retriever.invoke(&#034;<\/span><span style=\"color:#111827\">\u4f4f\u9152\u5e97\u4e00\u665a\u4e0a\u6700\u591a\u80fd\u62a5\u591a\u5c11\u94b1<\/span><span style=\"color:#111827\">&#034;)<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u200b<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">for i, d in enumerate(hits, 1):<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">print(i, d.page_content[:60], d.metadata.get(&#034;source&#034;))<\/span><\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u4ee3\u7801\u77ed\u4e86\u5f88\u591a&#xff0c;\u4ee3\u4ef7\u662f\u6bcf\u4e00\u6b65\u90fd\u6210\u4e86\u9ed1\u7bb1\u3002\u6211\u7684\u5efa\u8bae\u662f&#xff1a;<\/span><span style=\"color:#111827\">\u5148\u7528\u6807\u51c6\u5e93\u624b\u5199\u4e00\u904d&#xff0c;\u7406\u89e3\u6bcf\u4e00\u6b65&#xff1b;\u518d\u7528\u6846\u67b6\u642d\u751f\u4ea7\u7248\u672c\u3002<\/span><\/p>\n<h3 style=\"margin-left:0pt;text-align:justify\"><span style=\"color:#111827\">\u5341\u4e8c\u3001\u5e38\u89c1\u95ee\u9898<\/span><\/h3>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u8fd9\u4e00\u8282\u56de\u7b54\u51e0\u4e2a\u6211\u88ab\u95ee\u8fc7\u6700\u591a\u7684\u95ee\u9898\u3002\u6709\u4e9b\u7b54\u6848\u53ef\u80fd\u548c\u4f60\u7684\u76f4\u89c9\u76f8\u53cd\u3002<\/span><\/p>\n<h4 style=\"margin-left:0pt;text-align:justify\"><span style=\"color:#111827\">Q1&#xff1a;RAG \u80fd\u5f7b\u5e95\u6d88\u9664\u5e7b\u89c9\u5417&#xff1f;<\/span><\/h4>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u4e0d\u80fd\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u51c6\u786e\u7684\u8868\u8ff0\u662f<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u663e\u8457\u964d\u4f4e<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u3002\u516c\u5f00\u5b9e\u8df5\u91cc\u5e38\u89c1\u7684\u6570\u5b57\u662f\u80fd\u628a\u4e00\u90e8\u5206\u5e7b\u89c9\u538b\u4e0b\u53bb\u3001\u628a\u7b54\u9519\u7387\u4ece\u767e\u5206\u4e4b\u4e8c\u5341\u51e0\u964d\u5230\u4e2a\u4f4d\u6570&#xff0c;\u4f46\u505a\u4e0d\u5230\u5f52\u96f6\u3002\u800c\u4e14\u8981\u6ce8\u610f&#xff1a;<\/span><span style=\"color:#111827\">RAG \u751a\u81f3\u53ef\u80fd\u8ba9\u9519\u8bef\u53d8\u5f97\u66f4\u96be\u53d1\u73b0<\/span><span style=\"color:#111827\">\u2014\u2014<\/span><span style=\"color:#111827\">\u56e0\u4e3a\u4e00\u4e2a\u66f4\u5f3a\u7684\u6a21\u578b\u4f1a\u7528\u66f4\u81ea\u4fe1\u7684\u8bed\u6c14&#xff0c;\u628a\u68c0\u7d22\u5230\u7684\u9519\u8bef\u4fe1\u606f\u5305\u88c5\u5f97\u66f4\u50cf\u771f\u7684\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u6240\u4ee5\u914d\u5957\u624b\u6bb5\u662f\u5fc5\u987b\u7684&#xff1a;\u8981\u6c42\u6807\u6ce8\u51fa\u5904\u3001\u52a0\u5f15\u7528\u6821\u9a8c\u3001\u5bf9\u9ad8\u98ce\u9669\u95ee\u9898\u4fdd\u7559\u4eba\u5de5\u5ba1\u6838\u3002<\/span><\/p>\n<h4 style=\"margin-left:0pt;text-align:justify\"><span style=\"color:#111827\">Q2&#xff1a;\u6211\u9700\u8981\u5148\u628a\u6587\u6863\u6574\u7406\u5e72\u51c0\u5417&#xff1f;<\/span><\/h4>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u9700\u8981&#xff0c;\u800c\u4e14\u8fd9\u4e00\u6b65\u7684\u4ef7\u503c\u88ab\u4e25\u91cd\u4f4e\u4f30\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u771f\u5b9e\u7684\u6587\u6863\u91cc\u5145\u6ee1\u4e86<\/span><span style=\"color:#111827\"> PDF <\/span><span style=\"color:#111827\">\u8868\u683c\u9519\u4e71\u3001\u9875\u7709\u9875\u811a\u6df7\u8fdb\u6b63\u6587\u3001\u626b\u63cf\u4ef6\u6ca1\u6709\u6587\u5b57\u5c42\u3001\u540c\u4e00\u4efd\u6587\u4ef6\u6709\u4e94\u4e2a\u7248\u672c\u3002\u8fd9\u4e9b\u810f\u6570\u636e\u4f1a\u76f4\u63a5\u53d8\u6210\u68c0\u7d22\u566a\u58f0\u3002\u5f88\u591a\u56e2\u961f\u5728\u68c0\u7d22\u7b97\u6cd5\u4e0a\u6298\u817e\u5f88\u4e45&#xff0c;\u6700\u540e\u53d1\u73b0\u95ee\u9898\u5176\u5b9e\u51fa\u5728\u6587\u6863\u89e3\u6790\u73af\u8282\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u5efa\u8bae\u7684\u987a\u5e8f\u662f&#xff1a;<\/span><span style=\"color:#111827\">\u5148\u505a\u6587\u6863\u89e3\u6790\u548c\u6e05\u6d17&#xff0c;\u518d\u8c08\u5207\u5757&#xff0c;\u6700\u540e\u624d\u662f\u68c0\u7d22\u4f18\u5316\u3002<\/span><\/p>\n<h4 style=\"margin-left:0pt;text-align:justify\"><span style=\"color:#111827\">Q3&#xff1a;\u5411\u91cf\u6570\u636e\u5e93\u8be5\u9009\u54ea\u4e2a&#xff1f;<\/span><\/h4>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u5982\u679c\u4f60\u5df2\u7ecf\u6709<\/span><span style=\"color:#111827\"> PostgreSQL<\/span><span style=\"color:#111827\">&#xff0c;\u5148\u7528<\/span><span style=\"color:#111827\"> pgvector\u2014\u2014<\/span><span style=\"color:#111827\">\u5c11\u7ef4\u62a4\u4e00\u4e2a\u7ec4\u4ef6&#xff0c;\u6bd4\u4ec0\u4e48\u90fd\u91cd\u8981\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u53ea\u6709\u5f53\u4f60\u7684\u5411\u91cf\u89c4\u6a21&#xff08;\u901a\u5e38\u5230\u767e\u4e07\u7ea7\u4ee5\u4e0a&#xff09;\u6216\u6027\u80fd\u8981\u6c42\u786e\u5b9e\u9876\u4e0d\u4f4f\u65f6&#xff0c;\u518d\u8003\u8651\u4e0a\u4e13\u95e8\u7684\u5411\u91cf\u6570\u636e\u5e93\u3002\u524d\u671f\u8fc7\u65e9\u5f15\u5165\u65b0\u7ec4\u4ef6&#xff0c;\u5f80\u5f80\u53ea\u662f\u5728\u7ed9\u81ea\u5df1\u589e\u52a0\u8fd0\u7ef4\u8d1f\u62c5\u3002<\/span><\/p>\n<h4 style=\"margin-left:0pt;text-align:justify\"><span style=\"color:#111827\">Q4&#xff1a;RAG \u548c&#034;\u7ed9\u6a21\u578b\u52a0\u8054\u7f51\u641c\u7d22&#034;\u662f\u4e00\u56de\u4e8b\u5417&#xff1f;<\/span><\/h4>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u539f\u7406\u4e0a\u662f\u540c\u4e00\u7c7b\u601d\u8def<\/span><span style=\"color:#111827\">\u2014\u2014<\/span><span style=\"color:#111827\">\u90fd\u662f<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u5148\u53bb\u62ff\u8d44\u6599&#xff0c;\u518d\u57fa\u4e8e\u8d44\u6599\u56de\u7b54<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u533a\u522b\u5728\u8d44\u6599\u7684\u8303\u56f4\u548c\u53ef\u63a7\u6027&#xff1a;\u8054\u7f51\u641c\u7d22\u9762\u5411\u516c\u5f00\u4e92\u8054\u7f51&#xff0c;\u4f60\u65e0\u6cd5\u63a7\u5236\u5b83\u53d6\u5230\u4ec0\u4e48&#xff1b;<\/span><span style=\"color:#111827\">RAG <\/span><span style=\"color:#111827\">\u9762\u5411\u4f60\u81ea\u5df1\u7684\u77e5\u8bc6\u5e93&#xff0c;\u4f60\u80fd\u63a7\u5236\u5185\u5bb9\u3001\u66f4\u65b0\u8282\u594f\u548c\u8bbf\u95ee\u6743\u9650\u3002\u4f01\u4e1a\u573a\u666f\u7edd\u5927\u591a\u6570\u7528<\/span><span style=\"color:#111827\"> RAG<\/span><span style=\"color:#111827\">&#xff0c;\u56e0\u4e3a\u9700\u8981\u53ef\u63a7\u548c\u53ef\u5ba1\u8ba1\u3002<\/span><\/p>\n<h4 style=\"margin-left:0pt;text-align:justify\"><span style=\"color:#111827\">Q5&#xff1a;RAG \u662f\u4e0d\u662f\u5df2\u7ecf\u8fc7\u65f6\u4e86&#xff0c;\u73b0\u5728\u90fd\u8bb2 Agent&#xff1f;<\/span><\/h4>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u6070\u6070\u76f8\u53cd\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u8fdb\u5165<\/span><span style=\"color:#111827\"> 2026 <\/span><span style=\"color:#111827\">\u5e74&#xff0c;\u786e\u5b9e\u6709\u5f88\u591a\u6587\u7ae0\u5728\u8bf4<\/span><span style=\"color:#111827\">&#034;RAG <\/span><span style=\"color:#111827\">\u5df2\u6b7b<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">&#xff0c;\u4f46\u4e3b\u6d41\u89c2\u5bdf\u662f&#xff1a;<\/span><span style=\"color:#111827\">RAG <\/span><span style=\"color:#111827\">\u4e0d\u662f\u88ab\u53d6\u4ee3\u4e86&#xff0c;\u800c\u662f\u88ab<\/span><span style=\"color:#111827\">\u5438\u6536<\/span><span style=\"color:#111827\">\u4e86<\/span><span style=\"color:#111827\">\u2014\u2014<\/span><span style=\"color:#111827\">\u5b83\u53d8\u6210\u4e86\u667a\u80fd\u4f53\u5de5\u5177\u7bb1\u91cc\u7684\u4e00\u4ef6\u5de5\u5177\u3002\u667a\u80fd\u4f53\u51b3\u5b9a<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">\u8981\u4e0d\u8981\u68c0\u7d22\u3001\u68c0\u7d22\u51e0\u6b21\u3001\u7528\u4ec0\u4e48\u65b9\u5f0f\u68c0\u7d22<\/span><span style=\"color:#111827\">&#034;<\/span><span style=\"color:#111827\">&#xff0c;\u800c\u5e95\u4e0b\u5e72\u6d3b\u7684\u4ecd\u7136\u662f\u68c0\u7d22\u5c42\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u4ece\u4f01\u4e1a\u6570\u636e\u770b&#xff0c;<\/span><span style=\"color:#111827\">RAG <\/span><span style=\"color:#111827\">\u7684\u91c7\u7528\u7387\u662f\u5728\u6301\u7eed\u4e0a\u5347\u7684&#xff08;<\/span><span style=\"color:#111827\">31% \u2192 51%<\/span><span style=\"color:#111827\">&#xff09;&#xff0c;\u667a\u80fd\u4f53\u67b6\u6784\u5219\u662f\u4ece\u96f6\u8d77\u6b65\u3001\u6b63\u5728\u589e\u957f\u3002\u8fd9\u4e24\u4e2a\u4e0d\u662f\u66ff\u4ee3\u5173\u7cfb\u3002<\/span><\/p>\n<h3 style=\"margin-left:0pt;text-align:justify\"><span style=\"color:#111827\">\u6570\u636e\u65f6\u6548\u58f0\u660e<\/span><\/h3>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u672c\u6587\u6d89\u53ca\u7684\u6240\u6709\u7b2c\u4e09\u65b9\u6570\u636e\u5747\u6765\u81ea\u516c\u5f00\u6e20\u9053&#xff0c;\u91c7\u96c6\u65f6\u95f4\u4e3a <\/span><span style=\"color:#111827\">2026 \u5e74 9 \u6708 17 \u65e5<\/span><span style=\"color:#111827\">\u3002<\/span><\/p>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u9700\u8981\u7279\u522b\u8bf4\u660e\u7684\u662f&#xff1a;<\/span><span style=\"color:#111827\">AI <\/span><span style=\"color:#111827\">\u9886\u57df\u7684\u4ea7\u54c1\u53c2\u6570\u3001\u4ef7\u683c\u548c\u6a21\u578b\u80fd\u529b\u53d8\u5316\u5f88\u5feb&#xff0c;\u672c\u6587\u5f15\u7528\u7684\u5177\u4f53\u6570\u5b57&#xff08;\u5c24\u5176\u662f\u4ef7\u683c\u3001\u6a21\u578b\u7248\u672c\u3001\u57fa\u51c6\u5206\u6570&#xff09;\u8bf7\u4ee5\u5b98\u65b9\u6700\u65b0\u6587\u6863\u4e3a\u51c6\u3002\u4ee5\u4e0b\u662f\u51e0\u4e2a\u503c\u5f97\u7559\u610f\u7684\u65f6\u6548\u70b9&#xff1a;<\/span><\/p>\n<ul>\n<li style=\"text-align:justify\"><span style=\"color:#111827\">Anthropic <\/span><span style=\"color:#111827\">\u7684\u4e0a\u4e0b\u6587\u68c0\u7d22\u6570\u636e\u53d1\u5e03\u4e8e<\/span><span style=\"color:#111827\"> 2024 <\/span><span style=\"color:#111827\">\u5e74&#xff0c;\u5176\u539f\u59cb\u6587\u7ae0\u5728\u540e\u6765\u6709\u8fc7\u8865\u5145\u8bf4\u660e&#xff1b;\u6587\u4e2d\u5f15\u7528\u7684\u6210\u672c\u6570\u5b57\u57fa\u4e8e\u5f53\u65f6\u7684\u63d0\u793a\u8bcd\u7f13\u5b58\u4ef7\u683c\u3002<\/span><\/li>\n<li style=\"text-align:justify\"><span style=\"color:#111827\">Menlo Ventures <\/span><span style=\"color:#111827\">\u7684\u91c7\u7528\u7387\u6570\u636e\u6765\u81ea<\/span><span style=\"color:#111827\"> 2024 <\/span><span style=\"color:#111827\">\u5e74\u8c03\u7814&#xff08;\u6837\u672c<\/span><span style=\"color:#111827\"> 600 <\/span><span style=\"color:#111827\">\u4f4d\u4f01\u4e1a<\/span><span style=\"color:#111827\"> IT <\/span><span style=\"color:#111827\">\u51b3\u7b56\u8005&#xff09;&#xff0c;\u8be5\u673a\u6784<\/span><span style=\"color:#111827\"> 2025 <\/span><span style=\"color:#111827\">\u5e74\u7684\u62a5\u544a\u91c7\u7528\u4e86\u4e0d\u540c\u7684\u7edf\u8ba1\u53e3\u5f84&#xff0c;\u4e24\u7ec4\u6570\u5b57\u4e0d\u5b9c\u76f4\u63a5\u6bd4\u8f83\u3002<\/span><\/li>\n<li style=\"text-align:justify\"><span style=\"color:#111827\">NVIDIA <\/span><span style=\"color:#111827\">\u7684\u5207\u5757\u7b56\u7565\u57fa\u51c6\u6765\u81ea\u5176\u5b98\u65b9\u6280\u672f\u535a\u5ba2&#xff0c;\u6d4b\u8bd5\u6570\u636e\u96c6\u4ee5\u82f1\u6587\u91d1\u878d\u4e0e\u6280\u672f\u6587\u6863\u4e3a\u4e3b&#xff0c;\u4e2d\u6587\u8bed\u6599\u7684\u5b9e\u9645\u8868\u73b0\u9700\u8981\u81ea\u884c\u9a8c\u8bc1\u3002<\/span><\/li>\n<li style=\"text-align:justify\"><span style=\"color:#111827\">\u672c\u6587\u7b2c\u56db\u3001\u4e94\u3001\u516d\u8282\u7684\u4ee3\u7801\u8f93\u51fa\u5747\u4e3a\u672c\u673a\u5b9e\u8dd1\u7ed3\u679c&#xff0c;\u8fd0\u884c\u73af\u5883\u4e3a<\/span><span style=\"color:#111827\"> Python 3.13<\/span><span style=\"color:#111827\">&#xff0c;\u53ef\u590d\u73b0\u3002<\/span><\/li>\n<\/ul>\n<h3 style=\"margin-left:0pt;text-align:justify\"><span style=\"color:#111827\">\u53c2\u8003\u8d44\u6599<\/span><\/h3>\n<p style=\"margin-left:0;text-align:justify\"><span style=\"color:#111827\">\u4e0b\u9762\u8fd9\u4e9b\u662f\u6211\u5728\u5199\u4f5c\u8fc7\u7a0b\u4e2d\u5b9e\u9645\u67e5\u9605\u8fc7\u7684\u516c\u5f00\u8d44\u6599&#xff0c;\u6309\u5728\u6587\u4e2d\u9996\u6b21\u51fa\u73b0\u7684\u987a\u5e8f\u6392\u5217\u3002\u5176\u4e2d\u7684\u94fe\u63a5\u6211\u90fd\u9010\u6761\u8bbf\u95ee\u6838\u5bf9\u8fc7&#xff0c;\u6587\u4e2d\u5f15\u7528\u7684\u6570\u5b57\u5747\u80fd\u5728\u8fd9\u4e9b\u6765\u6e90\u4e2d\u627e\u5230\u3002<\/span><\/p>\n<ul>\n<li style=\"text-align:justify\"><span style=\"color:#111827\">Lewis et al.<\/span><span style=\"color:#111827\">&#xff0c;\u300a<\/span><span style=\"color:#111827\">Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks<\/span><span style=\"color:#111827\">\u300b&#xff0c;<\/span><span style=\"color:#111827\">arXiv:2005.11401<\/span><span style=\"color:#111827\">&#xff0c;<\/span><span style=\"color:#111827\">NeurIPS 2020<\/span><span style=\"color:#111827\">&#xff08;<\/span><span style=\"color:#111827\">arxiv.org\/abs\/2005.11401<\/span><span style=\"color:#111827\">&#xff09;<\/span><\/li>\n<li style=\"text-align:justify\"><span style=\"color:#111827\">Anthropic<\/span><span style=\"color:#111827\">&#xff0c;\u300a<\/span><span style=\"color:#111827\">Introducing Contextual Retrieval<\/span><span style=\"color:#111827\">\u300b&#xff08;<\/span><span style=\"color:#111827\">www.anthropic.com\/news\/contextual-retrieval<\/span><span style=\"color:#111827\">&#xff09;<\/span><\/li>\n<li style=\"text-align:justify\"><span style=\"color:#111827\">Liu et al.<\/span><span style=\"color:#111827\">&#xff0c;\u300a<\/span><span style=\"color:#111827\">Lost in the Middle: How Language Models Use Long Contexts<\/span><span style=\"color:#111827\">\u300b&#xff0c;<\/span><span style=\"color:#111827\">TACL 2024<\/span><\/li>\n<li style=\"text-align:justify\"><span style=\"color:#111827\">NVIDIA Technical Blog<\/span><span style=\"color:#111827\">&#xff0c;\u300a<\/span><span style=\"color:#111827\">Finding the Best Chunking Strategy for Accurate AI Responses<\/span><span style=\"color:#111827\">\u300b&#xff08;<\/span><span style=\"color:#111827\">developer.nvidia.com<\/span><span style=\"color:#111827\">&#xff09;<\/span><\/li>\n<li style=\"text-align:justify\"><span style=\"color:#111827\">Menlo Ventures<\/span><span style=\"color:#111827\">&#xff0c;\u300a<\/span><span style=\"color:#111827\">2024: The State of Generative AI in the Enterprise<\/span><span style=\"color:#111827\">\u300b&#xff08;<\/span><span style=\"color:#111827\">menlovc.com<\/span><span style=\"color:#111827\">&#xff09;<\/span><\/li>\n<li style=\"text-align:justify\"><span style=\"color:#111827\">\u5fae\u8f6f\u4e9a\u6d32\u7814\u7a76\u9662&#xff0c;\u300a\u5f53\u5de5\u4e1a\u77e5\u8bc6\u9047\u4e0a<\/span><span style=\"color:#111827\"> PIKE-RAG<\/span><span style=\"color:#111827\">&#xff1a;\u6615\u8bfa\u98de\u5ba2\u670d\u6548\u7387\u8dc3\u5347\u80cc\u540e\u7684\u6280\u672f\u7a81\u7834\u300b&#xff08;<\/span><span style=\"color:#111827\">www.microsoft.com\/en-us\/research<\/span><span style=\"color:#111827\">&#xff09;<\/span><\/li>\n<li style=\"text-align:justify\"><span style=\"color:#111827\">Databricks Mosaic Research <\/span><span style=\"color:#111827\">\u5173\u4e8e\u957f\u4e0a\u4e0b\u6587\u4e0e<\/span><span style=\"color:#111827\"> RAG <\/span><span style=\"color:#111827\">\u7684\u5bf9\u6bd4\u5b9e\u9a8c&#xff08;\u7ecf\u7b2c\u4e09\u65b9\u6587\u732e\u7efc\u8ff0\u8f6c\u5f15&#xff09;<\/span><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>\u4ece\u300c\u95ed\u5377\u8003\u8bd5\u300d\u5230\u300c\u5f00\u5377\u8003\u8bd5\u300d\u2014\u2014\u7528 80 \u884c Python \u4ece\u96f6\u642d\u4e00\u6761\u8dd1\u5f97\u901a\u7684 RAG&#xff0c;\u628a\u5207\u5757\u3001\u5411\u91cf\u3001\u68c0\u7d22\u3001\u91cd\u6392\u6bcf\u4e00\u6b65\u90fd\u62c6\u5f00\u770b\u76ee\u5f55\u4e00\u3001\u5927\u6a21\u578b\u4e3a\u4ec0\u4e48\u4f1a\\&#8221;\u4e00\u672c\u6b63\u7ecf\u5730\u80e1\u8bf4\u516b\u9053\\&#8221;\u4e8c\u3001RAG \u4e09\u4e2a\u5b57\u6bcd&#xff0c;\u62c6\u5f00\u5c31\u662f\u4e00\u53e5\u5927\u767d\u8bdd\u4e09\u3001RAG \u53ea\u505a\u4e24\u4ef6\u4e8b&#xff0c;\u4f46\u6bcf\u4ef6\u4e8b\u90fd\u6709\u4e00\u5806\u8bb2\u7a76\u56db\u3001\u624b\u6413\u4e00\u4e2a\u6700\u5c0f\u53ef\u8fd0\u884c\u7684 RAG\u4e94\u3001\\&#8221;\u4f4f\u9152\u5e97\\&#8221;\u4e3a\u4ec0\u4e48\u641c\u4e0d\u5230\\&#8221;\u4f4f\u5bbf\\&#8221;&#xff1f;\u516d\u3001\u5207\u5757&#xff1a;\u6700\u4e0d\u8d77\u773c&#xff0c;\u5374\u6700\u81f4\u547d\u7684\u4e00\u6b65\u4e03\u3001\u751f\u4ea7\u73af\u5883\u91cc\u7684 RAG&#xff0c;<\/p>\n","protected":false},"author":2,"featured_media":107672,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[11653,53,4119,50,51,383],"topic":[],"class_list":["post-107677","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-11653","tag-ai","tag-rag","tag-50","tag-51","tag-383"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>AI \u4e00\u672c\u6b63\u7ecf\u5730\u80e1\u8bf4\u516b\u9053\uff1f80 \u884c Python \u624b\u6413 RAG\uff0c\u628a\u5207\u5757\u3001\u5411\u91cf\u3001\u68c0\u7d22\u3001\u91cd\u6392\u6bcf\u4e00\u6b65\u90fd\u62c6\u5f00\u770b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/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:\/\/www.wsisp.com\/helps\/107677.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"AI \u4e00\u672c\u6b63\u7ecf\u5730\u80e1\u8bf4\u516b\u9053\uff1f80 \u884c Python \u624b\u6413 RAG\uff0c\u628a\u5207\u5757\u3001\u5411\u91cf\u3001\u68c0\u7d22\u3001\u91cd\u6392\u6bcf\u4e00\u6b65\u90fd\u62c6\u5f00\u770b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u4ece\u300c\u95ed\u5377\u8003\u8bd5\u300d\u5230\u300c\u5f00\u5377\u8003\u8bd5\u300d\u2014\u2014\u7528 80 \u884c Python \u4ece\u96f6\u642d\u4e00\u6761\u8dd1\u5f97\u901a\u7684 RAG&#xff0c;\u628a\u5207\u5757\u3001\u5411\u91cf\u3001\u68c0\u7d22\u3001\u91cd\u6392\u6bcf\u4e00\u6b65\u90fd\u62c6\u5f00\u770b\u76ee\u5f55\u4e00\u3001\u5927\u6a21\u578b\u4e3a\u4ec0\u4e48\u4f1a&quot;\u4e00\u672c\u6b63\u7ecf\u5730\u80e1\u8bf4\u516b\u9053&quot;\u4e8c\u3001RAG \u4e09\u4e2a\u5b57\u6bcd&#xff0c;\u62c6\u5f00\u5c31\u662f\u4e00\u53e5\u5927\u767d\u8bdd\u4e09\u3001RAG \u53ea\u505a\u4e24\u4ef6\u4e8b&#xff0c;\u4f46\u6bcf\u4ef6\u4e8b\u90fd\u6709\u4e00\u5806\u8bb2\u7a76\u56db\u3001\u624b\u6413\u4e00\u4e2a\u6700\u5c0f\u53ef\u8fd0\u884c\u7684 RAG\u4e94\u3001&quot;\u4f4f\u9152\u5e97&quot;\u4e3a\u4ec0\u4e48\u641c\u4e0d\u5230&quot;\u4f4f\u5bbf&quot;&#xff1f;\u516d\u3001\u5207\u5757&#xff1a;\u6700\u4e0d\u8d77\u773c&#xff0c;\u5374\u6700\u81f4\u547d\u7684\u4e00\u6b65\u4e03\u3001\u751f\u4ea7\u73af\u5883\u91cc\u7684 RAG&#xff0c;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/107677.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-09-19T16:17:01+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260919161657-6aaeb57940359.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"12 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/107677.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/107677.html\",\"name\":\"AI \u4e00\u672c\u6b63\u7ecf\u5730\u80e1\u8bf4\u516b\u9053\uff1f80 \u884c Python \u624b\u6413 RAG\uff0c\u628a\u5207\u5757\u3001\u5411\u91cf\u3001\u68c0\u7d22\u3001\u91cd\u6392\u6bcf\u4e00\u6b65\u90fd\u62c6\u5f00\u770b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-09-19T16:17:01+00:00\",\"dateModified\":\"2026-09-19T16:17:01+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/107677.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/107677.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/107677.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"AI \u4e00\u672c\u6b63\u7ecf\u5730\u80e1\u8bf4\u516b\u9053\uff1f80 \u884c Python \u624b\u6413 RAG\uff0c\u628a\u5207\u5757\u3001\u5411\u91cf\u3001\u68c0\u7d22\u3001\u91cd\u6392\u6bcf\u4e00\u6b65\u90fd\u62c6\u5f00\u770b\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"AI \u4e00\u672c\u6b63\u7ecf\u5730\u80e1\u8bf4\u516b\u9053\uff1f80 \u884c Python \u624b\u6413 RAG\uff0c\u628a\u5207\u5757\u3001\u5411\u91cf\u3001\u68c0\u7d22\u3001\u91cd\u6392\u6bcf\u4e00\u6b65\u90fd\u62c6\u5f00\u770b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","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:\/\/www.wsisp.com\/helps\/107677.html","og_locale":"zh_CN","og_type":"article","og_title":"AI \u4e00\u672c\u6b63\u7ecf\u5730\u80e1\u8bf4\u516b\u9053\uff1f80 \u884c Python \u624b\u6413 RAG\uff0c\u628a\u5207\u5757\u3001\u5411\u91cf\u3001\u68c0\u7d22\u3001\u91cd\u6392\u6bcf\u4e00\u6b65\u90fd\u62c6\u5f00\u770b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u4ece\u300c\u95ed\u5377\u8003\u8bd5\u300d\u5230\u300c\u5f00\u5377\u8003\u8bd5\u300d\u2014\u2014\u7528 80 \u884c Python \u4ece\u96f6\u642d\u4e00\u6761\u8dd1\u5f97\u901a\u7684 RAG&#xff0c;\u628a\u5207\u5757\u3001\u5411\u91cf\u3001\u68c0\u7d22\u3001\u91cd\u6392\u6bcf\u4e00\u6b65\u90fd\u62c6\u5f00\u770b\u76ee\u5f55\u4e00\u3001\u5927\u6a21\u578b\u4e3a\u4ec0\u4e48\u4f1a\"\u4e00\u672c\u6b63\u7ecf\u5730\u80e1\u8bf4\u516b\u9053\"\u4e8c\u3001RAG \u4e09\u4e2a\u5b57\u6bcd&#xff0c;\u62c6\u5f00\u5c31\u662f\u4e00\u53e5\u5927\u767d\u8bdd\u4e09\u3001RAG \u53ea\u505a\u4e24\u4ef6\u4e8b&#xff0c;\u4f46\u6bcf\u4ef6\u4e8b\u90fd\u6709\u4e00\u5806\u8bb2\u7a76\u56db\u3001\u624b\u6413\u4e00\u4e2a\u6700\u5c0f\u53ef\u8fd0\u884c\u7684 RAG\u4e94\u3001\"\u4f4f\u9152\u5e97\"\u4e3a\u4ec0\u4e48\u641c\u4e0d\u5230\"\u4f4f\u5bbf\"&#xff1f;\u516d\u3001\u5207\u5757&#xff1a;\u6700\u4e0d\u8d77\u773c&#xff0c;\u5374\u6700\u81f4\u547d\u7684\u4e00\u6b65\u4e03\u3001\u751f\u4ea7\u73af\u5883\u91cc\u7684 RAG&#xff0c;","og_url":"https:\/\/www.wsisp.com\/helps\/107677.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-09-19T16:17:01+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260919161657-6aaeb57940359.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"12 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/107677.html","url":"https:\/\/www.wsisp.com\/helps\/107677.html","name":"AI \u4e00\u672c\u6b63\u7ecf\u5730\u80e1\u8bf4\u516b\u9053\uff1f80 \u884c Python \u624b\u6413 RAG\uff0c\u628a\u5207\u5757\u3001\u5411\u91cf\u3001\u68c0\u7d22\u3001\u91cd\u6392\u6bcf\u4e00\u6b65\u90fd\u62c6\u5f00\u770b - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-09-19T16:17:01+00:00","dateModified":"2026-09-19T16:17:01+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/107677.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/107677.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/107677.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"AI \u4e00\u672c\u6b63\u7ecf\u5730\u80e1\u8bf4\u516b\u9053\uff1f80 \u884c Python \u624b\u6413 RAG\uff0c\u628a\u5207\u5757\u3001\u5411\u91cf\u3001\u68c0\u7d22\u3001\u91cd\u6392\u6bcf\u4e00\u6b65\u90fd\u62c6\u5f00\u770b"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/107677","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=107677"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/107677\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/107672"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=107677"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=107677"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=107677"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=107677"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}