{"id":121724,"date":"2026-11-03T13:56:35","date_gmt":"2026-11-03T05:56:35","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/121724.html"},"modified":"2026-11-03T13:56:35","modified_gmt":"2026-11-03T05:56:35","slug":"%e5%ad%a6%e4%b9%a0-ragas","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/121724.html","title":{"rendered":"\u5b66\u4e60 RAGAS"},"content":{"rendered":"<h2>\u5b66\u4e60 RAGAS \u7684\u6838\u5fc3<\/h2>\n<p>RAGAS \u4e4b\u6240\u4ee5\u80fd\u6210\u4e3a RAG \u8bc4\u6d4b\u7684\u884c\u4e1a\u4e8b\u5b9e\u6807\u51c6&#xff0c;\u6838\u5fc3\u4ef7\u503c\u4ece\u6765\u4e0d\u662f\u300c\u80fd\u8dd1\u547d\u4ee4\u3001\u80fd\u51fa\u5206\u6570\u300d\u7684\u5de5\u5177\u5c5e\u6027&#xff0c;\u800c\u662f\u5b83\u9996\u6b21\u5c06 RAG \u8d28\u91cf\u8bc4\u6d4b\u4ece\u300c\u4e3b\u89c2\u611f\u89c9\u300d\u53d8\u6210\u4e86\u300c\u6807\u51c6\u5316\u3001\u53ef\u590d\u73b0\u3001\u53ef\u5f52\u56e0\u300d\u7684\u79d1\u5b66\u65b9\u6cd5\u8bba\u3002API \u8c03\u7528\u3001\u53c2\u6570\u914d\u7f6e\u53ea\u662f\u8868\u5c42\u64cd\u4f5c&#xff0c;\u5206\u5c42\u89e3\u8026\u601d\u60f3\u3001\u539f\u5b50\u58f0\u660e\u62c6\u89e3\u6cd5\u3001\u6307\u6807\u8bbe\u8ba1\u903b\u8f91\u624d\u662f\u5e95\u5c42\u7684\u3001\u53ef\u8fc1\u79fb\u7684\u3001\u771f\u6b63\u503c\u5f97\u6df1\u5165\u5b66\u4e60\u7684\u6838\u5fc3\u80fd\u529b\u3002<\/p>\n<hr \/>\n<h3>\u4e00\u3001\u5206\u5c42\u89e3\u8026\u601d\u60f3&#xff1a;RAG \u8bc4\u6d4b\u7684\u5e95\u5c42\u6846\u67b6\u9769\u547d<\/h3>\n<p>\u8fd9\u662f RAGAS \u5bf9\u6574\u4e2a\u9886\u57df\u6700\u5927\u7684\u8d21\u732e&#xff0c;\u5b83\u4ece\u6839\u672c\u4e0a\u89e3\u51b3\u4e86\u300c\u7aef\u5230\u7aef\u8bc4\u6d4b\u5168\u9760\u731c\u300d\u7684\u884c\u4e1a\u75db\u70b9\u3002<\/p>\n<h4>1. \u4e3a\u4ec0\u4e48\u5fc5\u987b\u5206\u5c42&#xff1f;\u7aef\u5230\u7aef\u8bc4\u6d4b\u7684\u5929\u751f\u7f3a\u9677<\/h4>\n<p>\u5728 RAGAS \u51fa\u73b0\u4e4b\u524d&#xff0c;\u884c\u4e1a\u666e\u904d\u505a\u6cd5\u662f\u53ea\u6d4b\u7aef\u5230\u7aef\u6b63\u786e\u7387\u2014\u2014\u8f93\u5165\u95ee\u9898&#xff0c;\u770b\u6700\u7ec8\u56de\u7b54\u5bf9\u4e0d\u5bf9\u3002\u8fd9\u79cd\u65b9\u6cd5\u6709\u4e09\u4e2a\u65e0\u6cd5\u89e3\u51b3\u7684\u81f4\u547d\u95ee\u9898&#xff1a;<\/p>\n<ul>\n<li>\u5f52\u56e0\u9ed1\u76d2&#xff1a;\u53ea\u77e5\u9053\u6700\u7ec8\u7ed3\u679c\u4e0d\u5bf9&#xff0c;\u4f46\u5b8c\u5168\u4e0d\u77e5\u9053\u662f\u300c\u68c0\u7d22\u6f0f\u4e86\u5173\u952e\u4fe1\u606f\u300d\u8fd8\u662f\u300c\u751f\u6210\u6a21\u578b\u51ed\u7a7a\u7f16\u9020\u300d&#xff0c;\u4f18\u5316\u5168\u9760\u8bd5\u9519&#xff0c;\u6548\u7387\u6781\u4f4e<\/li>\n<li>\u53d8\u91cf\u6df7\u6742&#xff1a;\u68c0\u7d22\u6548\u679c\u548c\u751f\u6210\u6548\u679c\u8026\u5408\u5728\u4e00\u8d77&#xff0c;\u6362\u4e2a\u6a21\u578b\u5206\u6570\u6da8\u4e86&#xff0c;\u4e0d\u77e5\u9053\u662f\u6a21\u578b\u672c\u8eab\u80fd\u529b\u5f3a&#xff0c;\u8fd8\u662f\u521a\u597d\u9002\u914d\u5f53\u524d\u68c0\u7d22\u7684\u504f\u5dee<\/li>\n<li>\u4f18\u5316\u76f2\u76ee&#xff1a;\u65e0\u6cd5\u9488\u5bf9\u6027\u6295\u5165\u8d44\u6e90&#xff0c;\u53ea\u80fd\u5168\u94fe\u8def\u778e\u8c03&#xff0c;\u7ecf\u5e38\u51fa\u73b0\u300c\u82b1\u5927\u529b\u6c14\u4f18\u5316\u751f\u6210&#xff0c;\u7ed3\u679c\u74f6\u9888\u5728\u68c0\u7d22\u300d\u7684\u8d44\u6e90\u6d6a\u8d39<\/li>\n<\/ul>\n<h4>2. \u5206\u5c42\u7684\u6838\u5fc3\u539f\u5219&#xff1a;\u5355\u4e00\u53d8\u91cf\u63a7\u5236<\/h4>\n<p>RAGAS \u7684\u5206\u5c42\u4e0d\u662f\u7b80\u5355\u7684\u300c\u6309\u73af\u8282\u62c6\u5206\u300d&#xff0c;\u800c\u662f\u4e25\u683c\u9075\u5faa\u5355\u4e00\u53d8\u91cf\u63a7\u5236\u539f\u5219&#xff1a;<\/p>\n<p>\u8bc4\u6d4b\u54ea\u4e00\u5c42&#xff0c;\u5c31\u56fa\u5b9a\u5176\u4ed6\u6240\u6709\u73af\u8282\u7684\u53d8\u91cf&#xff0c;\u8ba9\u6700\u7ec8\u5206\u6570\u53ea\u53cd\u6620\u5f53\u524d\u73af\u8282\u7684\u80fd\u529b\u3002<\/p>\n<ul>\n<li>\u8bc4\u6d4b\u68c0\u7d22\u5c42&#xff1a;\u56fa\u5b9a\u751f\u6210\u903b\u8f91&#xff08;\u751a\u81f3\u7528\u6807\u51c6\u7b54\u6848\u76f4\u63a5\u751f\u6210&#xff09;&#xff0c;\u786e\u4fdd\u5206\u6570\u6ce2\u52a8\u53ea\u7531\u68c0\u7d22\u7ed3\u679c\u5f15\u8d77<\/li>\n<li>\u8bc4\u6d4b\u751f\u6210\u5c42&#xff1a;\u56fa\u5b9a\u8f93\u5165\u7684\u53ec\u56de\u4e0a\u4e0b\u6587&#xff0c;\u786e\u4fdd\u5206\u6570\u6ce2\u52a8\u53ea\u7531\u751f\u6210\u6a21\u578b\u3001Prompt \u5f15\u8d77<\/li>\n<li>\u8bc4\u6d4b\u7aef\u5230\u7aef&#xff1a;\u5168\u94fe\u8def\u771f\u5b9e\u8fd0\u884c&#xff0c;\u53cd\u6620\u6574\u4f53\u7efc\u5408\u6548\u679c<\/li>\n<\/ul>\n<p>\u8fd9\u624d\u662f\u5206\u5c42\u7684\u672c\u8d28\u2014\u2014\u4e0d\u662f\u4e3a\u4e86\u62c6\u5206\u800c\u62c6\u5206&#xff0c;\u800c\u662f\u4e3a\u4e86\u7cbe\u51c6\u5f52\u56e0&#xff0c;\u8ba9\u6bcf\u4e2a\u6307\u6807\u90fd\u80fd\u5bf9\u5e94\u5230\u660e\u786e\u7684\u6280\u672f\u73af\u8282&#xff0c;\u95ee\u9898\u51fa\u5728\u54ea\u4e00\u5c42\u4e00\u76ee\u4e86\u7136\u3002<\/p>\n<h4>3. \u4e09\u5c42\u67b6\u6784\u7684\u8bbe\u8ba1\u903b\u8f91<\/h4>\n<p>RAGAS \u6700\u7ec8\u5b9a\u578b\u4e3a\u300c\u68c0\u7d22\u5c42-\u751f\u6210\u5c42-\u7aef\u5230\u7aef\u5c42\u300d\u4e09\u5c42&#xff0c;\u4e0d\u662f\u62cd\u8111\u888b\u5b9a\u7684&#xff0c;\u800c\u662f\u4e25\u683c\u5bf9\u5e94 RAG \u6280\u672f\u94fe\u8def\u7684\u6838\u5fc3\u53d8\u91cf\u8282\u70b9&#xff1a;<\/p>\n<table>\n<tr>\u5c42\u7ea7\u5bf9\u5e94\u6280\u672f\u73af\u8282\u6838\u5fc3\u56de\u7b54\u7684\u95ee\u9898\u8bbe\u8ba1\u76ee\u7684<\/tr>\n<tbody>\n<tr>\n<td>\u68c0\u7d22\u5c42<\/td>\n<td align=\"left\">\u5411\u91cf\u68c0\u7d22\u3001\u5173\u952e\u8bcd\u68c0\u7d22\u3001\u91cd\u6392\u5e8f<\/td>\n<td align=\"left\">\u300c\u8be5\u627e\u7684\u4fe1\u606f\u627e\u5230\u4e86\u5417&#xff1f;\u65e0\u5173\u4fe1\u606f\u591a\u4e0d\u591a&#xff1f;\u5173\u952e\u4fe1\u606f\u6392\u524d\u9762\u4e86\u5417&#xff1f;\u300d<\/td>\n<td align=\"left\">\u91cf\u5316\u53ec\u56de\u7684\u5b8c\u6574\u6027\u3001\u566a\u97f3\u6c34\u5e73\u3001\u6392\u5e8f\u8d28\u91cf<\/td>\n<\/tr>\n<tr>\n<td>\u751f\u6210\u5c42<\/td>\n<td align=\"left\">\u5927\u6a21\u578b\u63a8\u7406\u3001\u7cfb\u7edf Prompt\u3001\u4e8b\u5b9e\u9075\u5faa<\/td>\n<td align=\"left\">\u300c\u56de\u7b54\u662f\u57fa\u4e8e\u4e0a\u4e0b\u6587\u7f16\u7684\u5417&#xff1f;\u6709\u6ca1\u6709\u8dd1\u9898&#xff1f;\u6709\u6ca1\u6709\u778e\u7f16&#xff1f;\u300d<\/td>\n<td align=\"left\">\u91cf\u5316\u751f\u6210\u7684\u5fe0\u5b9e\u6027\u3001\u76f8\u5173\u6027\u3001\u5e7b\u89c9\u6c34\u5e73<\/td>\n<\/tr>\n<tr>\n<td>\u7aef\u5230\u7aef\u5c42<\/td>\n<td align=\"left\">\u5168\u94fe\u8def\u534f\u540c<\/td>\n<td align=\"left\">\u300c\u6700\u7ec8\u56de\u7b54\u7528\u6237\u6ee1\u610f\u5417&#xff1f;\u4e8b\u5b9e\u6b63\u786e\u5417&#xff1f;\u5b8c\u6574\u5417&#xff1f;\u300d<\/td>\n<td align=\"left\">\u91cf\u5316\u6574\u4f53\u4ea4\u4ed8\u6548\u679c\u4e0e\u4e1a\u52a1\u4ef7\u503c<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u4e3a\u4ec0\u4e48\u4e0d\u62c6\u6210\u66f4\u591a\u5c42&#xff1f;\u6bd4\u5982\u67e5\u8be2\u6539\u5199\u3001\u4e0a\u4e0b\u6587\u62fc\u88c5\u5355\u72ec\u62c6\u51fa\u6765&#xff1f;<br \/>\n\u56e0\u4e3a\u5206\u5c42\u8981\u5e73\u8861\u300c\u5f52\u56e0\u7cbe\u5ea6\u300d\u548c\u300c\u843d\u5730\u6210\u672c\u300d\u3002\u67e5\u8be2\u6539\u5199\u3001\u4e0a\u4e0b\u6587\u62fc\u88c5\u7684\u5f71\u54cd\u6700\u7ec8\u90fd\u4f1a\u4f53\u73b0\u5728\u68c0\u7d22\u7ed3\u679c\u6216\u751f\u6210\u8f93\u51fa\u91cc&#xff0c;\u6838\u5fc3\u4e09\u5c42\u5df2\u7ecf\u53ef\u4ee5\u5b9a\u4f4d 90% \u4ee5\u4e0a\u7684\u95ee\u9898&#xff0c;\u8fc7\u5ea6\u62c6\u5206\u53ea\u4f1a\u5927\u5e45\u63d0\u5347\u57cb\u70b9\u548c\u8bc4\u6d4b\u6210\u672c&#xff0c;\u8fb9\u9645\u6536\u76ca\u5f88\u4f4e\u3002<\/p>\n<hr \/>\n<h3>\u4e8c\u3001\u539f\u5b50\u58f0\u660e\u62c6\u89e3\u6cd5&#xff1a;\u5fe0\u5b9e\u5ea6\u7684\u6807\u51c6\u5316\u7b97\u6cd5<\/h3>\n<p>\u5982\u679c\u8bf4\u5206\u5c42\u601d\u60f3\u662f RAGAS \u7684\u6846\u67b6\u9aa8\u67b6&#xff0c;\u539f\u5b50\u58f0\u660e\u62c6\u89e3\u6cd5\u5c31\u662f RAGAS \u7684\u6838\u5fc3\u7b97\u6cd5\u7075\u9b42\u3002\u5b83\u7b2c\u4e00\u6b21\u628a\u300c\u5e7b\u89c9\u300d\u8fd9\u4e2a\u6a21\u7cca\u7684\u4e3b\u89c2\u6982\u5ff5&#xff0c;\u53d8\u6210\u4e86\u53ef\u91cf\u5316\u3001\u53ef\u590d\u73b0\u7684\u8ba1\u7b97\u7ed3\u679c\u3002<\/p>\n<h4>1. \u4e3a\u4ec0\u4e48\u4e0d\u80fd\u300c\u6574\u4f53\u5224\u65ad\u5fe0\u5b9e\u5ea6\u300d&#xff1f;<\/h4>\n<p>\u5728 RAGAS \u4e4b\u524d&#xff0c;\u5927\u5bb6\u8bc4\u5224\u5e7b\u89c9\u90fd\u662f\u9760\u4eba\u6574\u4f53\u8bfb\u4e00\u904d\u56de\u7b54&#xff0c;\u611f\u89c9\u300c\u5927\u6982\u662f\u57fa\u4e8e\u4e0a\u4e0b\u6587\u7684\u300d\u300c\u597d\u50cf\u6709\u7f16\u9020\u300d\u3002\u8fd9\u79cd\u6574\u4f53\u8bc4\u5206\u6709\u4e09\u4e2a\u81f4\u547d\u95ee\u9898&#xff1a;<\/p>\n<ul>\n<li>\u4e3b\u89c2\u504f\u5dee\u5927&#xff1a;\u4e0d\u540c\u7684\u4eba\u5bf9\u300c\u8f7b\u5fae\u5e7b\u89c9\u300d\u300c\u5408\u7406\u63a8\u65ad\u300d\u7684\u8fb9\u754c\u5224\u65ad\u5dee\u5f02\u6781\u5927&#xff0c;\u540c\u4e00\u4e2a\u6837\u672c\u4e0d\u540c\u4eba\u6253\u5206\u53ef\u80fd\u5dee 30%<\/li>\n<li>\u53ef\u590d\u73b0\u6027\u5dee&#xff1a;\u6ca1\u6709\u7edf\u4e00\u6807\u51c6&#xff0c;\u8fd9\u6b21\u6d4b\u548c\u4e0b\u6b21\u6d4b\u7ed3\u679c\u4e0d\u4e00\u6837&#xff0c;\u4e0d\u540c\u56e2\u961f\u6d4b\u51fa\u6765\u7684\u7ed3\u679c\u5b8c\u5168\u65e0\u6cd5\u5bf9\u6bd4<\/li>\n<li>\u5b9a\u4f4d\u80fd\u529b\u5f31&#xff1a;\u53ea\u77e5\u9053\u300c\u6709\u5e7b\u89c9\u300d&#xff0c;\u4e0d\u77e5\u9053\u5177\u4f53\u54ea\u53e5\u8bdd\u3001\u54ea\u4e2a\u4e8b\u5b9e\u662f\u7f16\u7684&#xff0c;\u4f18\u5316\u65e0\u4ece\u4e0b\u624b<\/li>\n<\/ul>\n<h4>2. \u4ec0\u4e48\u662f\u539f\u5b50\u58f0\u660e&#xff1f;<\/h4>\n<p>\u539f\u5b50\u58f0\u660e&#xff08;Atomic Statement&#xff09;\u662f\u6307\u56de\u7b54\u4e2d\u4e0d\u53ef\u518d\u62c6\u5206\u7684\u3001\u72ec\u7acb\u7684\u3001\u53ef\u9a8c\u8bc1\u771f\u5047\u7684\u6700\u5c0f\u4e8b\u5b9e\u5355\u5143\u3002<br \/>\n\u62c6\u89e3\u9075\u5faa\u4e09\u4e2a\u539f\u5219&#xff1a;<\/p>\n<li>\u5355\u4e00\u4e8b\u5b9e&#xff1a;\u6bcf\u4e2a\u58f0\u660e\u53ea\u5305\u542b\u4e00\u4e2a\u4e8b\u5b9e\u5224\u65ad&#xff0c;\u4e0d\u80fd\u540c\u65f6\u6709\u591a\u4e2a\u8bba\u65ad<\/li>\n<li>\u8bed\u4e49\u5b8c\u6574&#xff1a;\u6709\u72ec\u7acb\u7684\u4e3b\u8c13\u5bbe\u7ed3\u6784&#xff0c;\u53ef\u4ee5\u5355\u72ec\u9a8c\u8bc1\u771f\u5047<\/li>\n<li>\u4e0d\u53ef\u518d\u5206&#xff1a;\u62c6\u6210\u66f4\u5c0f\u5355\u5143\u5c31\u4f1a\u5931\u53bb\u5b8c\u6574\u7684\u4e8b\u5b9e\u8bed\u4e49<\/li>\n<p>\u793a\u4f8b&#xff1a;<br \/>\n\u539f\u53e5&#xff1a;\u300c2024\u5e74\u516c\u53f8\u8425\u653610\u4ebf\u5143&#xff0c;\u540c\u6bd4\u589e\u957f15%&#xff0c;\u4e3b\u8981\u6765\u81eaToB\u4e1a\u52a1\u300d<br \/>\n\u62c6\u89e3\u4e3a 3 \u4e2a\u539f\u5b50\u58f0\u660e&#xff1a;<\/p>\n<li>2024\u5e74\u516c\u53f8\u603b\u8425\u6536\u4e3a10\u4ebf\u5143<\/li>\n<li>2024\u5e74\u516c\u53f8\u8425\u6536\u540c\u6bd4\u589e\u957f15%<\/li>\n<li>\u8425\u6536\u589e\u957f\u4e3b\u8981\u6765\u6e90\u4e8eToB\u4e1a\u52a1<\/li>\n<h4>3. \u8bc4\u5206\u8ba1\u7b97\u903b\u8f91<\/h4>\n<p>\u5fe0\u5b9e\u5ea6\u7684\u8ba1\u7b97\u516c\u5f0f\u975e\u5e38\u7b80\u6d01&#xff1a;<br \/>\n<span class=\"katex--display\"><span class=\"katex-display\"><span class=\"katex\"><span class=\"katex-mathml\">Faithfulness&#061;\u6709\u4e0a\u4e0b\u6587\u652f\u6491\u7684\u539f\u5b50\u58f0\u660e\u6570\u603b\u539f\u5b50\u58f0\u660e\u6570<br \/>\n\\\\text{Faithfulness} &#061; \\\\frac{\\\\text{\u6709\u4e0a\u4e0b\u6587\u652f\u6491\u7684\u539f\u5b50\u58f0\u660e\u6570}}{\\\\text{\u603b\u539f\u5b50\u58f0\u660e\u6570}}<br \/>\n<\/span><span class=\"katex-html\"><span class=\"base\"><span class=\"strut\" style=\"height: 0.6944em\"><\/span><span class=\"mord text\"><span class=\"mord\">Faithfulness<\/span><\/span><span class=\"mspace\" style=\"margin-right: 0.2778em\"><\/span><span class=\"mrel\">&#061;<\/span><span class=\"mspace\" style=\"margin-right: 0.2778em\"><\/span><\/span><span class=\"base\"><span class=\"strut\" style=\"height: 2.0463em;vertical-align: -0.686em\"><\/span><span class=\"mord\"><span class=\"mopen nulldelimiter\"><\/span><span class=\"mfrac\"><span class=\"vlist-t vlist-t2\"><span class=\"vlist-r\"><span class=\"vlist\" style=\"height: 1.3603em\"><span class=\"\" style=\"top: -2.314em\"><span class=\"pstrut\" style=\"height: 3em\"><\/span><span class=\"mord\"><span class=\"mord text\"><span class=\"mord cjk_fallback\">\u603b\u539f\u5b50\u58f0\u660e\u6570<\/span><\/span><\/span><\/span><span class=\"\" style=\"top: -3.23em\"><span class=\"pstrut\" style=\"height: 3em\"><\/span><span class=\"frac-line\" style=\"border-bottom-width: 0.04em\"><\/span><\/span><span class=\"\" style=\"top: -3.677em\"><span class=\"pstrut\" style=\"height: 3em\"><\/span><span class=\"mord\"><span class=\"mord text\"><span class=\"mord cjk_fallback\">\u6709\u4e0a\u4e0b\u6587\u652f\u6491\u7684\u539f\u5b50\u58f0\u660e\u6570<\/span><\/span><\/span><\/span><\/span><span class=\"vlist-s\">\u200b<\/span><\/span><span class=\"vlist-r\"><span class=\"vlist\" style=\"height: 0.686em\"><span class=\"\"><\/span><\/span><\/span><\/span><\/span><span class=\"mclose nulldelimiter\"><\/span><\/span><\/span><\/span><\/span><\/span><\/span><\/p>\n<p>\u6838\u5fc3\u5728\u300c\u4ec0\u4e48\u7b97\u6709\u652f\u6491\u300d&#xff1a;RAGAS \u5b9a\u4e49\u4e3a\u53ef\u4ee5\u4ece\u7ed9\u5b9a\u4e0a\u4e0b\u6587\u4e2d\u76f4\u63a5\u63a8\u7406\u5f97\u51fa&#xff0c;\u65e0\u9700\u5f15\u5165\u5916\u90e8\u77e5\u8bc6\u3002\u4e0d\u9700\u8981\u5b8c\u5168\u539f\u6587\u4e00\u81f4&#xff0c;\u8bed\u4e49\u7b49\u4ef7\u5373\u53ef\u3002<\/p>\n<h4>4. \u8fd9\u4e48\u8bbe\u8ba1\u7684\u6838\u5fc3\u4f18\u52bf<\/h4>\n<ul>\n<li>\u53ef\u590d\u73b0\u6027\u6781\u5f3a&#xff1a;\u53ea\u8981\u6309\u540c\u4e00\u5957\u89c4\u5219\u62c6\u89e3\u58f0\u660e&#xff0c;\u4e0d\u540c\u7684\u4eba\u3001\u4e0d\u540c\u7684\u88c1\u5224\u6a21\u578b&#xff0c;\u6700\u7ec8\u5f97\u5206\u5dee\u5f02\u5f88\u5c0f&#xff0c;\u8fd9\u662f\u5b83\u80fd\u6210\u4e3a\u884c\u4e1a\u6807\u51c6\u7684\u6838\u5fc3\u539f\u56e0<\/li>\n<li>\u504f\u5dee\u53ef\u63a7&#xff1a;\u628a\u6a21\u7cca\u7684\u6574\u4f53\u5224\u65ad&#xff0c;\u53d8\u6210\u4e86\u4e00\u4e2a\u4e2a\u4e8c\u5206\u7c7b&#xff08;\u6709\u652f\u6491\/\u65e0\u652f\u6491&#xff09;\u7684\u5224\u5b9a&#xff0c;\u5927\u5e45\u964d\u4f4e\u4e86\u4e3b\u89c2\u504f\u5dee<\/li>\n<li>\u53ef\u5b9a\u4f4d\u6027&#xff1a;\u53ef\u4ee5\u7cbe\u786e\u5230\u5177\u4f53\u54ea\u4e00\u4e2a\u4e8b\u5b9e\u3001\u54ea\u4e00\u53e5\u8bdd\u662f\u5e7b\u89c9&#xff0c;\u65b9\u4fbf\u7814\u53d1\u5b9a\u4f4d\u95ee\u9898&#xff0c;\u800c\u4e0d\u662f\u53ea\u5f97\u5230\u4e00\u4e2a\u7b3c\u7edf\u7684\u5206\u6570<\/li>\n<li>\u4e1a\u52a1\u542b\u4e49\u6e05\u6670&#xff1a;1 &#8211; \u5fe0\u5b9e\u5ea6 &#061; \u5e7b\u89c9\u7387&#xff0c;\u76f4\u63a5\u5bf9\u5e94\u56de\u7b54\u4e2d\u7f16\u9020\u4e8b\u5b9e\u7684\u6bd4\u4f8b&#xff0c;\u4e1a\u52a1\u4fa7\u4e5f\u80fd\u76f4\u89c2\u7406\u89e3<\/li>\n<\/ul>\n<h4>5. \u8fb9\u754c\u4e0e\u5c40\u9650&#xff1a;\u4e3a\u4ec0\u4e48\u5fc5\u987b\u6821\u51c6<\/h4>\n<p>\u539f\u5b50\u58f0\u660e\u6cd5\u4e0d\u662f\u5b8c\u7f8e\u7684&#xff0c;\u5b83\u7684\u8fb9\u754c\u672c\u8eab\u5c31\u662f\u6a21\u7cca\u7684&#xff0c;\u8fd9\u4e5f\u662f\u6821\u51c6\u7684\u5fc5\u8981\u6027\u6839\u6e90&#xff1a;<\/p>\n<ul>\n<li>\u300c\u76f4\u63a5\u63a8\u7406\u300d\u7684\u8fb9\u754c\u6ca1\u6709\u7edd\u5bf9\u6807\u51c6&#xff1a;\u4ec0\u4e48\u7a0b\u5ea6\u7684\u63a8\u65ad\u7b97\u5408\u7406&#xff1f;\u4ec0\u4e48\u7a0b\u5ea6\u7b97\u65e0\u4e2d\u751f\u6709&#xff1f;<\/li>\n<li>\u62c6\u89e3\u7c92\u5ea6\u6ca1\u6709\u7edd\u5bf9\u7edf\u4e00&#xff1a;\u4e00\u53e5\u8bdd\u62c6\u6210 2 \u4e2a\u8fd8\u662f 3 \u4e2a\u58f0\u660e&#xff0c;\u4f1a\u8f7b\u5fae\u5f71\u54cd\u6700\u7ec8\u5f97\u5206<\/li>\n<li>\u539f\u751f\u89c4\u5219\u662f\u901a\u7528\u573a\u666f\u7684&#xff0c;\u4e0d\u4e00\u5b9a\u7b26\u5408\u4f60\u7684\u4e1a\u52a1\u573a\u666f&#xff08;\u6bd4\u5982\u91d1\u878d\u573a\u666f\u5bf9\u300c\u63a8\u65ad\u300d\u7684\u5bb9\u5fcd\u5ea6\u6781\u4f4e&#xff09;<\/li>\n<\/ul>\n<p>\u6240\u4ee5 RAGAS \u539f\u751f\u7684\u5fe0\u5b9e\u5ea6\u8bc4\u5206\u53ea\u80fd\u505a\u901a\u7528\u57fa\u51c6&#xff0c;\u843d\u5730\u5230\u5177\u4f53\u4e1a\u52a1\u5fc5\u987b\u6821\u51c6\u2014\u2014\u4e0d\u662f\u7b97\u6cd5\u9519\u4e86&#xff0c;\u800c\u662f\u901a\u7528\u6807\u51c6\u9700\u8981\u9002\u914d\u5177\u4f53\u573a\u666f\u7684\u8fb9\u754c\u5b9a\u4e49\u3002<\/p>\n<hr \/>\n<h3>\u4e09\u3001\u6838\u5fc3\u6307\u6807\u7684\u5b9a\u4e49\u903b\u8f91&#xff1a;\u6bcf\u4e2a\u5206\u6570\u80cc\u540e\u7684\u8bbe\u8ba1\u8003\u91cf<\/h3>\n<p>\u5f88\u591a\u4eba\u7528 RAGAS \u53ea\u77e5\u9053\u8dd1\u51fa\u6765\u56db\u4e2a\u5206\u6570&#xff0c;\u5374\u4e0d\u77e5\u9053\u6bcf\u4e2a\u6307\u6807\u4e3a\u4ec0\u4e48\u8fd9\u4e48\u7b97\u3001\u8bbe\u8ba1\u8003\u91cf\u662f\u4ec0\u4e48\u3001\u9002\u7528\u8fb9\u754c\u5728\u54ea&#xff0c;\u8fd9\u662f\u5178\u578b\u7684\u300c\u4f1a\u64cd\u4f5c\u4f46\u4e0d\u61c2\u903b\u8f91\u300d\u3002<\/p>\n<h4>1. \u68c0\u7d22\u5c42\u53cc\u6307\u6807<\/h4>\n<h5>\u2460 Context Precision&#xff08;\u4e0a\u4e0b\u6587\u7cbe\u786e\u7387&#xff09;<\/h5>\n<p>\u4e3a\u4ec0\u4e48\u4e0d\u53ea\u7b97\u300c\u76f8\u5173\u7247\u6bb5\u5360\u6bd4\u300d&#xff0c;\u8fd8\u8981\u505a\u4f4d\u7f6e\u52a0\u6743&#xff1f;<br \/>\n\u56e0\u4e3a\u771f\u5b9e RAG \u573a\u666f\u4e2d&#xff0c;\u6392\u5728\u8d8a\u524d\u9762\u7684\u7247\u6bb5&#xff0c;\u6a21\u578b\u6743\u91cd\u8d8a\u9ad8&#xff0c;\u6392\u5728\u540e\u9762\u7684\u7247\u6bb5\u53ef\u80fd\u88ab\u622a\u65ad\u3001\u53ef\u80fd\u88ab\u5ffd\u7565\u3002\u5982\u679c\u76f8\u5173\u7247\u6bb5\u90fd\u6392\u5728\u6700\u540e&#xff0c;\u5c31\u7b97\u5168\u90e8\u53ec\u56de\u4e86\u4e5f\u6ca1\u6709\u5b9e\u9645\u4ef7\u503c\u3002<\/p>\n<p>RAGAS \u7684\u7cbe\u786e\u7387\u672c\u8d28\u662f\u300c\u6392\u5e8f\u8d28\u91cf &#043; \u76f8\u5173\u6027\u300d\u7684\u7efc\u5408\u6307\u6807&#xff1a;\u8d8a\u9760\u524d\u7684\u76f8\u5173\u7247\u6bb5\u6743\u91cd\u8d8a\u9ad8&#xff0c;\u8d8a\u9760\u540e\u7684\u65e0\u5173\u7247\u6bb5\u60e9\u7f5a\u8d8a\u5927\u3002\u5b83\u8861\u91cf\u7684\u4e0d\u662f\u300c\u6709\u6ca1\u6709\u76f8\u5173\u5185\u5bb9\u300d&#xff0c;\u800c\u662f\u300c\u597d\u7684\u4f4d\u7f6e\u6709\u6ca1\u6709\u597d\u7684\u5185\u5bb9\u300d&#xff0c;\u8fd9\u624d\u662f\u8d34\u5408\u771f\u5b9e\u4e1a\u52a1\u7684\u8bbe\u8ba1\u3002<\/p>\n<h5>\u2461 Context Recall&#xff08;\u4e0a\u4e0b\u6587\u53ec\u56de\u7387&#xff09;<\/h5>\n<p>\u4e3a\u4ec0\u4e48\u7528\u300c\u7b54\u6848\u7684\u5173\u952e\u4fe1\u606f\u70b9\u300d\u505a\u57fa\u51c6&#xff0c;\u800c\u4e0d\u662f\u300c\u6240\u6709\u76f8\u5173\u7247\u6bb5\u300d&#xff1f;<br \/>\n\u56e0\u4e3a\u53ec\u56de\u7684\u7ec8\u6781\u76ee\u7684\u662f\u300c\u652f\u6491\u56de\u7b54\u95ee\u9898\u300d&#xff0c;\u4e0d\u662f\u300c\u53ec\u56de\u5c3d\u53ef\u80fd\u591a\u7684\u76f8\u5173\u5185\u5bb9\u300d\u3002\u518d\u591a\u76f8\u5173\u7247\u6bb5&#xff0c;\u6ca1\u8986\u76d6\u56de\u7b54\u95ee\u9898\u9700\u8981\u7684\u5173\u952e\u4fe1\u606f&#xff0c;\u4e5f\u662f\u65e0\u6548\u53ec\u56de\u3002<\/p>\n<p>\u6240\u4ee5\u53ec\u56de\u7387\u8861\u91cf\u7684\u662f&#xff1a;\u8981\u6b63\u786e\u56de\u7b54\u8fd9\u4e2a\u95ee\u9898&#xff0c;\u9700\u8981\u7684\u90a3\u4e9b\u5173\u952e\u4fe1\u606f&#xff0c;\u6709\u6ca1\u6709\u90fd\u88ab\u53ec\u56de\u6765\u3002\u5b83\u662f\u76f4\u63a5\u670d\u52a1\u4e8e\u6700\u7ec8\u56de\u7b54\u8d28\u91cf\u7684\u6307\u6807&#xff0c;\u800c\u4e0d\u662f\u7eb8\u9762\u7684\u68c0\u7d22\u6027\u80fd\u6307\u6807\u3002<\/p>\n<h4>2. \u751f\u6210\u5c42\u53cc\u6307\u6807<\/h4>\n<h5>\u2460 Faithfulness&#xff08;\u751f\u6210\u5fe0\u5b9e\u5ea6&#xff09;<\/h5>\n<p>\u6838\u5fc3\u662f\u300c\u57fa\u4e8e\u7ed9\u5b9a\u4e0a\u4e0b\u6587\u300d&#xff0c;\u548c\u7b54\u6848\u672c\u8eab\u7684\u5bf9\u9519\u65e0\u5173\u3002<\/p>\n<p>\u975e\u5e38\u91cd\u8981\u7684\u8ba4\u77e5\u8bef\u533a&#xff1a;\u5fe0\u5b9e\u5ea6\u9ad8 \u2260 \u7b54\u6848\u6b63\u786e\u3002\u5982\u679c\u53ec\u56de\u7684\u4e0a\u4e0b\u6587\u672c\u8eab\u5c31\u662f\u9519\u7684&#xff0c;\u6a21\u578b\u7167\u7740\u9519\u7684\u4e0a\u4e0b\u6587\u751f\u6210\u56de\u7b54&#xff0c;\u5fe0\u5b9e\u5ea6\u4f9d\u7136\u5f88\u9ad8&#xff0c;\u4f46\u4e8b\u5b9e\u662f\u9519\u7684\u3002<br \/>\n\u5fe0\u5b9e\u5ea6\u53ea\u4fdd\u8bc1\u300c\u4e0d\u7f16\u9020\u300d&#xff0c;\u4e0d\u4fdd\u8bc1\u300c\u672c\u8eab\u5bf9\u300d&#xff0c;\u8fd9\u662f\u5b83\u7684\u9002\u7528\u8fb9\u754c\u3002<\/p>\n<h5>\u2461 Answer Relevancy&#xff08;\u56de\u7b54\u76f8\u5173\u6027&#xff09;<\/h5>\n<p>\u4e3a\u4ec0\u4e48\u4e0d\u76f4\u63a5\u7528\u8bed\u4e49\u76f8\u4f3c\u5ea6&#xff1f;<br \/>\n\u56e0\u4e3a\u5f88\u591a\u56de\u7b54\u770b\u4f3c\u5185\u5bb9\u76f8\u5173&#xff0c;\u5b9e\u5219\u6ca1\u6709\u56de\u5e94\u7528\u6237\u7684\u6838\u5fc3\u8bc9\u6c42\u3002\u6bd4\u5982\u7528\u6237\u95ee\u300c\u600e\u4e48\u9000\u6b3e\u300d&#xff0c;\u56de\u7b54\u4e86\u5f88\u591a\u300c\u9000\u6b3e\u89c4\u5219\u300d&#xff0c;\u4f46\u6ca1\u8bf4\u5177\u4f53\u64cd\u4f5c\u6b65\u9aa4&#xff0c;\u8bed\u4e49\u76f8\u4f3c\u5ea6\u5f88\u9ad8&#xff0c;\u4f46\u5b8c\u5168\u4e0d\u76f8\u5173\u3002<\/p>\n<p>RAGAS \u7684\u76f8\u5173\u6027\u662f\u300c\u8bed\u4e49\u5339\u914d &#043; \u610f\u56fe\u5339\u914d\u300d\u7684\u53cc\u91cd\u6821\u9a8c&#xff0c;\u6838\u5fc3\u770b\u6709\u6ca1\u6709\u56de\u5e94\u7528\u6237\u7684\u771f\u5b9e\u610f\u56fe&#xff0c;\u800c\u4e0d\u662f\u5b57\u9762\u5185\u5bb9\u7684\u76f8\u4f3c\u7a0b\u5ea6\u3002<\/p>\n<h4>3. \u7aef\u5230\u7aef\u5c42\u6307\u6807<\/h4>\n<p>Answer Correctness&#xff08;\u7b54\u6848\u6b63\u786e\u6027&#xff09;<br \/>\n\u4e3a\u4ec0\u4e48\u6709\u4e86\u5fe0\u5b9e\u5ea6\u8fd8\u8981\u6b63\u786e\u7387&#xff1f;<br \/>\n\u5fe0\u5b9e\u5ea6\u53ea\u7ba1\u300c\u662f\u4e0d\u662f\u57fa\u4e8e\u4e0a\u4e0b\u6587\u300d&#xff0c;\u4e0d\u7ba1\u4e0a\u4e0b\u6587\u672c\u8eab\u5bf9\u4e0d\u5bf9\u3001\u7b54\u6848\u5b8c\u4e0d\u5b8c\u6574\u3001\u903b\u8f91\u5bf9\u4e0d\u5bf9\u3002\u6b63\u786e\u7387\u662f\u4ece\u7528\u6237\u89c6\u89d2\u7684\u6700\u7ec8\u9a8c\u6536&#xff0c;\u9700\u8981\u6807\u51c6\u7b54\u6848\u505a\u57fa\u51c6&#xff0c;\u8861\u91cf\u7684\u662f\u6700\u7ec8\u56de\u7b54\u7684\u4e8b\u5b9e\u51c6\u786e\u6027\u3001\u4fe1\u606f\u5b8c\u6574\u6027\u3001\u903b\u8f91\u5408\u7406\u6027\u3002<\/p>\n<p>\u5b83\u662f\u4e1a\u52a1\u4ef7\u503c\u7684\u6700\u7ec8\u4f53\u73b0&#xff0c;\u4f46\u4e0d\u9002\u5408\u7528\u6765\u5b9a\u4f4d\u95ee\u9898\u2014\u2014\u8fd9\u5c31\u662f\u4e3a\u4ec0\u4e48\u5fc5\u987b\u5206\u5c42&#xff0c;\u800c\u4e0d\u662f\u53ea\u6d4b\u7aef\u5230\u7aef\u3002<\/p>\n<hr \/>\n<h3>\u56db\u3001\u4e3a\u4ec0\u4e48\u8bf4\u300c\u61c2\u903b\u8f91\u6bd4\u4f1a API \u91cd\u8981\u300d<\/h3>\n<h4>1. \u5de5\u5177\u4f1a\u8fed\u4ee3&#xff0c;\u4f46\u65b9\u6cd5\u8bba\u901a\u7528<\/h4>\n<p>RAGAS \u7684 API \u4f1a\u53d8\u3001\u529f\u80fd\u4f1a\u589e\u3001\u751a\u81f3\u672a\u6765\u53ef\u80fd\u6709\u66f4\u597d\u7684\u5de5\u5177\u66ff\u4ee3\u5b83&#xff0c;\u4f46\u5206\u5c42\u89e3\u8026\u601d\u60f3\u3001\u539f\u5b50\u58f0\u660e\u62c6\u89e3\u6cd5\u3001\u6307\u6807\u8bbe\u8ba1\u903b\u8f91\u662f\u6574\u4e2a\u884c\u4e1a\u7684\u901a\u7528\u65b9\u6cd5\u8bba\u3002\u5b66\u4f1a\u4e86\u8fd9\u4e9b&#xff0c;\u6362 DeepEval\u3001\u6362\u81ea\u7814\u6846\u67b6\u90fd\u80fd\u76f4\u63a5\u7528&#xff0c;\u672c\u8d28\u662f\u638c\u63e1\u4e86 RAG \u8bc4\u6d4b\u7684\u5e95\u5c42\u89c4\u5f8b\u3002<\/p>\n<h4>2. \u4e0d\u61c2\u903b\u8f91\u7528\u5de5\u5177&#xff0c;\u5fc5\u7136\u8e29\u5751<\/h4>\n<ul>\n<li>\u57511&#xff1a;\u5fe0\u5b9e\u5ea6\u9ad8\u5c31\u8ba4\u4e3a\u7b54\u6848\u6b63\u786e&#xff0c;\u5ffd\u7565\u4e86\u300c\u4e0a\u4e0b\u6587\u672c\u8eab\u9519\u8bef\u300d\u7684\u60c5\u51b5&#xff0c;\u7ed3\u679c\u7ebf\u4e0a\u51fa\u73b0\u5927\u91cf\u4e8b\u5b9e\u9519\u8bef<\/li>\n<li>\u57512&#xff1a;\u7cbe\u786e\u7387\u4f4e\u5c31\u76f2\u76ee\u4f18\u5316\u68c0\u7d22&#xff0c;\u5176\u5b9e\u53ef\u80fd\u662f top_k \u8bbe\u592a\u5927\u5f15\u5165\u4e86\u5c11\u91cf\u65e0\u5173\u7247\u6bb5&#xff0c;\u4f46\u5173\u952e\u4fe1\u606f\u90fd\u5728\u6700\u524d\u9762&#xff0c;\u6839\u672c\u4e0d\u5f71\u54cd\u751f\u6210\u6548\u679c<\/li>\n<li>\u57513&#xff1a;\u62ff RAGAS \u7684\u5206\u6570\u548c DeepEval \u76f4\u63a5\u5bf9\u6bd4&#xff0c;\u540c\u540d\u6307\u6807\u5b9a\u4e49\u3001\u52a0\u6743\u3001\u8fb9\u754c\u5b8c\u5168\u4e0d\u540c&#xff0c;\u5bf9\u6bd4\u6beb\u65e0\u610f\u4e49<\/li>\n<li>\u57514&#xff1a;\u4e0d\u6821\u51c6\u5c31\u76f4\u63a5\u7528\u4e8e\u8d28\u91cf\u95e8\u7981&#xff0c;\u7cfb\u7edf\u6027\u504f\u5dee\u5bfc\u81f4\u95ee\u9898\u53d1\u73b0\u4e0d\u4e86&#xff0c;\u8d28\u91cf\u95e8\u7981\u5f62\u540c\u865a\u8bbe<\/li>\n<\/ul>\n<h4>3. \u61c2\u903b\u8f91\u624d\u80fd\u771f\u6b63\u5b9a\u5236\u843d\u5730<\/h4>\n<p>\u771f\u6b63\u843d\u5730\u5230\u4f01\u4e1a\u4e1a\u52a1&#xff0c;\u4e0d\u53ef\u80fd\u5b8c\u5168\u7167\u642c RAGAS \u7684\u901a\u7528\u6807\u51c6\u3002\u61c2\u4e86\u5e95\u5c42\u903b\u8f91&#xff0c;\u4f60\u5c31\u53ef\u4ee5&#xff1a;<\/p>\n<ul>\n<li>\u6839\u636e\u4e1a\u52a1\u98ce\u9669\u7b49\u7ea7&#xff0c;\u8c03\u6574\u5fe0\u5b9e\u5ea6\u7684\u5224\u5b9a\u8fb9\u754c&#xff08;\u9ad8\u98ce\u9669\u573a\u666f\u4ece\u4e25&#xff0c;\u4f4e\u98ce\u9669\u573a\u666f\u4ece\u5bbd&#xff09;<\/li>\n<li>\u6839\u636e\u4e1a\u52a1\u573a\u666f&#xff0c;\u81ea\u5b9a\u4e49\u539f\u5b50\u58f0\u660e\u7684\u62c6\u89e3\u7c92\u5ea6<\/li>\n<li>\u6839\u636e\u6392\u5e8f\u6743\u91cd&#xff0c;\u8c03\u6574\u7cbe\u786e\u7387\u7684\u4f4d\u7f6e\u52a0\u6743\u7cfb\u6570<\/li>\n<li>\u57fa\u4e8e\u5206\u5c42\u601d\u60f3&#xff0c;\u6269\u5c55\u81ea\u5df1\u7684\u4e1a\u52a1\u6307\u6807\u3001\u5408\u89c4\u6307\u6807<\/li>\n<\/ul>\n<p>\u4f60\u4e0d\u662f\u88ab\u5de5\u5177\u9650\u5236\u7684\u4f7f\u7528\u8005&#xff0c;\u800c\u662f\u57fa\u4e8e\u6807\u51c6\u65b9\u6cd5\u8bba\u7684\u5b9a\u5236\u8005\u3002<\/p>\n<hr \/>\n<h3>\u4e94\u3001\u6b63\u786e\u7684\u5b66\u4e60\u8def\u5f84\u5efa\u8bae<\/h3>\n<li>\n<p>\u7b2c\u4e00\u5c42&#xff1a;\u5148\u5403\u900f\u5206\u5c42\u89e3\u8026\u601d\u60f3<br \/>\n\u7406\u89e3\u4e3a\u4ec0\u4e48\u8981\u5206\u5c42\u3001\u5355\u4e00\u53d8\u91cf\u63a7\u5236\u539f\u5219\u3001\u6bcf\u5c42\u5bf9\u5e94\u7684\u6280\u672f\u73af\u8282\u4e0e\u6838\u5fc3\u95ee\u9898\u3002\u8fd9\u662f\u6574\u4e2a RAG \u8bc4\u6d4b\u7684\u4e16\u754c\u89c2&#xff0c;\u5efa\u7acb\u8fd9\u4e2a\u8ba4\u77e5\u6846\u67b6&#xff0c;\u540e\u9762\u7684\u6307\u6807\u90fd\u662f\u586b\u5145\u8840\u8089\u3002<\/p>\n<\/li>\n<li>\n<p>\u7b2c\u4e8c\u5c42&#xff1a;\u638c\u63e1\u539f\u5b50\u58f0\u660e\u62c6\u89e3\u6cd5<br \/>\n\u7ec3\u62c6\u89e3\u3001\u7ec3\u5224\u5b9a\u8fb9\u754c&#xff0c;\u7406\u89e3\u5fe0\u5b9e\u5ea6\u7684\u672c\u8d28\u3001\u8ba1\u7b97\u903b\u8f91\u3001\u4f18\u52bf\u4e0e\u5c40\u9650\u3002\u8fd9\u662f\u5e7b\u89c9\u8bc4\u6d4b\u7684\u6838\u5fc3\u7b97\u6cd5&#xff0c;\u4e5f\u662f LLM-as-Judge \u6700\u7ecf\u5178\u7684\u5e94\u7528\u3002<\/p>\n<\/li>\n<li>\n<p>\u7b2c\u4e09\u5c42&#xff1a;\u9010\u4e2a\u62a0\u6838\u5fc3\u6307\u6807\u7684\u5b9a\u4e49\u903b\u8f91<br \/>\n\u6bcf\u4e2a\u6307\u6807\u95ee\u81ea\u5df1\u4e09\u4e2a\u95ee\u9898&#xff1a;\u5b83\u8861\u91cf\u4ec0\u4e48&#xff1f;\u4e3a\u4ec0\u4e48\u8fd9\u4e48\u8bbe\u8ba1&#xff1f;\u9002\u7528\u8fb9\u754c\u5728\u54ea&#xff1f;\u4e0d\u8981\u53ea\u8bb0\u516c\u5f0f&#xff0c;\u8981\u61c2\u80cc\u540e\u7684\u4e1a\u52a1\u8003\u91cf\u3002<\/p>\n<\/li>\n<li>\n<p>\u7b2c\u56db\u5c42&#xff1a;\u518d\u53bb\u5b66 API \u64cd\u4f5c\u4e0e\u5de5\u5177\u4f7f\u7528<br \/>\n\u5f53\u4f60\u61c2\u4e86\u65b9\u6cd5\u8bba&#xff0c;API \u53ea\u662f\u5b9e\u73b0\u5de5\u5177&#xff0c;\u770b\u4e00\u904d\u6587\u6863\u5c31\u80fd\u8dd1\u8d77\u6765\u3002\u751a\u81f3\u4f60\u53ef\u4ee5\u7528\u8fd9\u4e2a\u903b\u8f91&#xff0c;\u81ea\u5df1\u7528 LLM \u5199\u4e00\u4e2a\u7b80\u6613\u7684\u8bc4\u6d4b\u811a\u672c\u3002<\/p>\n<\/li>\n<p>\u6700\u7ec8\u4f60\u5b66\u5230\u7684\u4e0d\u662f\u300c\u600e\u4e48\u7528 RAGAS\u300d&#xff0c;\u800c\u662f\u300c\u600e\u4e48\u505a RAG \u8bc4\u6d4b\u300d\u2014\u2014\u8fd9\u624d\u662f\u53ef\u8fc1\u79fb\u7684\u3001\u771f\u6b63\u7684\u4e13\u4e1a\u80fd\u529b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5b66\u4e60 RAGAS \u7684\u6838\u5fc3<br \/>\nRAGAS \u4e4b\u6240\u4ee5\u80fd\u6210\u4e3a RAG \u8bc4\u6d4b\u7684\u884c\u4e1a\u4e8b\u5b9e\u6807\u51c6&#xff0c;\u6838\u5fc3\u4ef7\u503c\u4ece\u6765\u4e0d\u662f\u300c\u80fd\u8dd1\u547d\u4ee4\u3001\u80fd\u51fa\u5206\u6570\u300d\u7684\u5de5\u5177\u5c5e\u6027&#xff0c;\u800c\u662f\u5b83\u9996\u6b21\u5c06 RAG \u8d28\u91cf\u8bc4\u6d4b\u4ece\u300c\u4e3b\u89c2\u611f\u89c9\u300d\u53d8\u6210\u4e86\u300c\u6807\u51c6\u5316\u3001\u53ef\u590d\u73b0\u3001\u53ef\u5f52\u56e0\u300d\u7684\u79d1\u5b66\u65b9\u6cd5\u8bba\u3002API \u8c03\u7528\u3001\u53c2\u6570\u914d\u7f6e\u53ea\u662f\u8868\u5c42\u64cd\u4f5c&#xff0c;\u5206\u5c42\u89e3\u8026\u601d\u60f3\u3001\u539f\u5b50\u58f0\u660e\u62c6\u89e3\u6cd5\u3001\u6307\u6807\u8bbe\u8ba1\u903b\u8f91\u624d\u662f\u5e95\u5c42\u7684\u3001\u53ef\u8fc1\u79fb\u7684\u3001\u771f\u6b63\u503c\u5f97\u6df1\u5165\u5b66\u4e60\u7684\u6838\u5fc3\u80fd\u529b\u3002\u4e00\u3001\u5206\u5c42\u89e3\u8026\u601d\u60f3&#xff1a;RAG \u8bc4\u6d4b\u7684\u5e95\u5c42\u6846\u67b6\u9769\u547d<br \/>\n\u8fd9\u662f RAGAS \u5bf9\u6574\u4e2a\u9886\u57df\u6700<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[50],"topic":[],"class_list":["post-121724","post","type-post","status-publish","format-standard","hentry","category-server","tag-50"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5b66\u4e60 RAGAS - \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\/121724.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5b66\u4e60 RAGAS - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u5b66\u4e60 RAGAS \u7684\u6838\u5fc3 RAGAS \u4e4b\u6240\u4ee5\u80fd\u6210\u4e3a RAG \u8bc4\u6d4b\u7684\u884c\u4e1a\u4e8b\u5b9e\u6807\u51c6&#xff0c;\u6838\u5fc3\u4ef7\u503c\u4ece\u6765\u4e0d\u662f\u300c\u80fd\u8dd1\u547d\u4ee4\u3001\u80fd\u51fa\u5206\u6570\u300d\u7684\u5de5\u5177\u5c5e\u6027&#xff0c;\u800c\u662f\u5b83\u9996\u6b21\u5c06 RAG \u8d28\u91cf\u8bc4\u6d4b\u4ece\u300c\u4e3b\u89c2\u611f\u89c9\u300d\u53d8\u6210\u4e86\u300c\u6807\u51c6\u5316\u3001\u53ef\u590d\u73b0\u3001\u53ef\u5f52\u56e0\u300d\u7684\u79d1\u5b66\u65b9\u6cd5\u8bba\u3002API \u8c03\u7528\u3001\u53c2\u6570\u914d\u7f6e\u53ea\u662f\u8868\u5c42\u64cd\u4f5c&#xff0c;\u5206\u5c42\u89e3\u8026\u601d\u60f3\u3001\u539f\u5b50\u58f0\u660e\u62c6\u89e3\u6cd5\u3001\u6307\u6807\u8bbe\u8ba1\u903b\u8f91\u624d\u662f\u5e95\u5c42\u7684\u3001\u53ef\u8fc1\u79fb\u7684\u3001\u771f\u6b63\u503c\u5f97\u6df1\u5165\u5b66\u4e60\u7684\u6838\u5fc3\u80fd\u529b\u3002\u4e00\u3001\u5206\u5c42\u89e3\u8026\u601d\u60f3&#xff1a;RAG \u8bc4\u6d4b\u7684\u5e95\u5c42\u6846\u67b6\u9769\u547d \u8fd9\u662f RAGAS \u5bf9\u6574\u4e2a\u9886\u57df\u6700\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/121724.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-03T05:56:35+00:00\" \/>\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=\"2 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/121724.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/121724.html\",\"name\":\"\u5b66\u4e60 RAGAS - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-11-03T05:56:35+00:00\",\"dateModified\":\"2026-11-03T05:56:35+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/121724.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/121724.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/121724.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5b66\u4e60 RAGAS\"}]},{\"@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":"\u5b66\u4e60 RAGAS - \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\/121724.html","og_locale":"zh_CN","og_type":"article","og_title":"\u5b66\u4e60 RAGAS - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u5b66\u4e60 RAGAS \u7684\u6838\u5fc3 RAGAS \u4e4b\u6240\u4ee5\u80fd\u6210\u4e3a RAG \u8bc4\u6d4b\u7684\u884c\u4e1a\u4e8b\u5b9e\u6807\u51c6&#xff0c;\u6838\u5fc3\u4ef7\u503c\u4ece\u6765\u4e0d\u662f\u300c\u80fd\u8dd1\u547d\u4ee4\u3001\u80fd\u51fa\u5206\u6570\u300d\u7684\u5de5\u5177\u5c5e\u6027&#xff0c;\u800c\u662f\u5b83\u9996\u6b21\u5c06 RAG \u8d28\u91cf\u8bc4\u6d4b\u4ece\u300c\u4e3b\u89c2\u611f\u89c9\u300d\u53d8\u6210\u4e86\u300c\u6807\u51c6\u5316\u3001\u53ef\u590d\u73b0\u3001\u53ef\u5f52\u56e0\u300d\u7684\u79d1\u5b66\u65b9\u6cd5\u8bba\u3002API \u8c03\u7528\u3001\u53c2\u6570\u914d\u7f6e\u53ea\u662f\u8868\u5c42\u64cd\u4f5c&#xff0c;\u5206\u5c42\u89e3\u8026\u601d\u60f3\u3001\u539f\u5b50\u58f0\u660e\u62c6\u89e3\u6cd5\u3001\u6307\u6807\u8bbe\u8ba1\u903b\u8f91\u624d\u662f\u5e95\u5c42\u7684\u3001\u53ef\u8fc1\u79fb\u7684\u3001\u771f\u6b63\u503c\u5f97\u6df1\u5165\u5b66\u4e60\u7684\u6838\u5fc3\u80fd\u529b\u3002\u4e00\u3001\u5206\u5c42\u89e3\u8026\u601d\u60f3&#xff1a;RAG \u8bc4\u6d4b\u7684\u5e95\u5c42\u6846\u67b6\u9769\u547d \u8fd9\u662f RAGAS \u5bf9\u6574\u4e2a\u9886\u57df\u6700","og_url":"https:\/\/www.wsisp.com\/helps\/121724.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-11-03T05:56:35+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"2 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/121724.html","url":"https:\/\/www.wsisp.com\/helps\/121724.html","name":"\u5b66\u4e60 RAGAS - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-11-03T05:56:35+00:00","dateModified":"2026-11-03T05:56:35+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/121724.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/121724.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/121724.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u5b66\u4e60 RAGAS"}]},{"@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\/121724","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=121724"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/121724\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=121724"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=121724"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=121724"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=121724"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}