{"id":103603,"date":"2026-09-11T03:09:26","date_gmt":"2026-09-10T19:09:26","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/103603.html"},"modified":"2026-09-11T03:09:26","modified_gmt":"2026-09-10T19:09:26","slug":"%e5%a6%82%e4%bd%95%e7%a7%91%e5%ad%a6%e5%9c%b0%e8%af%84%e6%b5%8b%e4%bd%a0%e7%9a%84-rag-%e7%b3%bb%e7%bb%9f%ef%bc%9fgolden-set-%e8%af%84%e6%b5%8b%e5%ae%9e%e8%b7%b5","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/103603.html","title":{"rendered":"\u5982\u4f55\u79d1\u5b66\u5730\u8bc4\u6d4b\u4f60\u7684 RAG \u7cfb\u7edf\uff1fGolden Set \u8bc4\u6d4b\u5b9e\u8df5"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260910190923-6aa3006378fbe.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u5feb\u901f\u9605\u8bfb&#xff08;30 \u79d2\u901f\u89c8&#xff09;<\/p>\n<ul>\n<li>\u8c03\u4e86\u53c2\u6570\u4e0d\u77e5\u9053\u6548\u679c\u53d8\u597d\u8fd8\u662f\u53d8\u574f&#xff1f;\u4f60\u9700\u8981\u4e00\u5957\u53ef\u91cd\u590d\u7684\u91cf\u5316\u8bc4\u6d4b<\/li>\n<li>EasyRAG \u7684 GoldenSetEvaluator&#xff1a;\u51c6\u5907\u4e00\u4efd&#034;\u9ec4\u91d1\u95ee\u7b54\u96c6&#034;&#xff0c;\u7cfb\u7edf\u9010\u6761\u8dd1&#xff0c;\u8f93\u51fa\u6df7\u6dc6\u77e9\u9635 &#043; \u4e09\u5927\u6307\u6807<\/li>\n<li>\u4e09\u5927\u6307\u6807&#xff1a;\u5e7b\u89c9\u7387&#xff08;\u8be5\u62d2\u7b54\u65f6\u786c\u7b54\u7684\u6bd4\u4f8b&#xff09;\u3001\u8986\u76d6\u7387&#xff08;\u56de\u7b54\u4e86\u591a\u5c11&#xff09;\u3001\u5fe0\u5b9e\u5ea6&#xff08;\u56de\u7b54\u7684\u6b63\u786e\u7387&#xff09;<\/li>\n<li>\u9ec4\u91d1\u96c6\u91cc\u8981\u6545\u610f\u653e&#034;\u5e94\u8be5\u62d2\u7b54&#034;\u7684\u95ee\u9898\u2014\u2014\u62a4\u680f\u7684\u4ef7\u503c\u53ea\u6709\u5728\u62d2\u7b54\u9898\u4e0a\u624d\u80fd\u88ab\u91cf\u5316<\/li>\n<li>\u8bc4\u6d4b\u5668\u901a\u8fc7 Queryable trait \u89e3\u8026&#xff1a;\u53ef\u4ee5\u8bc4\u771f\u5b9e\u5f15\u64ce&#xff0c;\u4e5f\u53ef\u4ee5\u8bc4 mock<\/li>\n<\/ul>\n<p>\u524d\u60c5\u63d0\u8981&#xff1a;\u4e0a\u4e00\u7bc7\u8bb2\u5b8c\u67e5\u8be2\u5f15\u64ce&#xff0c;\u81ea\u7136\u8981\u56de\u7b54\u4e0b\u4e00\u4e2a\u95ee\u9898&#xff1a;\u8fd9\u4e9b\u8bbe\u8ba1\u5230\u5e95\u6709\u6ca1\u6709\u8ba9\u6548\u679c\u53d8\u597d&#xff1f;\u4e0d\u80fd\u51ed\u611f\u89c9&#xff0c;\u8981\u62ff\u6570\u5b57\u3002<\/p>\n<hr \/>\n<h3>&#034;\u611f\u89c9\u53d8\u597d\u4e86&#034;\u4e0d\u662f\u8bc4\u6d4b<\/h3>\n<p>\u4e00\u4e2a\u5e38\u89c1\u7684\u8c03\u53c2\u5faa\u73af&#xff1a;<\/p>\n<p>\u6539\u4e86\u5206\u5757\u53c2\u6570 \u2192 \u95ee\u4e86\u51e0\u4e2a\u95ee\u9898 \u2192 \u201c\u597d\u50cf\u66f4\u51c6\u4e86\u201d \u2192 \u4e0a\u7ebf \u2192 \u7528\u6237\u6295\u8bc9\u53d8\u5dee\u4e86<\/p>\n<p>\u95ee\u9898\u51fa\u5728\u54ea&#xff1f;\u6837\u672c\u592a\u5c0f\u3001\u6ca1\u6709\u57fa\u7ebf\u3001\u6ca1\u6709\u5bf9\u7167\u7ec4\u3002\u4f60\u8bb0\u4f4f\u7684\u6c38\u8fdc\u662f\u90a3\u51e0\u4e2a\u7b54\u5bf9\u4e86\u7684\u95ee\u9898&#xff0c;\u7b54\u9519\u7684\u65e9\u5c31\u5fd8\u4e86\u3002<\/p>\n<p>\u79d1\u5b66\u7684\u505a\u6cd5\u662f\u628a\u8bc4\u6d4b\u53d8\u6210\u4e00\u6bb5\u53ef\u4ee5\u53cd\u590d\u6267\u884c\u7684\u4ee3\u7801&#xff1a;\u56fa\u5b9a\u95ee\u9898\u96c6\u3001\u56fa\u5b9a\u6307\u6807\u3001\u4e00\u952e\u51fa\u62a5\u544a\u3002<\/p>\n<hr \/>\n<h3>\u7b2c\u4e00\u6b65&#xff1a;\u6784\u5efa\u9ec4\u91d1\u95ee\u7b54\u96c6<\/h3>\n<p>\u9ec4\u91d1\u96c6&#xff08;Golden Set&#xff09;\u662f\u4e00\u7ec4\u4eba\u5de5\u6807\u6ce8\u7684\u95ee\u7b54\u5bf9&#xff0c;EasyRAG \u7684\u6a21\u578b\u5b9a\u4e49\u5728 easyrag-core&#xff1a;<\/p>\n<p><span class=\"token keyword\">pub<\/span> <span class=\"token keyword\">struct<\/span> <span class=\"token type-definition class-name\">GoldenItem<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token keyword\">pub<\/span> query<span class=\"token punctuation\">:<\/span> <span class=\"token class-name\">String<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token keyword\">pub<\/span> expected_answer<span class=\"token punctuation\">:<\/span> <span class=\"token class-name\">Option<\/span><span class=\"token operator\">&lt;<\/span><span class=\"token class-name\">String<\/span><span class=\"token operator\">&gt;<\/span><span class=\"token punctuation\">,<\/span>  <span class=\"token comment\">\/\/ None &#061; \u8fd9\u4e2a\u95ee\u9898\u5e94\u8be5\u62d2\u7b54&#xff01;<\/span><br \/>\n    <span class=\"token keyword\">pub<\/span> query_type<span class=\"token punctuation\">:<\/span> <span class=\"token class-name\">Option<\/span><span class=\"token operator\">&lt;<\/span><span class=\"token class-name\">String<\/span><span class=\"token operator\">&gt;<\/span><span class=\"token punctuation\">,<\/span>       <span class=\"token comment\">\/\/ \u53ef\u9009\u5206\u7c7b&#xff1a;single_hop \/ multi_hop&#8230;<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<p>\u6ce8\u610f expected_answer \u662f Option\u2014\u2014\u8fd9\u662f\u6574\u5957\u8bbe\u8ba1\u91cc\u6700\u5173\u952e\u7684\u7ec6\u8282\u3002\u9ec4\u91d1\u96c6\u5206\u4e24\u7c7b&#xff1a;<\/p>\n<li>\u5e94\u7b54\u9898&#xff1a;\u77e5\u8bc6\u5e93\u91cc\u6709\u7b54\u6848&#xff0c;\u671f\u671b\u7cfb\u7edf\u6b63\u786e\u56de\u7b54&#xff1b;<\/li>\n<li>\u62d2\u7b54\u9898&#xff1a;\u77e5\u8bc6\u5e93\u91cc\u6ca1\u6709\u7b54\u6848&#xff0c;\u671f\u671b\u7cfb\u7edf\u8bda\u5b9e\u5730\u8bf4&#034;\u4e0d\u77e5\u9053&#034;\u3002<\/li>\n<p># testdata\/golden\/ \u793a\u4f8b&#xff08;\u793a\u610f&#xff09;<br \/>\n{ &#034;query&#034;: &#034;\u4ea7\u54c1\u4fdd\u4fee\u671f\u591a\u4e45&#xff1f;&#034;, &#034;expected_answer&#034;: &#034;\u4e3b\u8981\u90e8\u4ef6\u4fdd\u4fee 2 \u5e74&#034; }<br \/>\n{ &#034;query&#034;: &#034;\u516c\u53f8\u98df\u5802\u4e2d\u5348\u51e0\u70b9\u5f00\u996d&#xff1f;&#034;, &#034;expected_answer&#034;: null }<\/p>\n<p>\u7b2c\u4e8c\u7c7b\u95ee\u9898\u5c31\u662f\u5e7b\u89c9\u68c0\u6d4b\u5668&#xff1a;\u5982\u679c\u7cfb\u7edf\u5bf9&#034;\u98df\u5802\u51e0\u70b9\u5f00\u996d&#034;\u7ed9\u51fa\u4e86\u5177\u4f53\u65f6\u95f4\u7684\u56de\u7b54\u2014\u2014\u5e7b\u89c9\u5b9e\u9524\u3002<\/p>\n<p>\u6784\u5efa\u5efa\u8bae&#xff1a;<\/p>\n<ul>\n<li>\u4ece\u771f\u5b9e\u7528\u6237\u95ee\u9898\u91cc\u6311&#xff08;\u522b\u81ea\u5df1\u7f16&#xff0c;\u771f\u5b9e\u95ee\u9898\u7684\u8868\u8ff0\u65b9\u5f0f\u6709\u4f60\u60f3\u4e0d\u5230\u7684\u591a\u6837\u6027&#xff09;&#xff1b;<\/li>\n<li>\u5e94\u7b54\u9898\u4e0e\u62d2\u7b54\u9898\u6bd4\u4f8b\u7ea6 2:1&#xff1b;<\/li>\n<li>\u6bcf\u9053\u9898\u6807\u6ce8\u5230&#034;\u7b54\u6848\u5728\u54ea\u4efd\u6587\u6863&#034;\u2014\u2014\u7b54\u9519\u65f6\u80fd\u76f4\u63a5\u5b9a\u4f4d\u662f\u68c0\u7d22\u95ee\u9898\u8fd8\u662f\u751f\u6210\u95ee\u9898\u3002<\/li>\n<\/ul>\n<hr \/>\n<h3>\u7b2c\u4e8c\u6b65&#xff1a;\u8bc4\u6d4b\u5668\u7684\u6df7\u6dc6\u77e9\u9635\u601d\u7ef4<\/h3>\n<p>easyrag-pipeline\/src\/evaluation.rs \u7684 GoldenSetEvaluator \u628a\u6bcf\u9053\u9898\u5f52\u5165\u56db\u79cd\u60c5\u51b5&#xff1a;<\/p>\n<p><span class=\"token keyword\">let<\/span> <span class=\"token punctuation\">(<\/span>classification<span class=\"token punctuation\">,<\/span> correct<span class=\"token punctuation\">)<\/span> <span class=\"token operator\">&#061;<\/span> <span class=\"token keyword\">match<\/span> <span class=\"token punctuation\">(<\/span>should_abstain<span class=\"token punctuation\">,<\/span> abstained<span class=\"token punctuation\">)<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token punctuation\">(<\/span><span class=\"token boolean\">false<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token boolean\">false<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token operator\">&#061;&gt;<\/span> <span class=\"token punctuation\">{<\/span>  <span class=\"token comment\">\/\/ \u5e94\u56de\u7b54&#xff0c;\u56de\u7b54\u4e86 \u2192 TP&#xff0c;\u518d\u67e5\u7b54\u5f97\u5bf9\u4e0d\u5bf9<\/span><br \/>\n        <span class=\"token keyword\">let<\/span> correct <span class=\"token operator\">&#061;<\/span> <span class=\"token function\">is_roughly_correct<\/span><span class=\"token punctuation\">(<\/span><span class=\"token operator\">&amp;<\/span>response<span class=\"token punctuation\">,<\/span> item<span class=\"token punctuation\">.<\/span>expected_answer<span class=\"token punctuation\">.<\/span><span class=\"token function\">as_deref<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><br \/>\n        matrix<span class=\"token punctuation\">.<\/span>true_positive <span class=\"token operator\">&#043;&#061;<\/span> <span class=\"token number\">1<\/span><span class=\"token punctuation\">;<\/span><br \/>\n        <span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;tp&#034;<\/span><span class=\"token punctuation\">.<\/span><span class=\"token function\">to_string<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">,<\/span> correct<span class=\"token punctuation\">)<\/span><br \/>\n    <span class=\"token punctuation\">}<\/span><br \/>\n    <span class=\"token punctuation\">(<\/span><span class=\"token boolean\">true<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token boolean\">true<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token operator\">&#061;&gt;<\/span> <span class=\"token punctuation\">{<\/span>    <span class=\"token comment\">\/\/ \u5e94\u62d2\u7b54&#xff0c;\u62d2\u7b54\u4e86 \u2192 TN&#xff0c;\u6b63\u786e<\/span><br \/>\n        matrix<span class=\"token punctuation\">.<\/span>true_negative <span class=\"token operator\">&#043;&#061;<\/span> <span class=\"token number\">1<\/span><span class=\"token punctuation\">;<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;tn&#034;<\/span><span class=\"token punctuation\">.<\/span><span class=\"token function\">to_string<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token boolean\">true<\/span><span class=\"token punctuation\">)<\/span><br \/>\n    <span class=\"token punctuation\">}<\/span><br \/>\n    <span class=\"token punctuation\">(<\/span><span class=\"token boolean\">true<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token boolean\">false<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token operator\">&#061;&gt;<\/span> <span class=\"token punctuation\">{<\/span>   <span class=\"token comment\">\/\/ \u5e94\u62d2\u7b54&#xff0c;\u5374\u56de\u7b54\u4e86 \u2192 FP&#xff0c;\u5e7b\u89c9&#xff01;<\/span><br \/>\n        matrix<span class=\"token punctuation\">.<\/span>false_positive <span class=\"token operator\">&#043;&#061;<\/span> <span class=\"token number\">1<\/span><span class=\"token punctuation\">;<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;fp&#034;<\/span><span class=\"token punctuation\">.<\/span><span class=\"token function\">to_string<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token boolean\">false<\/span><span class=\"token punctuation\">)<\/span><br \/>\n    <span class=\"token punctuation\">}<\/span><br \/>\n    <span class=\"token punctuation\">(<\/span><span class=\"token boolean\">false<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token boolean\">true<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token operator\">&#061;&gt;<\/span> <span class=\"token punctuation\">{<\/span>   <span class=\"token comment\">\/\/ \u5e94\u56de\u7b54&#xff0c;\u5374\u62d2\u7b54\u4e86 \u2192 FN&#xff0c;\u6f0f\u7b54<\/span><br \/>\n        matrix<span class=\"token punctuation\">.<\/span>false_negative <span class=\"token operator\">&#043;&#061;<\/span> <span class=\"token number\">1<\/span><span class=\"token punctuation\">;<\/span> <span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;fn&#034;<\/span><span class=\"token punctuation\">.<\/span><span class=\"token function\">to_string<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token boolean\">false<\/span><span class=\"token punctuation\">)<\/span><br \/>\n    <span class=\"token punctuation\">}<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260910190924-6aa3006499fcf.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>&#034;\u662f\u5426\u62d2\u7b54&#034;\u600e\u4e48\u5224\u65ad&#xff1f;\u7cfb\u7edf\u62d2\u7b54\u65f6\u8fd4\u56de\u7edf\u4e00\u7684 FAIL_RESPONSE \u8bdd\u672f&#xff08;\u7b2c 5 \u7bc7\u8bb2\u8fc7&#xff09;&#xff0c;\u8bc4\u6d4b\u5668\u8bc6\u522b\u8fd9\u4e2a\u6807\u8bb0\u5373\u53ef\u2014\u2014\u62a4\u680f\u4e0e\u8bc4\u6d4b\u5171\u7528\u540c\u4e00\u5957\u534f\u8bae&#xff0c;\u8fd9\u662f\u7cfb\u7edf\u8bbe\u8ba1\u4e0a\u7684\u547c\u5e94\u3002<\/p>\n<h3>\u7b2c\u4e09\u6b65&#xff1a;\u4e09\u5927\u6307\u6807<\/h3>\n<p><span class=\"token comment\">\/\/ \u8986\u76d6\u7387&#xff1a;\u7cfb\u7edf\u613f\u610f\u56de\u7b54\u591a\u5c11\u95ee\u9898<\/span><br \/>\n<span class=\"token keyword\">let<\/span> coverage <span class=\"token operator\">&#061;<\/span> answered <span class=\"token keyword\">as<\/span> <span class=\"token keyword\">f32<\/span> <span class=\"token operator\">\/<\/span> total <span class=\"token keyword\">as<\/span> <span class=\"token keyword\">f32<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p><span class=\"token comment\">\/\/ \u5e7b\u89c9\u7387&#xff1a;\u56de\u7b54\u4e86\u7684\u95ee\u9898\u91cc&#xff0c;\u591a\u5c11\u662f&#034;\u672c\u8be5\u62d2\u7b54\u5374\u786c\u7b54&#034;<\/span><br \/>\n<span class=\"token keyword\">let<\/span> hallucination_rate <span class=\"token operator\">&#061;<\/span> matrix<span class=\"token punctuation\">.<\/span>false_positive <span class=\"token keyword\">as<\/span> <span class=\"token keyword\">f32<\/span> <span class=\"token operator\">\/<\/span> answered <span class=\"token keyword\">as<\/span> <span class=\"token keyword\">f32<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p><span class=\"token comment\">\/\/ \u5fe0\u5b9e\u5ea6&#xff1a;\u5e94\u7b54\u9898\u91cc&#xff0c;\u5b9e\u9645\u7b54\u5bf9\u7684\u6bd4\u4f8b<\/span><br \/>\n<span class=\"token keyword\">let<\/span> faithfulness <span class=\"token operator\">&#061;<\/span> correct_answers <span class=\"token keyword\">as<\/span> <span class=\"token keyword\">f32<\/span> <span class=\"token operator\">\/<\/span> matrix<span class=\"token punctuation\">.<\/span>true_positive <span class=\"token keyword\">as<\/span> <span class=\"token keyword\">f32<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p>\u4e09\u4e2a\u6307\u6807\u5fc5\u987b\u4e00\u8d77\u770b&#xff0c;\u56e0\u4e3a\u5b83\u4eec\u4e92\u76f8\u7275\u5236&#xff1a;<\/p>\n<table>\n<tr>\u6307\u6807\u8d8a\u9ad8\u8d8a\u597d&#xff1f;\u5237\u5206\u9677\u9631<\/tr>\n<tbody>\n<tr>\n<td>\u8986\u76d6\u7387<\/td>\n<td>\u662f<\/td>\n<td>\u5168\u90fd\u56de\u7b54&#xff08;\u5e7b\u89c9\u7387\u7206\u70b8&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>\u5e7b\u89c9\u7387&#xff08;\u8d8a\u4f4e\u8d8a\u597d&#xff09;<\/td>\n<td>\u8d8a\u4f4e\u8d8a\u597d<\/td>\n<td>\u5168\u90fd\u62d2\u7b54&#xff08;\u8986\u76d6\u7387\u5f52\u96f6&#xff09;<\/td>\n<\/tr>\n<tr>\n<td>\u5fe0\u5b9e\u5ea6<\/td>\n<td>\u662f<\/td>\n<td>\u53ea\u56de\u7b54\u6700\u6709\u628a\u63e1\u7684\u9898<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u5355\u770b\u4efb\u4f55\u4e00\u4e2a\u6307\u6807\u90fd\u4f1a\u88ab\u7cfb\u7edf&#034;\u5e94\u8bd5&#034;\u5237\u5206\u3002 \u62a4\u680f\u9608\u503c\u5f80\u4e25\u8c03&#xff0c;\u5e7b\u89c9\u7387\u964d\u3001\u8986\u76d6\u7387\u964d&#xff1b;\u5f80\u677e\u8c03\u53cd\u4e4b\u2014\u2014\u8bc4\u6d4b\u62a5\u544a\u5c31\u662f\u5e2e\u4f60\u627e\u5230\u90a3\u4e2a\u5e73\u8861\u70b9\u3002<\/p>\n<p>\u6b64\u5916\u62a5\u544a\u8fd8\u5305\u542b risk-coverage \u66f2\u7ebf&#xff1a;\u6309\u7f6e\u4fe1\u5ea6\u6392\u5e8f\u9010\u6b65\u653e\u5bbd\u62d2\u7b54\u9608\u503c&#xff0c;\u753b\u51fa&#034;\u5e7b\u89c9\u98ce\u9669\u968f\u8986\u76d6\u7387\u4e0a\u5347&#034;\u7684\u66f2\u7ebf&#xff0c;\u4f60\u53ef\u4ee5\u76f4\u63a5\u8bfb\u56fe\u9009\u5de5\u4f5c\u70b9\u3002<\/p>\n<hr \/>\n<h3>\u5de5\u7a0b\u7ec6\u8282&#xff1a;\u8bc4\u6d4b\u5668\u600e\u4e48\u4e0d\u7ed1\u6b7b\u5b9e\u73b0<\/h3>\n<p><span class=\"token attribute attr-name\">#[async_trait]<\/span><br \/>\n<span class=\"token keyword\">pub<\/span> <span class=\"token keyword\">trait<\/span> <span class=\"token type-definition class-name\">Queryable<\/span><span class=\"token punctuation\">:<\/span> <span class=\"token class-name\">Send<\/span> <span class=\"token operator\">&#043;<\/span> <span class=\"token class-name\">Sync<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    <span class=\"token keyword\">async<\/span> <span class=\"token keyword\">fn<\/span> <span class=\"token function-definition function\">eval_query<\/span><span class=\"token punctuation\">(<\/span><span class=\"token operator\">&amp;<\/span><span class=\"token keyword\">self<\/span><span class=\"token punctuation\">,<\/span> query<span class=\"token punctuation\">:<\/span> <span class=\"token operator\">&amp;<\/span><span class=\"token keyword\">str<\/span><span class=\"token punctuation\">,<\/span> param<span class=\"token punctuation\">:<\/span> <span class=\"token operator\">&amp;<\/span><span class=\"token class-name\">QueryParam<\/span><span class=\"token punctuation\">)<\/span><br \/>\n        <span class=\"token punctuation\">-&gt;<\/span> <span class=\"token namespace\">easyrag_core<span class=\"token punctuation\">::<\/span><\/span><span class=\"token class-name\">Result<\/span><span class=\"token operator\">&lt;<\/span><span class=\"token class-name\">String<\/span><span class=\"token operator\">&gt;<\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<p><span class=\"token keyword\">pub<\/span> <span class=\"token keyword\">struct<\/span> <span class=\"token type-definition class-name\">GoldenSetEvaluator<\/span> <span class=\"token punctuation\">{<\/span><br \/>\n    queryable<span class=\"token punctuation\">:<\/span> <span class=\"token class-name\">Arc<\/span><span class=\"token operator\">&lt;<\/span><span class=\"token keyword\">dyn<\/span> <span class=\"token class-name\">Queryable<\/span><span class=\"token operator\">&gt;<\/span><span class=\"token punctuation\">,<\/span>  <span class=\"token comment\">\/\/ \u53ef\u4ee5\u662f\u771f\u5b9e\u5f15\u64ce&#xff0c;\u4e5f\u53ef\u4ee5\u662f mock<\/span><br \/>\n    param<span class=\"token punctuation\">:<\/span> <span class=\"token class-name\">QueryParam<\/span><span class=\"token punctuation\">,<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><\/p>\n<p>Queryable trait \u8ba9\u8bc4\u6d4b\u5668\u4e0e\u67e5\u8be2\u5b9e\u73b0\u89e3\u8026&#xff1a;<\/p>\n<ul>\n<li>\u751f\u4ea7\u8bc4\u6d4b&#xff1a;\u63a5\u771f\u5b9e QueryEngine&#xff0c;\u901a\u8fc7 \/api\/eval\/golden-set \u8def\u7531\u5728\u7ebf\u8dd1&#xff08;\u53e6\u6709 \/api\/eval\/risk-coverage \u5355\u72ec\u51fa\u66f2\u7ebf&#xff09;&#xff1b;<\/li>\n<li>\u5355\u5143\u6d4b\u8bd5&#xff1a;\u63a5 mock&#xff0c;\u9a8c\u8bc1\u6307\u6807\u8ba1\u7b97\u672c\u8eab&#xff08;\u6df7\u6dc6\u77e9\u9635\u903b\u8f91\u7684\u6d4b\u8bd5\u4e0d\u9700\u8981\u771f\u6a21\u578b&#xff09;\u3002<\/li>\n<\/ul>\n<p>\u67e5\u8be2\u5931\u8d25\u4e5f\u7b97\u62d2\u7b54\u2014\u2014\u8bc4\u6d4b\u5faa\u73af\u91cc Err \u88ab\u5f52\u5165 FAIL_RESPONSE&#xff0c;\u4e00\u6b21\u7f51\u7edc\u6296\u52a8\u4e0d\u4f1a\u8ba9\u6574\u4efd\u62a5\u544a\u4f5c\u5e9f\u3002<\/p>\n<hr \/>\n<h3>\u8bc4\u6d4b\u9a71\u52a8\u5f00\u53d1&#xff1a;\u771f\u5b9e\u5de5\u4f5c\u6d41<\/h3>\n<p>1. \u57fa\u7ebf\u62a5\u544a&#xff1a;\u9ed8\u8ba4\u914d\u7f6e\u8dd1\u4e00\u904d&#xff0c;\u5b58\u6863<br \/>\n2. \u6539\u4e00\u4e2a\u53d8\u91cf&#xff08;\u5206\u5757\u7b56\u7565 \/ top_k \/ \u62a4\u680f\u9608\u503c \/ \u6362 embedding \u6a21\u578b&#xff09;<br \/>\n3. \u91cd\u8dd1&#xff0c;diff \u4e09\u4e2a\u6307\u6807<br \/>\n4. \u6307\u6807\u5347 \u2192 \u4fdd\u7559&#xff1b;\u964d \u2192 \u56de\u6eda&#xff0c;\u6362\u4e0b\u4e00\u4e2a\u53d8\u91cf<\/p>\n<p>\u4e00\u6b21\u53ea\u6539\u4e00\u4e2a\u53d8\u91cf\u2014\u2014\u8fd9\u662f\u8bc4\u6d4b\u80fd\u7ed9\u51fa\u56e0\u679c\u7ed3\u8bba\u7684\u524d\u63d0\u3002\u540c\u65f6\u6539\u4e09\u4e2a\u53c2\u6570\u7b49\u4e8e\u6ca1\u8bc4\u6d4b\u3002<\/p>\n<h3>\u8e29\u5751\u8bb0\u5f55<\/h3>\n<p>\u5751 1&#xff1a;\u9ec4\u91d1\u96c6\u5168\u662f\u5e94\u7b54\u9898\u3002 \u5e7b\u89c9\u7387\u6c38\u8fdc\u662f 0&#xff08;\u5206\u6bcd\u91cc\u6ca1\u6709\u62d2\u7b54\u9898&#xff09;&#xff0c;\u62a4\u680f\u8c03\u4e86\u4e2a\u5bc2\u5bde\u3002\u62d2\u7b54\u9898\u81f3\u5c11\u5360 1\/3\u3002<\/p>\n<p>\u5751 2&#xff1a;\u671f\u671b\u7b54\u6848\u5199\u5f97\u592a&#034;\u6807\u51c6&#034;\u3002 is_roughly_correct \u505a\u7684\u662f\u7c97\u5339\u914d&#xff0c;\u671f\u671b\u7b54\u6848\u5199\u6210\u8bba\u6587\u5f0f\u957f\u53e5\u4f1a\u5bfc\u81f4&#034;\u7b54\u5bf9\u4e86\u4f46\u5224\u9519&#034;\u3002\u671f\u671b\u7b54\u6848\u5199\u5173\u952e\u4e8b\u5b9e\u77ed\u8bed&#xff08;\u201c2 \u5e74\u201d\u201c3.2 \u4ebf\u5143\u201d&#xff09;&#xff0c;\u5224\u5bf9\u7387\u7acb\u523b\u5408\u7406\u3002<\/p>\n<p>\u5751 3&#xff1a;\u8bc4\u6d4b\u7528\u6d41\u5f0f\u6a21\u5f0f\u3002 \u6d41\u5f0f\u8f93\u51fa\u62fc\u5b57\u7b26\u4e32\u6709\u5f00\u9500\u4e14\u4e0d\u7a33\u5b9a&#xff0c;\u8bc4\u6d4b\u7edf\u4e00\u8d70\u975e\u6d41\u5f0f\u63a5\u53e3&#xff0c;\u7ed3\u679c\u53ef\u590d\u73b0\u3002<\/p>\n<hr \/>\n<h3>\u5199\u5728\u6700\u540e<\/h3>\n<table>\n<tr>\u9636\u6bb5\u6ca1\u6709\u8bc4\u6d4b\u6709\u8bc4\u6d4b<\/tr>\n<tbody>\n<tr>\n<td>\u8c03\u53c2<\/td>\n<td>\u51ed\u611f\u89c9<\/td>\n<td>\u770b\u6307\u6807<\/td>\n<\/tr>\n<tr>\n<td>\u4e0a\u7ebf<\/td>\n<td>\u8d4c\u8fd0\u6c14<\/td>\n<td>\u57fa\u7ebf\u5bf9\u6bd4<\/td>\n<\/tr>\n<tr>\n<td>\u6362\u6a21\u578b<\/td>\n<td>\u5fc3\u91cc\u6ca1\u5e95<\/td>\n<td>\u4e00\u952e\u56de\u5f52<\/td>\n<\/tr>\n<tr>\n<td>\u5411\u8001\u677f\u6c47\u62a5<\/td>\n<td>\u201c\u5e94\u8be5\u66f4\u597d\u4e86\u201d<\/td>\n<td>\u201c\u5e7b\u89c9\u7387\u4ece 12% \u964d\u5230 3%\u201d<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u8bc4\u6d4b\u4f53\u7cfb\u662f RAG \u9879\u76ee\u91cc\u6295\u5165\u4ea7\u51fa\u6bd4\u6700\u9ad8\u7684\u57fa\u7840\u8bbe\u65bd\u2014\u2014\u5b83\u4e0d\u63d0\u5347\u4efb\u4f55\u4e00\u6b21\u56de\u7b54\u7684\u8d28\u91cf&#xff0c;\u4f46\u5b83\u8ba9\u6bcf\u4e00\u6b21\u4f18\u5316\u90fd\u53ef\u4fe1\u3002<\/p>\n<p>\u4e0b\u4e00\u7bc7\u8fdb\u5165\u5de5\u7a0b\u5b9e\u6218\u7bc7&#xff1a;\u540c\u4e00\u4e2a\u7cfb\u7edf&#xff0c;\u672c\u5730\u7528 JSON \u6587\u4ef6\u3001\u751f\u4ea7\u7528 PostgreSQL&#043;Neo4j&#xff0c;\u4ee3\u7801\u4e00\u884c\u4e0d\u6539\u2014\u2014Trait \u53ef\u63d2\u62d4\u5b58\u50a8\u662f\u600e\u4e48\u505a\u5230\u7684\u3002<\/p>\n<p>\u4f60\u7684\u56e2\u961f\u600e\u4e48\u8bc4\u6d4b RAG \u6548\u679c&#xff1f;\u6709\u9ec4\u91d1\u96c6\u5417&#xff1f;\u8bc4\u8bba\u533a\u804a\u804a\u3002<\/p>\n<hr \/>\n<p>\u672c\u6587\u4e3a\u300a\u624b\u64b8\u4e00\u4e2a\u751f\u4ea7\u7ea7 RAG&#xff1a;EasyRAG \u5b9e\u6218\u7cfb\u5217\u300b\u7b2c 7 \u7bc7\u3002\u4e0a\u4e00\u7bc7&#xff1a;7 \u79cd\u68c0\u7d22\u6a21\u5f0f &#xff5c; \u4e0b\u4e00\u7bc7&#xff1a;Trait \u53ef\u63d2\u62d4\u5b58\u50a8<\/p>\n<hr \/>\n<p>\u5f00\u6e90\u4ed3\u5e93&#xff1a;haibingzhao\/easyrag \u2014\u2014 \u6b22\u8fce Star\u3001Fork\u3001\u63d0 Issue \u548c PR\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5feb\u901f\u9605\u8bfb&#xff08;30 \u79d2\u901f\u89c8&#xff09; \u8c03\u4e86\u53c2\u6570\u4e0d\u77e5\u9053\u6548\u679c\u53d8\u597d\u8fd8\u662f\u53d8\u574f&#xff1f;\u4f60\u9700\u8981\u4e00\u5957\u53ef\u91cd\u590d\u7684\u91cf\u5316\u8bc4\u6d4bEasyRAG \u7684 GoldenSetEvaluator&#xff1a;\u51c6\u5907\u4e00\u4efd\\&#8221;\u9ec4\u91d1\u95ee\u7b54\u96c6\\&#8221;&#xff0c;\u7cfb\u7edf\u9010\u6761\u8dd1&#xff0c;\u8f93\u51fa\u6df7\u6dc6\u77e9\u9635  \u4e09\u5927\u6307\u6807\u4e09\u5927\u6307\u6807&#xff1a;\u5e7b\u89c9\u7387&#xff08;\u8be5\u62d2\u7b54\u65f6\u786c\u7b54\u7684\u6bd4\u4f8b&#xff09;\u3001\u8986\u76d6\u7387&#xff08;\u56de\u7b54\u4e86\u591a\u5c11&#xff09;\u3001\u5fe0\u5b9e\u5ea6&#xff08;\u56de\u7b54\u7684\u6b63\u786e\u7387&#xff09;\u9ec4\u91d1\u96c6\u91cc\u8981\u6545<\/p>\n","protected":false},"author":2,"featured_media":103601,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[323],"topic":[],"class_list":["post-103603","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server","tag-323"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u5982\u4f55\u79d1\u5b66\u5730\u8bc4\u6d4b\u4f60\u7684 RAG \u7cfb\u7edf\uff1fGolden Set \u8bc4\u6d4b\u5b9e\u8df5 - \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\/103603.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u5982\u4f55\u79d1\u5b66\u5730\u8bc4\u6d4b\u4f60\u7684 RAG \u7cfb\u7edf\uff1fGolden Set \u8bc4\u6d4b\u5b9e\u8df5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u5feb\u901f\u9605\u8bfb&#xff08;30 \u79d2\u901f\u89c8&#xff09; \u8c03\u4e86\u53c2\u6570\u4e0d\u77e5\u9053\u6548\u679c\u53d8\u597d\u8fd8\u662f\u53d8\u574f&#xff1f;\u4f60\u9700\u8981\u4e00\u5957\u53ef\u91cd\u590d\u7684\u91cf\u5316\u8bc4\u6d4bEasyRAG \u7684 GoldenSetEvaluator&#xff1a;\u51c6\u5907\u4e00\u4efd&quot;\u9ec4\u91d1\u95ee\u7b54\u96c6&quot;&#xff0c;\u7cfb\u7edf\u9010\u6761\u8dd1&#xff0c;\u8f93\u51fa\u6df7\u6dc6\u77e9\u9635 \u4e09\u5927\u6307\u6807\u4e09\u5927\u6307\u6807&#xff1a;\u5e7b\u89c9\u7387&#xff08;\u8be5\u62d2\u7b54\u65f6\u786c\u7b54\u7684\u6bd4\u4f8b&#xff09;\u3001\u8986\u76d6\u7387&#xff08;\u56de\u7b54\u4e86\u591a\u5c11&#xff09;\u3001\u5fe0\u5b9e\u5ea6&#xff08;\u56de\u7b54\u7684\u6b63\u786e\u7387&#xff09;\u9ec4\u91d1\u96c6\u91cc\u8981\u6545\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/103603.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-10T19:09:26+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260910190923-6aa3006378fbe.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=\"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\/103603.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/103603.html\",\"name\":\"\u5982\u4f55\u79d1\u5b66\u5730\u8bc4\u6d4b\u4f60\u7684 RAG \u7cfb\u7edf\uff1fGolden Set \u8bc4\u6d4b\u5b9e\u8df5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-09-10T19:09:26+00:00\",\"dateModified\":\"2026-09-10T19:09:26+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/103603.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/103603.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/103603.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u5982\u4f55\u79d1\u5b66\u5730\u8bc4\u6d4b\u4f60\u7684 RAG \u7cfb\u7edf\uff1fGolden Set \u8bc4\u6d4b\u5b9e\u8df5\"}]},{\"@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":"\u5982\u4f55\u79d1\u5b66\u5730\u8bc4\u6d4b\u4f60\u7684 RAG \u7cfb\u7edf\uff1fGolden Set \u8bc4\u6d4b\u5b9e\u8df5 - \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\/103603.html","og_locale":"zh_CN","og_type":"article","og_title":"\u5982\u4f55\u79d1\u5b66\u5730\u8bc4\u6d4b\u4f60\u7684 RAG \u7cfb\u7edf\uff1fGolden Set \u8bc4\u6d4b\u5b9e\u8df5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u5feb\u901f\u9605\u8bfb&#xff08;30 \u79d2\u901f\u89c8&#xff09; \u8c03\u4e86\u53c2\u6570\u4e0d\u77e5\u9053\u6548\u679c\u53d8\u597d\u8fd8\u662f\u53d8\u574f&#xff1f;\u4f60\u9700\u8981\u4e00\u5957\u53ef\u91cd\u590d\u7684\u91cf\u5316\u8bc4\u6d4bEasyRAG \u7684 GoldenSetEvaluator&#xff1a;\u51c6\u5907\u4e00\u4efd\"\u9ec4\u91d1\u95ee\u7b54\u96c6\"&#xff0c;\u7cfb\u7edf\u9010\u6761\u8dd1&#xff0c;\u8f93\u51fa\u6df7\u6dc6\u77e9\u9635 \u4e09\u5927\u6307\u6807\u4e09\u5927\u6307\u6807&#xff1a;\u5e7b\u89c9\u7387&#xff08;\u8be5\u62d2\u7b54\u65f6\u786c\u7b54\u7684\u6bd4\u4f8b&#xff09;\u3001\u8986\u76d6\u7387&#xff08;\u56de\u7b54\u4e86\u591a\u5c11&#xff09;\u3001\u5fe0\u5b9e\u5ea6&#xff08;\u56de\u7b54\u7684\u6b63\u786e\u7387&#xff09;\u9ec4\u91d1\u96c6\u91cc\u8981\u6545","og_url":"https:\/\/www.wsisp.com\/helps\/103603.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-09-10T19:09:26+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2026\/09\/20260910190923-6aa3006378fbe.png"}],"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\/103603.html","url":"https:\/\/www.wsisp.com\/helps\/103603.html","name":"\u5982\u4f55\u79d1\u5b66\u5730\u8bc4\u6d4b\u4f60\u7684 RAG \u7cfb\u7edf\uff1fGolden Set \u8bc4\u6d4b\u5b9e\u8df5 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-09-10T19:09:26+00:00","dateModified":"2026-09-10T19:09:26+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/103603.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/103603.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/103603.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u5982\u4f55\u79d1\u5b66\u5730\u8bc4\u6d4b\u4f60\u7684 RAG \u7cfb\u7edf\uff1fGolden Set \u8bc4\u6d4b\u5b9e\u8df5"}]},{"@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\/103603","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=103603"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/103603\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/103601"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=103603"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=103603"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=103603"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=103603"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}