{"id":30594,"date":"2025-04-22T09:47:44","date_gmt":"2025-04-22T01:47:44","guid":{"rendered":"https:\/\/www.aisharenet.com\/?p=30594"},"modified":"2025-07-14T11:57:17","modified_gmt":"2025-07-14T03:57:17","slug":"noderag","status":"publish","type":"post","link":"https:\/\/www.kdjingpai.com\/ja\/noderag\/","title":{"rendered":"NodeRAG\uff1a\u57fa\u4e8e\u5f02\u6784\u56fe\u7684\u7cbe\u51c6\u4fe1\u606f\u68c0\u7d22\u4e0e\u751f\u6210\u5de5\u5177"},"content":{"rendered":"<p>NodeRAG \u662f\u4e00\u4e2a\u5f00\u6e90\u7684\u68c0\u7d22\u589e\u5f3a\u751f\u6210\uff08RAG\uff09\u7cfb\u7edf\uff0c\u6258\u7ba1\u5728 GitHub\uff0c\u7531 Terry-Xu-666 \u5f00\u53d1\u3002\u5b83\u901a\u8fc7\u5f02\u6784\u56fe\u7ed3\u6784\u4f18\u5316\u4fe1\u606f\u68c0\u7d22\u4e0e\u751f\u6210\uff0c\u663e\u8457\u63d0\u5347\u68c0\u7d22\u7cbe\u51c6\u5ea6\u548c\u4e0a\u4e0b\u6587\u76f8\u5173\u6027\u3002NodeRAG \u652f\u6301\u672c\u5730\u90e8\u7f72\uff0c\u63d0\u4f9b\u7528\u6237\u53cb\u597d\u7684\u754c\u9762\u548c\u53ef\u89c6\u5316\u5de5\u5177\uff0c\u9002\u7528\u4e8e\u5b66\u672f\u7814\u7a76\u3001\u77e5\u8bc6\u7ba1\u7406\u548c\u6570\u636e\u5206\u6790\u3002\u9879\u76ee\u4e8e 2025 \u5e74 3 \u6708\u53d1\u5e03\u9996\u4e2a\u7a33\u5b9a\u7248\u672c\uff08v0.1.0\uff09\uff0c\u53ef\u901a\u8fc7 PyPI \u5b89\u88c5\u3002\u5b98\u65b9\u6587\u6863\u8be6\u5c3d\uff0c\u793e\u533a\u6d3b\u8dc3\uff0c\u6301\u7eed\u66f4\u65b0\u3002\u76f8\u6bd4\u4f20\u7edf <a href=\"https:\/\/www.kdjingpai.com\/ja\/rag\/\">RAG<\/a> \u7cfb\u7edf\uff0cNodeRAG \u5728\u591a\u8df3\u63a8\u7406\u3001\u68c0\u7d22\u901f\u5ea6\u548c\u5b58\u50a8\u6548\u7387\u4e0a\u8868\u73b0\u66f4\u4f18\uff0c\u7279\u522b\u9002\u5408\u5904\u7406\u590d\u6742\u6570\u636e\u96c6\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-30595\" title=\"NodeRAG\uff1a\u57fa\u4e8e\u5f02\u6784\u56fe\u7684\u7cbe\u51c6\u4fe1\u606f\u68c0\u7d22\u4e0e\u751f\u6210\u5de5\u5177-1\" src=\"https:\/\/www.kdjingpai.com\/wp-content\/uploads\/2025\/04\/414d06732e2b2a2.jpg\" alt=\"NodeRAG\uff1a\u57fa\u4e8e\u5f02\u6784\u56fe\u7684\u7cbe\u51c6\u4fe1\u606f\u68c0\u7d22\u4e0e\u751f\u6210\u5de5\u5177-1\" width=\"2560\" height=\"2013\" \/><\/p>\n<p>&nbsp;<\/p>\n<h2>\u529f\u80fd\u5217\u8868<\/h2>\n<ul>\n<li>\u5f02\u6784\u56fe\u7ed3\u6784\uff1a\u652f\u6301\u591a\u79cd\u8282\u70b9\u7c7b\u578b\uff08\u5982\u6587\u6863\u3001\u5b9e\u4f53\u3001\u5173\u952e\u8bcd\uff09\uff0c\u63d0\u5347\u68c0\u7d22\u7cbe\u51c6\u5ea6\u3002<\/li>\n<li>\u7cbe\u51c6\u68c0\u7d22\uff1a\u901a\u8fc7\u56fe\u5206\u89e3\u3001\u589e\u5f3a\u3001\u4e30\u5bcc\u548c\u641c\u7d22\uff0c\u652f\u6301\u591a\u8df3\u63a8\u7406\u548c\u4e0a\u4e0b\u6587\u76f8\u5173\u67e5\u8be2\u3002<\/li>\n<li>\u6570\u636e\u53ef\u89c6\u5316\uff1a\u63d0\u4f9b\u4ea4\u4e92\u5f0f\u56fe\u7ed3\u6784\u53ef\u89c6\u5316\uff0c\u4fbf\u4e8e\u7406\u89e3\u590d\u6742\u6570\u636e\u5173\u7cfb\u3002<\/li>\n<li>\u672c\u5730\u90e8\u7f72\u754c\u9762\uff1a\u652f\u6301\u672c\u5730\u8fd0\u884c\uff0c\u63d0\u4f9b\u76f4\u89c2\u7684\u7528\u6237\u4ea4\u4e92\u4f53\u9a8c\u3002<\/li>\n<li>\u8de8\u5e73\u53f0\u5b89\u88c5\uff1a\u652f\u6301 Conda\u3001Docker \u548c PyPI \u5b89\u88c5\uff0c\u517c\u5bb9\u591a\u79cd\u73af\u5883\u3002<\/li>\n<li>\u589e\u91cf\u66f4\u65b0\uff1a\u652f\u6301\u52a8\u6001\u66f4\u65b0\u56fe\u7ed3\u6784\uff0c\u65e0\u9700\u91cd\u5efa\u6574\u4e2a\u56fe\u6570\u636e\u5e93\u3002<\/li>\n<li>\u9ad8\u6027\u80fd\u4f18\u5316\uff1a\u5feb\u901f\u7d22\u5f15\u548c\u67e5\u8be2\uff0c\u9002\u5408\u5927\u89c4\u6a21\u6570\u636e\u96c6\u5904\u7406\u3002<\/li>\n<li>\u5f00\u653e\u6587\u6863\uff1a\u63d0\u4f9b\u8be6\u7ec6\u6559\u7a0b\u3001\u793a\u4f8b\u4ee3\u7801\u548c\u5b66\u672f\u8bba\u6587\uff0c\u65b9\u4fbf\u5b66\u4e60\u3002<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h2>\u4f7f\u7528\u5e2e\u52a9<\/h2>\n<h3>\u5b89\u88c5\u6d41\u7a0b<\/h3>\n<p>NodeRAG \u652f\u6301\u591a\u79cd\u5b89\u88c5\u65b9\u5f0f\uff0c\u4ee5\u4e0b\u8be6\u7ec6\u4ecb\u7ecd\u901a\u8fc7 Conda \u548c PyPI \u7684\u5b89\u88c5\u6b65\u9aa4\u3002\u786e\u4fdd\u7cfb\u7edf\u5df2\u5b89\u88c5 Python 3.10 \u6216\u4ee5\u4e0a\u7248\u672c\u3002<\/p>\n<h4>1. \u901a\u8fc7 Conda \u5b89\u88c5<\/h4>\n<ol>\n<li><strong>\u521b\u5efa\u865a\u62df\u73af\u5883<\/strong><br \/>\n\u6253\u5f00\u7ec8\u7aef\uff0c\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\u521b\u5efa\u5e76\u6fc0\u6d3b Conda \u73af\u5883\uff1a<\/p>\n<pre><code>conda create -n NodeRAG python=3.10\r\nconda activate NodeRAG<\/code><\/pre>\n<\/li>\n<\/ol>\n<ol start=\"2\">\n<li><strong>\u514b\u9686\u4ee3\u7801\u5e93\uff08\u53ef\u9009\uff09<\/strong><br \/>\n\u5982\u679c\u9700\u8981\u6e90\u4ee3\u7801\u6216\u5f00\u53d1\u7248\u672c\uff0c\u53ef\u4ece GitHub \u514b\u9686\uff1a<\/p>\n<pre><code>git clone https:\/\/github.com\/Terry-Xu-666\/NodeRAG.git\r\ncd NodeRAG\r\n<\/code><\/pre>\n<\/li>\n<li><strong>\u5b89\u88c5\u4f9d\u8d56<\/strong><br \/>\n\u5728\u9879\u76ee\u76ee\u5f55\u4e0b\uff0c\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5\u4f9d\u8d56\uff1a<\/p>\n<pre><code>pip install -r requirements.txt\r\n<\/code><\/pre>\n<p>\u4f9d\u8d56\u5305\u62ec\u00a0<code>networkx<\/code>\uff08\u56fe\u64cd\u4f5c\uff09\u3001<code>numpy<\/code>\uff08\u6570\u503c\u8ba1\u7b97\uff09\u3001<code>flask<\/code>\uff08Web \u754c\u9762\uff09\u7b49\u3002<\/li>\n<li><strong>\u5b89\u88c5 NodeRAG<\/strong><br \/>\n\u5982\u679c\u672a\u514b\u9686\u4ee3\u7801\u5e93\uff0c\u53ef\u76f4\u63a5\u901a\u8fc7 PyPI \u5b89\u88c5\uff1a<\/p>\n<pre><code>pip install NodeRAG\r\n<\/code><\/pre>\n<\/li>\n<li><strong>\u8fd0\u884c\u672c\u5730\u754c\u9762<\/strong><br \/>\n\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\u542f\u52a8\u672c\u5730 Web \u754c\u9762\uff1a<\/p>\n<pre><code>python -m NodeRAG.app\r\n<\/code><\/pre>\n<p>\u6253\u5f00\u6d4f\u89c8\u5668\uff0c\u8bbf\u95ee\u00a0<code>http:\/\/localhost:5000<\/code>\uff0c\u5373\u53ef\u8fdb\u5165 NodeRAG \u754c\u9762\u3002<\/li>\n<\/ol>\n<h4>2. \u4f7f\u7528 uv \u52a0\u901f\u5b89\u88c5\uff08\u53ef\u9009\uff09<\/h4>\n<p>\u4e3a\u63d0\u5347\u5b89\u88c5\u901f\u5ea6\uff0c\u53ef\u4f7f\u7528\u00a0<code>uv<\/code>\u00a0\u5de5\u5177\uff1a<\/p>\n<ol>\n<li>\u5b89\u88c5\u00a0<code>uv<\/code>\uff1a\n<pre><code>pip install uv\r\n<\/code><\/pre>\n<\/li>\n<li>\u4f7f\u7528\u00a0<code>uv<\/code>\u00a0\u5b89\u88c5 NodeRAG\uff1a\n<pre><code>uv pip install NodeRAG\r\n<\/code><\/pre>\n<\/li>\n<\/ol>\n<h4>3. \u9a8c\u8bc1\u5b89\u88c5<\/h4>\n<p>\u542f\u52a8\u754c\u9762\u540e\uff0c\u52a0\u8f7d\u5b98\u65b9\u63d0\u4f9b\u7684\u793a\u4f8b\u6570\u636e\u96c6\uff08\u4f4d\u4e8e\u00a0<code>data\/sample<\/code>\u00a0\u76ee\u5f55\u6216\u5728\u7ebf\u6587\u6863\uff09\uff0c\u68c0\u67e5\u56fe\u53ef\u89c6\u5316\u662f\u5426\u6b63\u5e38\u663e\u793a\u3002\u5982\u9047\u95ee\u9898\uff0c\u53ef\u53c2\u8003\u5b98\u65b9 FAQ\u3002<\/p>\n<h3>\u4f7f\u7528\u4e3b\u8981\u529f\u80fd<\/h3>\n<p>NodeRAG \u7684\u6838\u5fc3\u5728\u4e8e\u5f02\u6784\u56fe\u7684\u6784\u5efa\u3001\u68c0\u7d22\u548c\u751f\u6210\u3002\u4ee5\u4e0b\u8be6\u7ec6\u4ecb\u7ecd\u64cd\u4f5c\u6d41\u7a0b\u3002<\/p>\n<h4>1. \u6784\u5efa\u5f02\u6784\u56fe<\/h4>\n<p>NodeRAG \u4f7f\u7528\u5f02\u6784\u56fe\u5b58\u50a8\u6570\u636e\uff0c\u8282\u70b9\u7c7b\u578b\u5305\u62ec\u6587\u6863\u3001\u5b9e\u4f53\u3001\u5173\u952e\u8bcd\u7b49\u3002\u7528\u6237\u9700\u51c6\u5907 JSON \u6216 CSV \u683c\u5f0f\u7684\u6570\u636e\uff0c\u5305\u542b\u6587\u672c\u548c\u5143\u6570\u636e\uff08\u5982\u6807\u9898\u3001\u4f5c\u8005\uff09\u3002\u64cd\u4f5c\u6b65\u9aa4\uff1a<\/p>\n<ul>\n<li>\u767b\u5f55 Web \u754c\u9762\uff0c\u70b9\u51fb\u201c\u6570\u636e\u5bfc\u5165\u201d\u3002<\/li>\n<li>\u9009\u62e9\u6570\u636e\u6587\u4ef6\uff0c\u8bbe\u7f6e\u8282\u70b9\u7c7b\u578b\uff08\u5982\u201c\u6587\u6863\u201d\uff09\u548c\u8fb9\u5173\u7cfb\uff08\u5982\u201c\u6587\u6863-\u5173\u952e\u8bcd\u201d\uff09\u3002<\/li>\n<li>\u70b9\u51fb\u201c\u6784\u5efa\u56fe\u201d\uff0c\u7cfb\u7edf\u751f\u6210\u56fe\u7ed3\u6784\u5e76\u4fdd\u5b58\u81f3\u672c\u5730\u6570\u636e\u5e93\u3002<br \/>\n\u793a\u4f8b\uff1a\u5bfc\u5165\u5b66\u672f\u8bba\u6587\u6570\u636e\u96c6\uff0c\u7cfb\u7edf\u63d0\u53d6\u6807\u9898\u3001\u4f5c\u8005\u3001\u5173\u952e\u8bcd\uff0c\u751f\u6210\u77e5\u8bc6\u56fe\u8c31\u3002<\/li>\n<\/ul>\n<h4>2. \u6267\u884c\u4fe1\u606f\u68c0\u7d22<\/h4>\n<p>NodeRAG \u7684\u68c0\u7d22\u57fa\u4e8e\u56fe\u641c\u7d22\u7b97\u6cd5\uff0c\u652f\u6301\u591a\u8df3\u63a8\u7406\u3002\u64cd\u4f5c\u6b65\u9aa4\uff1a<\/p>\n<ul>\n<li>\u5728\u754c\u9762\u8f93\u5165\u67e5\u8be2\uff0c\u5982\u201c\u6df1\u5ea6\u5b66\u4e60\u5728\u533b\u7597\u4e2d\u7684\u5e94\u7528\u201d\u3002<\/li>\n<li>\u9009\u62e9\u68c0\u7d22\u6df1\u5ea6\uff08\u63a8\u8350 2-3 \u8df3\uff09\uff0c\u70b9\u51fb\u201c\u641c\u7d22\u201d\u3002<\/li>\n<li>\u7cfb\u7edf\u8fd4\u56de\u76f8\u5173\u8282\u70b9\u3001\u8fb9\u548c\u8def\u5f84\uff0c\u5c55\u793a\u4e0a\u4e0b\u6587\u5173\u7cfb\u3002<\/li>\n<li>\u7ed3\u679c\u4ee5\u5217\u8868\u548c\u56fe\u5f62\u5f0f\u5448\u73b0\uff0c\u7528\u6237\u53ef\u70b9\u51fb\u8282\u70b9\u67e5\u770b\u8be6\u60c5\u3002<br \/>\n\u68c0\u7d22\u652f\u6301\u590d\u6742\u67e5\u8be2\uff0c\u5982\u591a\u6761\u4ef6\u7ec4\u5408\u6216\u8de8\u9886\u57df\u641c\u7d22\u3002<\/li>\n<\/ul>\n<h4>3. \u751f\u6210\u5185\u5bb9<\/h4>\n<p>NodeRAG \u7ed3\u5408\u5927\u6a21\u578b\u751f\u6210\u4e0a\u4e0b\u6587\u76f8\u5173\u7684\u56de\u7b54\u3002\u64cd\u4f5c\u6b65\u9aa4\uff1a<\/p>\n<ul>\n<li>\u5728\u68c0\u7d22\u7ed3\u679c\u9875\u9762\uff0c\u70b9\u51fb\u201c\u751f\u6210\u56de\u7b54\u201d\u3002<\/li>\n<li>\u7cfb\u7edf\u57fa\u4e8e\u68c0\u7d22\u5230\u7684\u8282\u70b9\uff0c\u8c03\u7528\u5927\u6a21\u578b\u751f\u6210\u6587\u672c\u3002<\/li>\n<li>\u7528\u6237\u53ef\u8c03\u6574\u53c2\u6570\uff08\u5982\u00a0<code>temperature<\/code>\u3001<code>max_tokens<\/code>\uff09\u63a7\u5236\u8f93\u51fa\u98ce\u683c\u3002<br \/>\n\u793a\u4f8b\uff1a\u67e5\u8be2\u201c\u91cf\u5b50\u8ba1\u7b97\u6700\u65b0\u8fdb\u5c55\u201d\uff0c\u7cfb\u7edf\u751f\u6210\u5305\u542b\u8fd1\u671f\u7814\u7a76\u52a8\u6001\u7684\u56de\u7b54\u3002<\/li>\n<\/ul>\n<h4>4. \u6570\u636e\u53ef\u89c6\u5316<\/h4>\n<p>NodeRAG \u63d0\u4f9b\u4ea4\u4e92\u5f0f\u56fe\u53ef\u89c6\u5316\u5de5\u5177\uff0c\u5e2e\u52a9\u7528\u6237\u76f4\u89c2\u5206\u6790\u6570\u636e\u5173\u7cfb\u3002\u64cd\u4f5c\u6b65\u9aa4\uff1a<\/p>\n<ul>\n<li>\u5728\u754c\u9762\u9009\u62e9\u201c\u56fe\u53ef\u89c6\u5316\u201d\u3002<\/li>\n<li>\u7cfb\u7edf\u663e\u793a\u56fe\u7684\u8282\u70b9\u548c\u8fb9\uff0c\u652f\u6301\u7f29\u653e\u3001\u62d6\u62fd\u548c\u7b5b\u9009\u3002<\/li>\n<li>\u70b9\u51fb\u8282\u70b9\u67e5\u770b\u5c5e\u6027\uff08\u5982\u6587\u672c\u5185\u5bb9\uff09\uff0c\u70b9\u51fb\u8fb9\u67e5\u770b\u5173\u7cfb\u7c7b\u578b\u3002<br \/>\n\u6b64\u529f\u80fd\u9002\u5408\u63a2\u7d22\u77e5\u8bc6\u56fe\u8c31\u3001\u793e\u4ea4\u7f51\u7edc\u7b49\u590d\u6742\u6570\u636e\u96c6\u3002<\/li>\n<\/ul>\n<h4>5. \u589e\u91cf\u66f4\u65b0<\/h4>\n<p>NodeRAG \u652f\u6301\u52a8\u6001\u66f4\u65b0\u56fe\u7ed3\u6784\uff0c\u65e0\u9700\u91cd\u5efa\u6574\u4e2a\u56fe\u3002\u64cd\u4f5c\u6b65\u9aa4\uff1a<\/p>\n<ul>\n<li>\u5728\u754c\u9762\u9009\u62e9\u201c\u589e\u91cf\u66f4\u65b0\u201d\u3002<\/li>\n<li>\u4e0a\u4f20\u65b0\u6570\u636e\u6587\u4ef6\uff0c\u7cfb\u7edf\u81ea\u52a8\u5c06\u5176\u878d\u5165\u73b0\u6709\u56fe\u7ed3\u6784\u3002<\/li>\n<li>\u66f4\u65b0\u540e\uff0c\u91cd\u65b0\u8fd0\u884c\u67e5\u8be2\u4ee5\u9a8c\u8bc1\u7ed3\u679c\u3002<br \/>\n\u6b64\u529f\u80fd\u9002\u5408\u6301\u7eed\u66f4\u65b0\u7684\u573a\u666f\uff0c\u5982\u65b0\u95fb\u6570\u636e\u5e93\u6216\u4f01\u4e1a\u6587\u6863\u5e93\u3002<\/li>\n<\/ul>\n<h4>6. \u81ea\u5b9a\u4e49\u914d\u7f6e<\/h4>\n<p>\u9ad8\u7ea7\u7528\u6237\u53ef\u901a\u8fc7\u7f16\u8f91\u00a0<code>config.yaml<\/code>\u00a0\u6587\u4ef6\u8c03\u6574\u56fe\u7ed3\u6784\u548c\u7b97\u6cd5\u53c2\u6570\uff0c\u5982\u8282\u70b9\u6743\u91cd\u3001\u8fb9\u7c7b\u578b\u3001\u68c0\u7d22\u6df1\u5ea6\u7b49\u3002\u4fee\u6539\u540e\uff0c\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\u91cd\u65b0\u52a0\u8f7d\uff1a<\/p>\n<pre><code>python -m NodeRAG.reload_config\r\n<\/code><\/pre>\n<h3>\u7279\u8272\u529f\u80fd\u64cd\u4f5c<\/h3>\n<p>NodeRAG \u7684\u5f02\u6784\u56fe\u7ed3\u6784\u662f\u5176\u6838\u5fc3\u4f18\u52bf\uff0c\u901a\u8fc7\u4ee5\u4e0b\u56db\u4e2a\u6b65\u9aa4\u4f18\u5316\u68c0\u7d22\u4e0e\u751f\u6210\uff1a<\/p>\n<ul>\n<li><strong>\u56fe\u5206\u89e3<\/strong>\u00a0\uff1a\u5c06\u590d\u6742\u67e5\u8be2\u62c6\u5206\u4e3a\u5b50\u4efb\u52a1\uff0c\u5206\u914d\u5230\u4e0d\u540c\u8282\u70b9\u7c7b\u578b\u3002<\/li>\n<li><strong>\u56fe\u589e\u5f3a<\/strong>\u00a0\uff1a\u8865\u5145\u8282\u70b9\u95f4\u7684\u9690\u5f0f\u5173\u7cfb\uff0c\u63d0\u5347\u4e0a\u4e0b\u6587\u5b8c\u6574\u6027\u3002<\/li>\n<li><strong>\u56fe\u4e30\u5bcc<\/strong>\u00a0\uff1a\u6574\u5408\u5916\u90e8\u77e5\u8bc6\uff08\u5982\u516c\u5f00\u6570\u636e\u96c6\uff09\u5230\u56fe\u4e2d\u3002<\/li>\n<li><strong>\u56fe\u641c\u7d22<\/strong>\u00a0\uff1a\u4f7f\u7528\u9ad8\u6548\u7b97\u6cd5\u5feb\u901f\u5b9a\u4f4d\u76f8\u5173\u8282\u70b9\u3002<br \/>\n\u64cd\u4f5c\u6b65\u9aa4\uff1a<\/li>\n<li>\u5728\u754c\u9762\u201c\u9ad8\u7ea7\u8bbe\u7f6e\u201d\u4e2d\u542f\u7528\u201c\u56fe\u589e\u5f3a\u201d\u6216\u201c\u56fe\u4e30\u5bcc\u201d\u3002<\/li>\n<li>\u8f93\u5165\u67e5\u8be2\u540e\uff0c\u7cfb\u7edf\u81ea\u52a8\u5e94\u7528\u8fd9\u4e9b\u6b65\u9aa4\uff0c\u751f\u6210\u66f4\u7cbe\u51c6\u7684\u7ed3\u679c\u3002<br \/>\n\u8fd9\u4e9b\u529f\u80fd\u663e\u8457\u63d0\u5347\u4e86\u591a\u8df3\u63a8\u7406\u80fd\u529b\uff0c\u9002\u5408\u590d\u6742\u95ee\u9898\u5206\u6790\u3002<\/li>\n<\/ul>\n<h3>\u5e38\u89c1\u95ee\u9898\u89e3\u51b3<\/h3>\n<ul>\n<li><strong>\u5b89\u88c5\u5931\u8d25<\/strong>\u00a0\uff1a\u68c0\u67e5 Python \u7248\u672c\uff08\u9700 3.10+\uff09\u548c\u7f51\u7edc\u8fde\u63a5\u3002\u4f7f\u7528\u56fd\u5185\u955c\u50cf\u6e90\u53ef\u52a0\u901f\u5b89\u88c5\uff1a<\/li>\n<\/ul>\n<pre><code>pip install NodeRAG -i https:\/\/pypi.tuna.tsinghua.edu.cn\/simple\r\n<\/code><\/pre>\n<ul>\n<li><strong>\u754c\u9762\u65e0\u6cd5\u8bbf\u95ee<\/strong>\u00a0\uff1a\u786e\u8ba4\u00a0<code>NodeRAG.app<\/code>\u00a0\u662f\u5426\u8fd0\u884c\uff0c\u68c0\u67e5\u7aef\u53e3 5000 \u662f\u5426\u88ab\u5360\u7528\u3002<\/li>\n<li><strong>\u68c0\u7d22\u7ed3\u679c\u4e0d\u51c6\u786e<\/strong>\u00a0\uff1a\u4f18\u5316\u8f93\u5165\u6570\u636e\uff08\u786e\u4fdd\u5143\u6570\u636e\u5b8c\u6574\uff09\uff0c\u6216\u589e\u52a0\u68c0\u7d22\u6df1\u5ea6\u3002<\/li>\n<li><strong>\u5927\u6a21\u578b\u96c6\u6210\u95ee\u9898<\/strong>\u00a0\uff1a\u5728\u00a0<code>config.yaml<\/code>\u00a0\u4e2d\u6b63\u786e\u914d\u7f6e\u6a21\u578b API \u6216\u672c\u5730\u6a21\u578b\u8def\u5f84\u3002<br \/>\n\u66f4\u591a\u95ee\u9898\u53ef\u53c2\u8003\u5b98\u65b9\u6587\u6863\uff1a<a href=\"https:\/\/terry-xu-666.github.io\/NodeRAG_web\/docs\/\">NodeRAG_web<\/a>.<\/li>\n<\/ul>\n<h3>\u8865\u5145\u8bf4\u660e<\/h3>\n<ul>\n<li><strong>\u6570\u636e\u51c6\u5907<\/strong>\u00a0\uff1a\u8f93\u5165\u6570\u636e\u9700\u7ed3\u6784\u5316\uff0c\u63a8\u8350 JSON \u683c\u5f0f\uff0c\u5305\u542b\u00a0<code>content<\/code>\uff08\u6587\u672c\uff09\u548c\u00a0<code>metadata<\/code>\uff08\u5143\u6570\u636e\uff09\u5b57\u6bb5\u3002<\/li>\n<li><strong>\u6027\u80fd\u4f18\u5316<\/strong>\u00a0\uff1aNodeRAG \u4f7f\u7528\u7edf\u4e00\u7b97\u6cd5\u548c\u7d22\u5f15\u673a\u5236\uff0c\u67e5\u8be2\u54cd\u5e94\u65f6\u95f4\u901a\u5e38\u5728\u79d2\u7ea7\uff0c\u5373\u4f7f\u5904\u7406\u5927\u89c4\u6a21\u6570\u636e\u96c6\u3002<\/li>\n<li><strong>\u793e\u533a\u652f\u6301<\/strong>\u00a0\uff1aGitHub \u4ed3\u5e93\u63d0\u4f9b Issues \u9875\u9762\uff0c\u7528\u6237\u53ef\u63d0\u4ea4\u95ee\u9898\u6216\u53c2\u4e0e\u8ba8\u8bba\u3002<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h2>\u5e94\u7528\u573a\u666f<\/h2>\n<ol>\n<li><strong>\u5b66\u672f\u7814\u7a76<\/strong><br \/>\n\u7814\u7a76\u4eba\u5458\u53ef\u4f7f\u7528 NodeRAG \u6574\u7406\u6587\u732e\u6570\u636e\uff0c\u6784\u5efa\u8bba\u6587\u5173\u7cfb\u56fe\u3002\u5bfc\u5165\u8bba\u6587\u6570\u636e\u96c6\u540e\uff0c\u7cfb\u7edf\u63d0\u53d6\u5173\u952e\u8bcd\u3001\u4f5c\u8005\u3001\u5f15\u7528\u5173\u7cfb\uff0c\u751f\u6210\u77e5\u8bc6\u56fe\u8c31\u3002\u7528\u6237\u53ef\u67e5\u8be2\u7814\u7a76\u4e3b\u9898\uff0c\u83b7\u53d6\u76f8\u5173\u6587\u732e\u548c\u4e0a\u4e0b\u6587\u5206\u6790\uff0c\u9002\u5408\u6587\u732e\u7efc\u8ff0\u6216\u8bfe\u9898\u89c4\u5212\u3002<\/li>\n<li><strong>\u4f01\u4e1a\u77e5\u8bc6\u7ba1\u7406<\/strong><br \/>\n\u4f01\u4e1a\u53ef\u5229\u7528 NodeRAG \u7ba1\u7406\u5185\u90e8\u6587\u6863\uff0c\u6784\u5efa\u77e5\u8bc6\u5e93\u3002\u5bfc\u5165\u6280\u672f\u6587\u6863\u3001\u9879\u76ee\u62a5\u544a\u540e\uff0c\u7cfb\u7edf\u751f\u6210\u6587\u6863\u5173\u7cfb\u56fe\u3002\u5458\u5de5\u53ef\u5feb\u901f\u67e5\u8be2\u8d44\u6599\uff0c\u63d0\u9ad8\u77e5\u8bc6\u5171\u4eab\u6548\u7387\uff0c\u9002\u5408\u6280\u672f\u56e2\u961f\u6216\u8de8\u90e8\u95e8\u534f\u4f5c\u3002<\/li>\n<li><strong>\u6570\u636e\u5206\u6790\u4e0e\u53ef\u89c6\u5316<\/strong><br \/>\n\u6570\u636e\u5206\u6790\u5e08\u53ef\u4f7f\u7528 NodeRAG \u5206\u6790\u590d\u6742\u6570\u636e\u96c6\uff0c\u5982\u793e\u4ea4\u7f51\u7edc\u6216\u5ba2\u6237\u5173\u7cfb\u6570\u636e\u3002\u7cfb\u7edf\u901a\u8fc7\u56fe\u53ef\u89c6\u5316\u5c55\u793a\u6570\u636e\u8054\u7cfb\uff0c\u5e2e\u52a9\u53d1\u73b0\u9690\u85cf\u6a21\u5f0f\uff0c\u9002\u7528\u4e8e\u5e02\u573a\u5206\u6790\u3001\u98ce\u9669\u8bc4\u4f30\u6216\u63a8\u8350\u7cfb\u7edf\u5f00\u53d1\u3002<\/li>\n<li><strong>\u5b9e\u65f6\u4fe1\u606f\u5904\u7406<\/strong><br \/>\nNodeRAG \u7684\u589e\u91cf\u66f4\u65b0\u529f\u80fd\u9002\u5408\u5904\u7406\u52a8\u6001\u6570\u636e\uff0c\u5982\u65b0\u95fb\u6216\u793e\u4ea4\u5a92\u4f53\u5185\u5bb9\u3002\u7528\u6237\u53ef\u6301\u7eed\u5bfc\u5165\u65b0\u6570\u636e\uff0c\u7cfb\u7edf\u81ea\u52a8\u66f4\u65b0\u56fe\u7ed3\u6784\uff0c\u4fdd\u6301\u68c0\u7d22\u7ed3\u679c\u7684\u65f6\u6548\u6027\u3002<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<h2>QA<\/h2>\n<ol>\n<li><strong>NodeRAG \u652f\u6301\u54ea\u4e9b\u6570\u636e\u683c\u5f0f\uff1f<\/strong><br \/>\n\u652f\u6301 JSON\u3001CSV \u548c TXT \u683c\u5f0f\u3002\u63a8\u8350 JSON\uff0c\u9700\u5305\u542b\u00a0<code>content<\/code>\uff08\u6587\u672c\uff09\u548c\u00a0<code>metadata<\/code>\uff08\u5982\u4f5c\u8005\u3001\u65e5\u671f\uff09\u5b57\u6bb5\u3002<\/li>\n<li><strong>\u5982\u4f55\u63d0\u5347\u68c0\u7d22\u51c6\u786e\u6027\uff1f<\/strong><br \/>\n\u786e\u4fdd\u6570\u636e\u5305\u542b\u4e30\u5bcc\u5143\u4fe1\u606f\uff0c\u542f\u7528\u56fe\u589e\u5f3a\u6216\u56fe\u4e30\u5bcc\u529f\u80fd\uff0c\u9002\u5f53\u589e\u52a0\u68c0\u7d22\u6df1\u5ea6\uff082-3 \u8df3\uff09\u3002<\/li>\n<li><strong>NodeRAG \u662f\u5426\u652f\u6301\u5b9e\u65f6\u66f4\u65b0\uff1f<\/strong><br \/>\n\u652f\u6301\u589e\u91cf\u66f4\u65b0\uff0c\u7528\u6237\u53ef\u4e0a\u4f20\u65b0\u6570\u636e\u52a8\u6001\u66f4\u65b0\u56fe\u7ed3\u6784\uff0c\u65e0\u9700\u91cd\u5efa\u6574\u4e2a\u56fe\u3002<\/li>\n<li><strong>\u662f\u5426\u9700\u8981\u5927\u6a21\u578b\u652f\u6301\uff1f<\/strong><br \/>\nNodeRAG \u53ef\u4e0e LLaMA\u3001GPT \u7b49\u6a21\u578b\u96c6\u6210\u3002\u9700\u5728\u00a0<code>config.yaml<\/code>\u00a0\u4e2d\u914d\u7f6e\u6a21\u578b API \u6216\u672c\u5730\u8def\u5f84\u3002<\/li>\n<li><strong>\u5982\u4f55\u67e5\u770b\u6027\u80fd\u57fa\u51c6\uff1f<\/strong><br \/>\n\u5b98\u65b9\u6587\u6863\u63d0\u4f9b\u6027\u80fd\u5bf9\u6bd4\u56fe\uff0c\u5c55\u793a NodeRAG \u5728\u68c0\u7d22\u8d28\u91cf\u548c\u901f\u5ea6\u4e0a\u7684\u4f18\u52bf\uff0c\u8be6\u89c1\u00a0<a href=\"https:\/\/terry-xu-666.github.io\/NodeRAG_web\/docs\/performance\/\">NodeRAG_web<\/a>.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>NodeRAG \u662f\u4e00\u4e2a\u5f00\u6e90\u7684\u68c0\u7d22\u589e\u5f3a\u751f\u6210\uff08RAG\uff09\u7cfb\u7edf\uff0c\u6258\u7ba1\u5728 GitHub\uff0c\u7531 Terry-Xu-666 \u5f00\u53d1\u3002\u5b83\u901a\u8fc7\u5f02\u6784\u56fe\u7ed3\u6784\u4f18\u5316\u4fe1\u606f\u68c0\u7d22\u4e0e\u751f\u6210\uff0c\u663e\u8457\u63d0\u5347\u68c0\u7d22\u7cbe\u51c6\u5ea6\u548c\u4e0a\u4e0b\u6587\u76f8\u5173\u6027\u3002NodeRAG \u652f\u6301\u672c\u5730\u90e8\u7f72\uff0c\u63d0\u4f9b\u7528\u6237\u53cb\u597d\u7684\u754c\u9762\u548c\u53ef\u89c6\u5316&#8230;<\/p>\n","protected":false},"author":1,"featured_media":62286,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[425,20,459],"tags":[230,243],"class_list":["post-30594","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ai-professional","category-tool","category-rag-project","tag-aikaiyuanxiangmu","tag-aizhishikuyukefu"],"_links":{"self":[{"href":"https:\/\/www.kdjingpai.com\/ja\/wp-json\/wp\/v2\/posts\/30594","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kdjingpai.com\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kdjingpai.com\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kdjingpai.com\/ja\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kdjingpai.com\/ja\/wp-json\/wp\/v2\/comments?post=30594"}],"version-history":[{"count":0,"href":"https:\/\/www.kdjingpai.com\/ja\/wp-json\/wp\/v2\/posts\/30594\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.kdjingpai.com\/ja\/wp-json\/wp\/v2\/media\/62286"}],"wp:attachment":[{"href":"https:\/\/www.kdjingpai.com\/ja\/wp-json\/wp\/v2\/media?parent=30594"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kdjingpai.com\/ja\/wp-json\/wp\/v2\/categories?post=30594"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kdjingpai.com\/ja\/wp-json\/wp\/v2\/tags?post=30594"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}