{"id":2164,"date":"2026-11-20T00:05:12","date_gmt":"2026-11-19T16:05:12","guid":{"rendered":"https:\/\/www.zhukaifu.cn\/?p=2164"},"modified":"2026-11-20T00:05:12","modified_gmt":"2026-11-19T16:05:12","slug":"hkuds-rag-anything-%c2%b7-%e4%b8%ad%e6%96%87%e4%bb%8b%e7%bb%8d","status":"publish","type":"post","link":"https:\/\/www.zhukaifu.cn\/?p=2164","title":{"rendered":"HKUDS\/RAG-Anything \u00b7 \u4e2d\u6587\u4ecb\u7ecd"},"content":{"rendered":"<!-- gh-sync:repo:hkuds\/rag-anything -->\n\n<div id=\"gh-catalog\"><style>\/* \u4ec5\u4f5c\u7528\u4e8e\u540c\u6b65\u6587\u7ae0\uff1b\u4e0e Kai's Log \u6d45\u8272\u6587\u7ae0\u533a\u57df\u8854\u63a5\u3002 *\/\n#gh-catalog{color-scheme:light;--bg:#fff;--panel:#faf7fa;--line:#e7dee6;--text:#29252b;--muted:#69616b;--accent:#97447f;background:transparent;color:var(--text);font:inherit;line-height:1.8;min-height:0;width:100%;overflow-wrap:anywhere}\n#gh-catalog *,#gh-catalog *::before,#gh-catalog *::after{box-sizing:border-box}\n#gh-catalog main{width:100%;max-width:none;margin:0;padding:4px 0 20px}\n#gh-catalog h1,#gh-catalog h2,#gh-catalog h3{color:#29252b;font-family:inherit;font-weight:700;letter-spacing:normal;overflow-wrap:anywhere}\n#gh-catalog h1{font-size:clamp(24px,3.5vw,34px);line-height:1.4;margin:20px 0 12px}\n#gh-catalog h2{font-size:20px;line-height:1.55;margin:0 0 12px}\n#gh-catalog p{color:inherit;margin:12px 0}\n#gh-catalog a{color:var(--accent);text-decoration:none;box-shadow:none}\n#gh-catalog a:hover{text-decoration:underline;color:#753361}\n#gh-catalog .eyebrow{font-size:12px;letter-spacing:.14em;color:var(--accent);font-weight:700}\n#gh-catalog .meta,#gh-catalog .sort-note{color:var(--muted);font-size:13px}\n#gh-catalog article{background:#fff;border:1px solid var(--line);border-radius:12px;padding:24px;margin:18px 0;box-shadow:none;color:var(--text)}\n#gh-catalog article:hover{border-color:#cba8c3}\n#gh-catalog nav{display:flex;gap:12px;flex-wrap:wrap;align-items:center;margin:16px 0 0}\n#gh-catalog nav a{font-size:14px}\n#gh-catalog .rank{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:30px;border-radius:7px;background:#f3edf2;color:#715568;font-size:13px;margin-right:10px;font-variant-numeric:tabular-nums}\n#gh-catalog .top-rank{background:#f8efd9;color:#765516}\n#gh-catalog .search-panel{position:static;z-index:auto;padding:20px;background:#faf7fa;border:1px solid var(--line);border-radius:12px;margin:24px 0;box-shadow:none;backdrop-filter:none}\n#gh-catalog .search-panel label{color:var(--text);font-weight:600}\n#gh-catalog .search-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:10px}\n#gh-catalog .search-row input{flex:1 1 240px;width:auto}\n#gh-catalog input,#gh-catalog select,#gh-catalog button{border:1px solid #cdbfca;border-radius:8px;background:#fff;color:#29252b;font:inherit;line-height:1.5;max-width:100%;min-height:44px;box-shadow:none}\n#gh-catalog input{width:100%;min-width:0;padding:12px 14px}\n#gh-catalog input::placeholder{color:#756b76;opacity:1}\n#gh-catalog select{padding:11px 30px 11px 12px;width:auto}\n#gh-catalog button{padding:11px 16px;cursor:pointer;white-space:nowrap;background:#f2e6ef;color:#71345e}\n#gh-catalog button:hover{background:#ead5e5;border-color:#b98aab}\n#gh-catalog .sort-label{font-size:13px}\n#gh-catalog article nav a{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:9px 15px;border-radius:8px;font-size:13px;font-weight:600;border:1px solid #ddccda;background:#faf5f9;color:#80366a;text-decoration:none;box-shadow:none}\n#gh-catalog article nav a:first-child{background:#97447f;border-color:#97447f;color:#fff}\n#gh-catalog article nav a:hover{background:#f0e0eb;border-color:#b784a8;color:#71345e;text-decoration:none}\n#gh-catalog article nav a:first-child:hover{background:#7a3566;border-color:#7a3566;color:#fff}\n#gh-catalog .collected{display:inline-flex;gap:6px;flex-wrap:wrap;margin:10px 0 0;padding:4px 10px;background:#f8f4f7;border:1px solid var(--line);border-radius:6px;font-size:12px;color:#69616b}\n#gh-catalog ul,#gh-catalog ol{padding-left:1.5em;margin:14px 0;color:var(--text)}\n#gh-catalog li{margin:10px 0;color:inherit}\n#gh-catalog .empty{border:1px dashed #cdbfca;border-radius:12px;text-align:center;padding:32px 18px;color:var(--muted);background:#faf7fa}\n#gh-catalog footer{margin-top:28px;border-top:1px solid var(--line);padding-top:16px;color:var(--muted);font-size:12px}\n#gh-catalog [hidden]{display:none!important}\n#gh-catalog a:focus-visible,#gh-catalog button:focus-visible,#gh-catalog input:focus-visible,#gh-catalog select:focus-visible{outline:3px solid #97447f;outline-offset:3px}\n@media(max-width:600px){#gh-catalog main{padding:0 0 12px}#gh-catalog article{padding:18px 14px}#gh-catalog h2{font-size:18px}#gh-catalog .search-panel{padding:16px 14px}#gh-catalog .search-row input{flex-basis:100%}#gh-catalog article nav a{flex:1;padding:9px 10px}#gh-catalog .rank{min-width:32px;margin-right:8px}}\n<\/style><main><nav><a href=\"https:\/\/www.zhukaifu.cn\/?p=575\">\u2190 \u70ed\u95e8\u4ed3\u5e93\u5217\u8868<\/a><a target=\"_blank\" rel=\"noopener noreferrer\" href=\"https:\/\/github.com\/HKUDS\/RAG-Anything\">\u6253\u5f00 GitHub \u4ed3\u5e93<\/a><\/nav><h1>HKUDS\/RAG-Anything<\/h1><p class=\"meta\">\u2605 24,616 \u00b7 Forks 2,882<\/p><article class=\"rapid-understanding\"><section><h2>\u4e00\u53e5\u8bdd\u7406\u89e3<\/h2><p>RAG-Anything \u5efa\u5728 LightRAG \u4e4b\u4e0a\u3002\u5b83\u628a\u56fe\u3001\u8868\u548c\u516c\u5f0f\u4e5f\u7eb3\u5165\u53ef\u68c0\u7d22\u7684\u8303\u56f4\uff0c\u5e76\u8bb0\u5f55\u5b83\u4eec\u4e0e\u6b63\u6587\u7684\u5173\u7cfb\u3002\u63d0\u95ee\u65f6\uff0c\u7cfb\u7edf\u65e2\u53ef\u4ee5\u6309\u542b\u4e49\u627e\u76f8\u5173\u5185\u5bb9\uff0c\u4e5f\u53ef\u4ee5\u6cbf\u5df2\u8bb0\u5f55\u7684\u5173\u7cfb\u627e\u5230\u4e0e\u4e4b\u76f8\u8fde\u7684\u6750\u6599\uff0c\u518d\u636e\u6b64\u7ec4\u7ec7\u56de\u7b54\u3002<\/p><\/section><section><h2>\u5b83\u89e3\u51b3\u4ec0\u4e48\u95ee\u9898<\/h2><p>\u4e00\u4efd\u6d4b\u8bd5\u62a5\u544a\u53ef\u80fd\u5728\u6b63\u6587\u91cc\u4ea4\u4ee3\u6d4b\u8bd5\u6761\u4ef6\uff0c\u5728\u8868\u683c\u91cc\u5217\u51fa\u8bfb\u6570\uff0c\u5728\u56fe\u4e2d\u6807\u51fa\u5f02\u5e38\u51fa\u73b0\u7684\u4f4d\u7f6e\u3002\u53ea\u68c0\u7d22\u6b63\u6587\uff0c\u540e\u4e24\u7c7b\u4fe1\u606f\u5c31\u53ef\u80fd\u6f0f\u6389\u3002RAG-Anything \u9762\u5411\u8fd9\u7c7b\u6df7\u5408\u6587\u6863\uff0c\u8f93\u5165\u662f\u5f85\u5904\u7406\u7684\u6587\u6863\u548c\u8bfb\u8005\u7684\u95ee\u9898\uff0c\u8f93\u51fa\u662f\u68c0\u7d22\u76f8\u5173\u6750\u6599\u540e\u751f\u6210\u7684\u56de\u7b54\u3002\u8bd5\u7528\u65f6\u53ef\u4ee5\u628a\u6210\u529f\u6807\u51c6\u5b9a\u5f97\u5177\u4f53\u4e9b\uff1a\u56de\u7b54\u91cc\u7684\u6570\u503c\u3001\u5355\u4f4d\u548c\u6761\u4ef6\u90fd\u80fd\u56de\u5230\u539f\u6587\u6838\u5bf9\uff0c\u4e14\u6765\u81ea\u540c\u4e00\u9879\u6d4b\u8bd5\u3002<\/p><\/section><section><h2>\u4ece\u8f93\u5165\u5230\u8f93\u51fa<\/h2><p>\u53ef\u4ee5\u6cbf\u4e94\u6b65\u770b\u5b8c\u6574\u6d41\u7a0b\u3002\u7b2c\u4e00\u6b65\uff0c\u89e3\u6790\u5668\u628a\u6587\u4ef6\u62c6\u6210\u6bb5\u843d\u3001\u56fe\u7247\u3001\u8868\u683c\u548c\u516c\u5f0f\u7b49\u5185\u5bb9\u5757\uff0c\u5e76\u4fdd\u7559\u4e0a\u4e0b\u6587\u5173\u7cfb\u3002\u5df2\u6709\u7b26\u5408\u683c\u5f0f\u7684\u5185\u5bb9\u6e05\u5355\u65f6\uff0c\u53ef\u4ee5\u76f4\u63a5\u5bfc\u5165\uff0c\u8df3\u8fc7\u6587\u4ef6\u89e3\u6790\u3002\u7b2c\u4e8c\u6b65\uff0c\u6846\u67b6\u6309\u5185\u5bb9\u7c7b\u578b\u5206\u6d41\uff0c\u4f8b\u5982\u7528\u89c6\u89c9\u6a21\u578b\u4e3a\u56fe\u7247\u751f\u6210\u63cf\u8ff0\uff0c\u7528\u8868\u683c\u5904\u7406\u5668\u89e3\u8bfb\u884c\u5217\u6570\u636e\u3002\u7b2c\u4e09\u6b65\uff0c\u628a\u91cd\u8981\u5bf9\u8c61\u53ca\u5176\u8054\u7cfb\u5199\u5165\u7d22\u5f15\uff0c\u4f8b\u5982\u8bb0\u5f55\u67d0\u5f20\u56fe\u4e0e\u54ea\u6bb5\u6b63\u6587\u76f8\u5173\uff0c\u4f9b\u67e5\u8be2\u65f6\u6cbf\u5173\u7cfb\u67e5\u627e\u3002\u7b2c\u56db\u6b65\uff0c\u7ed3\u5408\u8bed\u4e49\u76f8\u4f3c\u5ea6\u641c\u7d22\u548c\u56fe\u4e2d\u7684\u5173\u7cfb\uff0c\u627e\u51fa\u4e0e\u95ee\u9898\u76f8\u5173\u7684\u6750\u6599\uff0c\u5e76\u6309\u5185\u5bb9\u7c7b\u578b\u4e0e\u95ee\u9898\u7684\u76f8\u5173\u7a0b\u5ea6\u6392\u5e8f\u3002\u7b2c\u4e94\u6b65\uff0c\u7528\u68c0\u7d22\u7ed3\u679c\u751f\u6210\u56de\u7b54\u3002\u542f\u7528\u89c6\u89c9\u589e\u5f3a\u67e5\u8be2\u4e14\u68c0\u7d22\u7ed3\u679c\u5e26\u6709\u53ef\u8bfb\u53d6\u7684\u56fe\u7247\u65f6\uff0c\u89c6\u89c9\u6a21\u578b\u4f1a\u540c\u65f6\u6536\u5230\u56fe\u7247\u548c\u6587\u5b57\u3002\u539f\u6587\u4ef6\u5bfc\u5165\u4f9d\u8d56\u53ef\u7528\u7684\u89e3\u6790\u5668\u3002\u89e3\u6790\u65f6\u6f0f\u6389\u7684\u8868\u683c\u65e0\u6cd5\u9760\u540e\u7eed\u68c0\u7d22\u8865\u56de\uff0c\u89c6\u89c9\u6a21\u578b\u4e0d\u53ef\u7528\u65f6\u4e5f\u65e0\u6cd5\u5728\u56de\u7b54\u9636\u6bb5\u76f4\u63a5\u8bfb\u56fe\u3002<\/p><\/section><section><h2>\u7528\u4e00\u4e2a\u5c0f\u4efb\u52a1\u7406\u89e3<\/h2><p><strong>\u7406\u89e3\u793a\u4f8b\uff08\u672a\u5b9e\u6d4b\uff09\uff1a<\/strong>\u8bbe\u60f3\u5bfc\u5165\u4e00\u4efd\u4e24\u9875\u7684\u8bbe\u5907\u6d4b\u8bd5 PDF\u3002\u6b63\u6587\u5199\u660e A \u7ec4\u5728\u5ba4\u6e29\u4e0b\u8fd0\u884c\uff0c\u8868 1 \u8bb0\u5f55 A \u7ec4\u7684\u6700\u9ad8\u6e29\u5ea6\u4e3a 68\u2103\uff0c\u56fe 2 \u7528\u7bad\u5934\u6807\u51fa\u7b2c 12 \u5206\u949f\u5f00\u59cb\u62a5\u8b66\uff0c\u6b63\u6587\u548c\u56fe\u6ce8\u90fd\u6ca1\u6709\u590d\u8ff0\u8fd9\u4e2a\u65f6\u523b\u3002\u5904\u7406\u65f6\uff0c\u5148\u62c6\u51fa\u6bb5\u843d\u3001\u8868\u683c\u548c\u56fe\uff0c\u518d\u5206\u6790\u8fd9\u4e9b\u5185\u5bb9\u5e76\u5efa\u7acb\u7d22\u5f15\u3002\u968f\u540e\u7528\u89c6\u89c9\u589e\u5f3a\u67e5\u8be2\u95ee\u201cA \u7ec4\u5728\u4ec0\u4e48\u6761\u4ef6\u4e0b\u8fd0\u884c\uff0c\u6700\u9ad8\u6e29\u5ea6\u662f\u591a\u5c11\uff0c\u4f55\u65f6\u5f00\u59cb\u62a5\u8b66\uff1f\u201d\u82e5\u4e09\u4e2a\u4fe1\u606f\u90fd\u88ab\u6b63\u786e\u53d6\u7528\uff0c\u9884\u671f\u56de\u7b54\u662f\u201c\u5ba4\u6e29\u4e0b\u8fd0\u884c\uff0c\u6700\u9ad8 68\u2103\uff0c\u7b2c 12 \u5206\u949f\u5f00\u59cb\u62a5\u8b66\u201d\u3002\u8bfb\u8005\u53ef\u4ee5\u9010\u9879\u5bf9\u7167\u6b63\u6587\u3001\u8868 1 \u548c\u56fe 2\u3002<\/p><\/section><section><h2>\u6539\u53d8\u4e00\u4e2a\u6761\u4ef6\u4f1a\u600e\u6837<\/h2><p><strong>\u9884\u6d4b\u4e0e\u9a8c\u8bc1\uff08\u5f85\u68c0\u9a8c\uff09\uff1a<\/strong>\u6cbf\u7528\u8fd9\u4efd PDF\uff0c\u53ea\u5173\u95ed\u67e5\u8be2\u9636\u6bb5\u7684\u89c6\u89c9\u589e\u5f3a\uff0c\u4fdd\u7559\u540c\u4e00\u4efd\u7d22\u5f15\u3001\u540c\u4e00\u4e2a\u95ee\u9898\u548c\u540c\u4e00\u79cd\u68c0\u7d22\u6a21\u5f0f\u3002\u9884\u8ba1\u6b63\u6587\u91cc\u7684\u8fd0\u884c\u6761\u4ef6\u548c\u8868\u683c\u91cc\u7684\u6e29\u5ea6\u4ecd\u6709\u673a\u4f1a\u7b54\u5bf9\uff0c\u4f46\u4ec5\u51fa\u73b0\u5728\u56fe\u91cc\u7684\u62a5\u8b66\u65f6\u523b\u66f4\u5bb9\u6613\u6f0f\u7b54\u6216\u7b54\u9519\u3002\u7528\u5f00\u3001\u5173\u4e24\u79cd\u8bbe\u7f6e\u5404\u95ee\u51e0\u6b21\uff0c\u5bf9\u7167\u539f\u6587\u8bb0\u5f55\u4e09\u9879\u7b54\u6848\u5206\u522b\u7b54\u5bf9\u591a\u5c11\u6b21\u3002\u82e5\u5173\u95ed\u540e\u4ecd\u80fd\u7a33\u5b9a\u7b54\u51fa\u7b2c 12 \u5206\u949f\uff0c\u518d\u68c0\u67e5\u5165\u5e93\u65f6\u751f\u6210\u7684\u56fe\u7247\u63cf\u8ff0\u662f\u5426\u5df2\u7ecf\u8bb0\u5f55\u4e86\u8fd9\u4e2a\u65f6\u523b\u3002<\/p><\/section><section><h2>\u9002\u5408\u8c01\uff0c\u54ea\u91cc\u4f1a\u5931\u6548<\/h2><p><strong>\u6839\u636e\u8d44\u6599\u63a8\u65ad\uff1a<\/strong>\u9002\u5408\u5e0c\u671b\u7ed9\u8bba\u6587\u3001\u6280\u672f\u624b\u518c\u6216\u8d22\u52a1\u62a5\u544a\u5efa\u7acb\u95ee\u7b54\u5165\u53e3\u7684\u8bfb\u8005\uff0c\u5c24\u5176\u662f\u7b54\u6848\u7ecf\u5e38\u6563\u5728\u6b63\u6587\u548c\u56fe\u8868\u91cc\u7684\u573a\u666f\u3002\u5904\u7406\u524d\u8981\u6309\u6587\u4ef6\u7c7b\u578b\u6838\u5bf9\u89e3\u6790\u5668\u548c\u4f9d\u8d56\u3002\u4f8b\u5982\uff0c\u5185\u7f6e\u89e3\u6790\u5668\u4e2d\u53ea\u6709 Docling \u63a5\u53d7 HTML\uff0c\u9ed8\u8ba4\u7684 MinerU \u8def\u7ebf\u5728 Python 3.14 \u4e0b\u4e0d\u53ef\u7528\u3002\u8d44\u6599\u4e5f\u6ca1\u6709\u7ed9\u51fa\u53ef\u7528\u6765\u4f30\u8ba1\u76ee\u6807\u6587\u6863\u7b54\u5bf9\u7387\u7684\u72ec\u7acb\u8bc4\u6d4b\uff0c\u56e0\u6b64\u6b63\u5f0f\u4f7f\u7528\u524d\u5e94\u62ff\u81ea\u5df1\u7684\u6587\u6863\u6838\u5bf9\u5173\u952e\u6570\u5b57\u3001\u5355\u4f4d\u548c\u56fe\u8868\u5f52\u5c5e\u3002<\/p><\/section><section><h2>\u7b2c\u4e00\u6b21\u5c1d\u8bd5\u65f6\u770b\u4ec0\u4e48<\/h2><p><strong>\u6839\u636e\u8d44\u6599\u63a8\u65ad\uff1a<\/strong>\u5148\u9009\u4e00\u4efd\u53ef\u4ee5\u516c\u5f00\u4f7f\u7528\u3001\u7b54\u6848\u80fd\u624b\u5de5\u6838\u5bf9\u7684\u77ed PDF\uff0c\u53c2\u8003\u9879\u76ee\u7684\u7aef\u5230\u7aef\u793a\u4f8b\u5b8c\u6210\u4e00\u6b21\u5bfc\u5165\u548c\u63d0\u95ee\u3002\u82e5\u7ed3\u679c\u6709\u8bef\uff0c\u5148\u770b\u89e3\u6790\u4ea7\u7269\u91cc\u6709\u6ca1\u6709\u90a3\u5f20\u8868\u6216\u56fe\uff0c\u518d\u67e5\u76f8\u5173\u5185\u5bb9\u662f\u5426\u8fdb\u5165\u7d22\u5f15\uff0c\u4ee5\u53ca\u56de\u7b54\u65f6\u662f\u5426\u53d6\u5230\u4e86\u5b83\u3002\u5df2\u6709\u5916\u90e8\u89e3\u6790\u7ed3\u679c\u7684\u8bfb\u8005\u4e5f\u53ef\u4ee5\u7528\u540c\u4e00\u4efd\u6750\u6599\u8bd5\u76f4\u63a5\u5bfc\u5165\u5185\u5bb9\u6e05\u5355\uff0c\u628a\u6587\u4ef6\u89e3\u6790\u4e0e\u540e\u7eed\u95ee\u7b54\u5206\u5f00\u6392\u67e5\u3002<\/p><\/section><\/article><\/main><\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u2190 \u70ed\u95e8\u4ed3\u5e93\u5217\u8868\u6253\u5f00 GitHub \u4ed3\u5e93 HKUDS\/RAG-Anything &#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2164","post","type-post","status-publish","format-standard","hentry","category-thinking"],"_links":{"self":[{"href":"https:\/\/www.zhukaifu.cn\/index.php?rest_route=\/wp\/v2\/posts\/2164","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.zhukaifu.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.zhukaifu.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.zhukaifu.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.zhukaifu.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2164"}],"version-history":[{"count":2,"href":"https:\/\/www.zhukaifu.cn\/index.php?rest_route=\/wp\/v2\/posts\/2164\/revisions"}],"predecessor-version":[{"id":2348,"href":"https:\/\/www.zhukaifu.cn\/index.php?rest_route=\/wp\/v2\/posts\/2164\/revisions\/2348"}],"wp:attachment":[{"href":"https:\/\/www.zhukaifu.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2164"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.zhukaifu.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2164"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.zhukaifu.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2164"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}