{"id":71,"date":"2026-06-29T10:22:01","date_gmt":"2026-06-29T02:22:01","guid":{"rendered":"https:\/\/genetop.top\/index.php\/2026\/06\/29\/graphrag-local-search-text-unit-selection\/"},"modified":"2026-06-29T10:22:01","modified_gmt":"2026-06-29T02:22:01","slug":"graphrag-local-search-text-unit-selection","status":"publish","type":"post","link":"https:\/\/genetop.top\/index.php\/2026\/06\/29\/graphrag-local-search-text-unit-selection\/","title":{"rendered":"GraphRAG Local Search \u7684 Text Unit \u9009\u62e9\u7b56\u7565\uff1a\u8bbe\u8ba1\u6743\u8861\u4e0e\u6539\u8fdb\u65b9\u5411"},"content":{"rendered":"<h2 id=\"_1\">\u5f15\u8a00<\/h2>\n<p>GraphRAG \u7684 Local Search \u5728\u67e5\u8be2\u65f6\u9700\u8981\u4ece\u77e5\u8bc6\u56fe\u8c31\u5173\u8054\u7684\u539f\u59cb\u6587\u672c\u7247\u6bb5\uff08Text Units\uff09\u4e2d\u9009\u62e9\u6700\u76f8\u5173\u7684\u5185\u5bb9\u586b\u5165 LLM \u4e0a\u4e0b\u6587\u7a97\u53e3\u3002\u8fd9\u4e2a\u9009\u62e9\u7b56\u7565\u770b\u4f3c\u7b80\u5355\u2014\u2014\u6309\u5b9e\u4f53\u76f8\u4f3c\u5ea6\u6392\u5e8f\u3001\u9010\u6761\u586b\u5165\u2014\u2014\u4f46\u5728\u5b9e\u9645\u573a\u666f\u4e2d\u4f1a\u66b4\u9732\u51fa\u4e00\u4e2a\u663e\u8457\u7684\u5c40\u9650\u6027\uff1a<strong>\u70ed\u95e8\u5b9e\u4f53\u53ef\u80fd\u9738\u5360\u6574\u4e2a Text Unit \u9884\u7b97\uff0c\u5bfc\u81f4\u5176\u4ed6\u5b9e\u4f53\u7684\u5173\u952e\u6587\u672c\u88ab\u622a\u65ad<\/strong>\u3002<\/p>\n<p>\u672c\u6587\u5c06\u6df1\u5165\u5206\u6790\u8fd9\u4e2a\u95ee\u9898\u7684\u6210\u56e0\u3001\u5b83\u6240\u89e3\u51b3\u7684\u6838\u5fc3\u95ee\u9898\uff0c\u4ee5\u53ca\u53ef\u80fd\u7684\u6539\u8fdb\u65b9\u5411\u3002<\/p>\n<h2 id=\"_2\">\u5f53\u524d\u7b56\u7565\u662f\u4ec0\u4e48<\/h2>\n<p>Local Search \u7684 Text Unit \u9009\u62e9\u5206\u56db\u6b65\uff1a<\/p>\n<ol>\n<li>\u904d\u5386\u9009\u4e2d\u5b9e\u4f53\uff08\u6309\u5411\u91cf\u76f8\u4f3c\u5ea6\u6392\u540d\uff09\uff0c\u6536\u96c6\u6bcf\u4e2a\u5b9e\u4f53\u5173\u8054\u7684 <code>text_unit_ids<\/code><\/li>\n<li>\u53bb\u91cd\uff1a\u540c\u4e00\u4e2a TU \u53ea\u5f52\u5c5e\u4e8e\u6700\u5148\u904d\u5386\u5230\u7684\u5b9e\u4f53<\/li>\n<li>\u6392\u5e8f\uff1a\u6309 <code>(entity_index, -num_relationships)<\/code> \u2014\u2014 \u5b9e\u4f53\u987a\u5e8f\u4f18\u5148\uff0c\u540c\u4e00\u5b9e\u4f53\u5185\u6309\u5173\u7cfb\u5bc6\u5ea6\u964d\u5e8f<\/li>\n<li>\u9010\u6761\u586b\u5165\u4e0a\u4e0b\u6587\uff0c\u76f4\u5230\u8fbe\u5230 token \u4e0a\u9650\uff08\u9ed8\u8ba4\u603b\u9884\u7b97\u7684 50%\uff0c\u7ea6 6000 tokens\uff09<\/li>\n<\/ol>\n<p>\u6838\u5fc3\u4ee3\u7801\uff1a<\/p>\n<pre><code class=\"language-python\">for index, entity in enumerate(selected_entities):\n    entity_relationships = [rel for rel in relationships if rel.source == entity.title or rel.target == entity.title]\n    for text_id in entity.text_unit_ids or []:\n        if text_id not in text_unit_ids_set and text_id in self.text_units:\n            num_relationships = count_relationships(entity_relationships, self.text_units[text_id])\n            text_unit_ids_set.add(text_id)\n            unit_info_list.append((self.text_units[text_id], index, num_relationships))\n\nunit_info_list.sort(key=lambda x: (x[1], -x[2]))\n<\/code><\/pre>\n<h2 id=\"_3\">\u95ee\u9898\u573a\u666f\uff1a\u70ed\u95e8\u5b9e\u4f53\u9738\u5360\u9884\u7b97<\/h2>\n<h3 id=\"_4\">\u5177\u4f53\u4f8b\u5b50<\/h3>\n<p>\u5047\u8bbe\u7528\u6237\u95ee\uff1a&#8221;\u7518\u83ca\u84dd\u7684\u6297\u708e\u673a\u5236\u662f\u4ec0\u4e48\uff1f&#8221;<\/p>\n<p>\u5411\u91cf\u641c\u7d22\u8fd4\u56de\u7684\u5b9e\u4f53\u6392\u540d\uff1a<\/p>\n<table>\n<thead>\n<tr>\n<th>\u6392\u540d<\/th>\n<th>\u5b9e\u4f53<\/th>\n<th>\u5173\u8054 TU \u6570\u91cf<\/th>\n<th>\u8bf4\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>0<\/td>\n<td>\u6d0b\u7518\u83ca<\/td>\n<td>50<\/td>\n<td>\u9ad8\u9891\u5b9e\u4f53\uff0c\u51e0\u4e4e\u6240\u6709\u8349\u836f\u6587\u6863\u90fd\u63d0\u5230\u5b83<\/td>\n<\/tr>\n<tr>\n<td>1<\/td>\n<td>\u7518\u83ca\u84dd<\/td>\n<td>4<\/td>\n<td>\u6d0b\u7518\u83ca\u7684\u6d3b\u6027\u6210\u5206\uff0c\u4e13\u4e1a\u6587\u732e\u8f83\u5c11<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>NF-\u03baB \u901a\u8def<\/td>\n<td>2<\/td>\n<td>\u5177\u4f53\u7684\u6297\u708e\u5206\u5b50\u673a\u5236<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u904d\u5386\u53bb\u91cd\u540e\u7684 TU \u5f52\u5c5e\uff1a<\/p>\n<pre><code>index 0 &quot;\u6d0b\u7518\u83ca&quot;: TU1, TU2, TU3, ..., TU50  (50\u6761)\nindex 1 &quot;\u7518\u83ca\u84dd&quot;: TU51, TU52              (TU1, TU5 \u5df2\u88ab\u6d0b\u7518\u83ca\u5360\u6709)\nindex 2 &quot;NF-\u03baB&quot;:  TU53                    (\u4ec51\u6761\u672a\u88ab\u5360\u6709)\n<\/code><\/pre>\n<p>\u6392\u5e8f\u7ed3\u679c\uff1a<\/p>\n<pre><code>TU1(index=0, rel=5) \u2192 TU2(index=0, rel=4) \u2192 ... \u2192 TU50(index=0, rel=0)\n\u2192 TU51(index=1, rel=2) \u2192 TU52(index=1, rel=1)\n\u2192 TU53(index=2, rel=1)\n<\/code><\/pre>\n<p>\u5047\u8bbe token \u9884\u7b97\u4e3a 6000 tokens\uff0c\u6bcf\u4e2a TU \u5e73\u5747 300 tokens\uff0c\u90a3\u4e48\u53ea\u80fd\u5bb9\u7eb3\u7ea6 20 \u4e2a TU\u3002<\/p>\n<p><strong>\u7ed3\u679c<\/strong>\uff1a\u524d 20 \u4e2a\u4f4d\u7f6e\u5168\u90e8\u88ab&#8221;\u6d0b\u7518\u83ca&#8221;\u7684 TU \u5360\u636e\u3002\u7528\u6237\u771f\u6b63\u5173\u5fc3\u7684&#8221;\u7518\u83ca\u84dd\u7684\u6297\u708e\u673a\u5236&#8221;\u76f8\u5173\u6587\u672c\uff08TU51\u3001TU52\u3001TU53\uff09\u5168\u90e8\u88ab\u622a\u65ad\u3002LLM \u62ff\u5230\u7684\u4e0a\u4e0b\u6587\u4e2d\u5145\u65a5\u7740&#8221;\u6d0b\u7518\u83ca&#8221;\u7684\u6cdb\u6cdb\u4ecb\u7ecd\uff0c\u5374\u6ca1\u6709\u4efb\u4f55\u5173\u4e8e\u7518\u83ca\u84dd\u5177\u4f53\u5206\u5b50\u673a\u5236\u7684\u539f\u6587\u652f\u6491\u3002<\/p>\n<h2 id=\"_5\">\u4e3a\u4ec0\u4e48\u8981\u8fd9\u6837\u8bbe\u8ba1\uff1a\u5b83\u89e3\u51b3\u4e86\u4ec0\u4e48\u95ee\u9898<\/h2>\n<p>\u8fd9\u4e2a\u7b56\u7565\u5e76\u975e\u968f\u610f\u8bbe\u8ba1\uff0c\u5b83\u89e3\u51b3\u7684\u662f\u4e00\u4e2a\u66f4\u57fa\u7840\u7684\u95ee\u9898\uff1a<strong>\u786e\u4fdd\u8bed\u4e49\u6700\u76f8\u5173\u7684\u5b9e\u4f53\u83b7\u5f97\u6700\u5145\u5206\u7684\u539f\u6587\u652f\u6491<\/strong>\u3002<\/p>\n<h3 id=\"_6\">\u5b83\u89e3\u51b3\u7684\u573a\u666f<\/h3>\n<p>\u5047\u8bbe\u7528\u6237\u95ee\uff1a&#8221;\u6d0b\u7518\u83ca\u5728\u6b27\u6d32\u4f20\u7edf\u533b\u5b66\u4e2d\u7684\u5730\u4f4d\u5982\u4f55\uff1f&#8221;<\/p>\n<p>\u5411\u91cf\u641c\u7d22\u8fd4\u56de\uff1a<\/p>\n<table>\n<thead>\n<tr>\n<th>\u6392\u540d<\/th>\n<th>\u5b9e\u4f53<\/th>\n<th>\u5173\u8054 TU \u6570\u91cf<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>0<\/td>\n<td>\u6d0b\u7518\u83ca<\/td>\n<td>50<\/td>\n<\/tr>\n<tr>\n<td>1<\/td>\n<td>\u6b27\u6d32\u8349\u836f\u5b66<\/td>\n<td>8<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>\u85b0\u8863\u8349<\/td>\n<td>30<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u5728\u8fd9\u4e2a\u573a\u666f\u4e2d\uff0c&#8221;\u6d0b\u7518\u83ca&#8221;\u786e\u5b9e\u662f\u6700\u6838\u5fc3\u7684\u5b9e\u4f53\uff0c\u7528\u6237\u5c31\u662f\u5728\u95ee\u5b83\u3002\u5982\u679c\u91c7\u7528 round-robin \u7b56\u7565\uff08\u6bcf\u4e2a\u5b9e\u4f53\u8f6e\u6d41\u53d6 1 \u4e2a TU\uff09\uff0c\u90a3\u4e48&#8221;\u85b0\u8863\u8349&#8221;\u7684 30 \u4e2a TU \u4f1a\u4e0e&#8221;\u6d0b\u7518\u83ca&#8221;\u5e73\u5206\u9884\u7b97\u2014\u2014\u4f46\u7528\u6237\u6839\u672c\u6ca1\u95ee\u85b0\u8863\u8349\u3002<\/p>\n<p>\u5f53\u524d\u7b56\u7565\u7684\u4f18\u52bf\u5728\u4e8e\uff1a<br \/>\n&#8211; <strong>\u5c0a\u91cd\u8bed\u4e49\u6392\u540d<\/strong>\uff1a\u5411\u91cf\u76f8\u4f3c\u5ea6\u6700\u9ad8\u7684\u5b9e\u4f53\u83b7\u5f97\u6700\u591a\u539f\u6587\u652f\u6491\uff0c\u8fd9\u5728\u5927\u591a\u6570\u60c5\u51b5\u4e0b\u662f\u6b63\u786e\u7684<br \/>\n&#8211; <strong>\u5173\u7cfb\u5bc6\u5ea6\u6392\u5e8f\u4fdd\u8bc1\u8d28\u91cf<\/strong>\uff1a\u540c\u4e00\u5b9e\u4f53\u7684\u591a\u4e2a TU \u4e2d\uff0c\u4fe1\u606f\u6700\u5bc6\u96c6\u7684\u6392\u5728\u524d\u9762<br \/>\n&#8211; <strong>\u53bb\u91cd\u907f\u514d\u5197\u4f59<\/strong>\uff1a\u540c\u4e00\u4e2a TU \u4e0d\u4f1a\u56e0\u4e3a\u88ab\u591a\u4e2a\u5b9e\u4f53\u5173\u8054\u800c\u91cd\u590d\u51fa\u73b0<\/p>\n<h3 id=\"_7\">\u6838\u5fc3\u6743\u8861<\/h3>\n<p>\u8fd9\u662f\u4e00\u4e2a\u7ecf\u5178\u7684 <strong>\u76f8\u5173\u6027\u6df1\u5ea6 vs. \u8986\u76d6\u5e7f\u5ea6<\/strong> \u7684\u6743\u8861\uff1a<\/p>\n<ul>\n<li>\u5f53\u524d\u7b56\u7565\u9009\u62e9\u4e86<strong>\u6df1\u5ea6<\/strong>\uff1a\u786e\u4fdd\u6700\u76f8\u5173\u5b9e\u4f53\u6709\u5145\u5206\u7684\u539f\u6587\u8bc1\u636e<\/li>\n<li>\u4ee3\u4ef7\u662f<strong>\u5e7f\u5ea6<\/strong>\uff1a\u6b21\u8981\u5b9e\u4f53\u53ef\u80fd\u5b8c\u5168\u6ca1\u6709\u539f\u6587\u652f\u6491<\/li>\n<\/ul>\n<p>\u5728\u5927\u591a\u6570&#8221;\u5173\u4e8e\u7279\u5b9a\u5b9e\u4f53\u7684\u95ee\u9898&#8221;\u4e2d\uff08Local Search \u7684\u8bbe\u8ba1\u76ee\u6807\uff09\uff0c\u6df1\u5ea6\u4f18\u5148\u662f\u5408\u7406\u7684\u3002\u95ee\u9898\u51fa\u5728\u67e5\u8be2\u6d89\u53ca\u591a\u4e2a\u5b9e\u4f53\u7684\u4ea4\u53c9\u5173\u7cfb\u65f6\u3002<\/p>\n<h2 id=\"_8\">\u95ee\u9898\u7684\u672c\u8d28\uff1a\u5355\u4e00\u6392\u5e8f\u7ef4\u5ea6\u65e0\u6cd5\u8868\u8fbe\u591a\u76ee\u6807\u4f18\u5316<\/h2>\n<p>Text Unit \u9009\u62e9\u672c\u8d28\u4e0a\u662f\u4e00\u4e2a\u591a\u76ee\u6807\u4f18\u5316\u95ee\u9898\uff1a<\/p>\n<ol>\n<li><strong>\u76f8\u5173\u6027<\/strong>\uff1aTU \u4e0e\u67e5\u8be2\u7684\u8bed\u4e49\u76f8\u5173\u5ea6\uff08\u901a\u8fc7\u5b9e\u4f53\u6392\u540d\u95f4\u63a5\u8868\u8fbe\uff09<\/li>\n<li><strong>\u4fe1\u606f\u5bc6\u5ea6<\/strong>\uff1aTU \u4e2d\u5305\u542b\u7684\u5173\u7cfb\u6570\u91cf<\/li>\n<li><strong>\u8986\u76d6\u6027<\/strong>\uff1a\u786e\u4fdd\u6bcf\u4e2a\u9009\u4e2d\u5b9e\u4f53\u90fd\u6709\u539f\u6587\u652f\u6491<\/li>\n<li><strong>\u591a\u6837\u6027<\/strong>\uff1a\u907f\u514d\u4e0a\u4e0b\u6587\u4e2d\u5145\u65a5\u540c\u8d28\u5316\u5185\u5bb9<\/li>\n<\/ol>\n<p>\u5f53\u524d\u7b56\u7565\u7528\u4e00\u4e2a\u4e8c\u5143\u7ec4 <code>(entity_index, -num_relationships)<\/code> \u8bd5\u56fe\u540c\u65f6\u4f18\u5316\u524d\u4e24\u4e2a\u76ee\u6807\uff0c\u4f46\u5b8c\u5168\u5ffd\u7565\u4e86\u540e\u4e24\u4e2a\u3002<\/p>\n<h2 id=\"_9\">\u6539\u8fdb\u65b9\u5411<\/h2>\n<h3 id=\"1per-entity-cap\">\u65b9\u6848 1\uff1aPer-Entity Cap\uff08\u6bcf\u5b9e\u4f53\u4e0a\u9650\uff09<\/h3>\n<p>\u6700\u7b80\u5355\u7684\u6539\u8fdb\u2014\u2014\u4e3a\u6bcf\u4e2a\u5b9e\u4f53\u8bbe\u7f6e TU \u8d21\u732e\u4e0a\u9650\uff1a<\/p>\n<pre><code class=\"language-python\">MAX_TU_PER_ENTITY = 5\n\nfor index, entity in enumerate(selected_entities):\n    count = 0\n    for text_id in entity.text_unit_ids or []:\n        if count &gt;= MAX_TU_PER_ENTITY:\n            break\n        if text_id not in text_unit_ids_set and text_id in self.text_units:\n            # ... \u6dfb\u52a0\u903b\u8f91\u4e0d\u53d8\n            count += 1\n<\/code><\/pre>\n<p><strong>\u4f18\u70b9<\/strong>\uff1a\u5b9e\u73b0\u7b80\u5355\uff0c\u4fdd\u8bc1\u6bcf\u4e2a\u5b9e\u4f53\u81f3\u5c11\u6709\u673a\u4f1a\u8d21\u732e TU<br \/>\n<strong>\u7f3a\u70b9<\/strong>\uff1acap \u503c\u96be\u4ee5\u786e\u5b9a\uff1b\u5982\u679c\u67d0\u4e2a\u5b9e\u4f53\u786e\u5b9e\u9700\u8981\u5927\u91cf\u539f\u6587\u652f\u6491\uff0c\u4f1a\u88ab\u4eba\u4e3a\u9650\u5236<\/p>\n<h3 id=\"2round-robin\">\u65b9\u6848 2\uff1aRound-Robin\uff08\u8f6e\u8be2\uff09<\/h3>\n<p>\u6bcf\u8f6e\u4ece\u6bcf\u4e2a\u5b9e\u4f53\u53d6 1 \u4e2a TU\uff08\u6309\u5173\u7cfb\u5bc6\u5ea6\u9009\u6700\u4f18\u7684\uff09\uff0c\u5faa\u73af\u76f4\u5230\u9884\u7b97\u7528\u5b8c\uff1a<\/p>\n<pre><code class=\"language-python\">entity_queues = {i: sorted_tus_for_entity_i for i in range(len(selected_entities))}\nresult = []\nwhile budget &gt; 0 and any(entity_queues.values()):\n    for i in range(len(selected_entities)):\n        if entity_queues[i]:\n            tu = entity_queues[i].pop(0)\n            result.append(tu)\n            budget -= token_count(tu)\n<\/code><\/pre>\n<p><strong>\u4f18\u70b9<\/strong>\uff1a\u4fdd\u8bc1\u8986\u76d6\u6027\uff0c\u6bcf\u4e2a\u5b9e\u4f53\u90fd\u6709\u539f\u6587\u652f\u6491<br \/>\n<strong>\u7f3a\u70b9<\/strong>\uff1a\u6700\u76f8\u5173\u5b9e\u4f53\u7684\u6df1\u5ea6\u88ab\u7a00\u91ca\uff1b\u6392\u540d\u9760\u540e\u7684\u4e0d\u76f8\u5173\u5b9e\u4f53\u4e5f\u83b7\u5f97\u4e86\u7b49\u91cf\u9884\u7b97<\/p>\n<h3 id=\"3\">\u65b9\u6848 3\uff1a\u52a0\u6743\u914d\u989d\u5206\u914d<\/h3>\n<p>\u6309\u5b9e\u4f53\u7684\u5411\u91cf\u76f8\u4f3c\u5ea6\u5206\u6570\u5206\u914d TU \u914d\u989d\uff1a<\/p>\n<pre><code class=\"language-python\"># \u5047\u8bbe\u76f8\u4f3c\u5ea6\u5206\u6570: [0.95, 0.82, 0.71]\nscores = [0.95, 0.82, 0.71]\ntotal = sum(scores)\nquotas = [int(max_tus * s \/ total) for s in scores]\n# quotas \u2248 [15, 13, 11] (\u5047\u8bbe max_tus=39)\n<\/code><\/pre>\n<p><strong>\u4f18\u70b9<\/strong>\uff1a\u517c\u987e\u6df1\u5ea6\u548c\u5e7f\u5ea6\uff0c\u76f8\u5173\u6027\u9ad8\u7684\u5b9e\u4f53\u83b7\u5f97\u66f4\u591a\u914d\u989d\u4f46\u4e0d\u4f1a\u72ec\u5360<br \/>\n<strong>\u7f3a\u70b9<\/strong>\uff1a\u5b9e\u73b0\u590d\u6742\u5ea6\u589e\u52a0\uff1b\u9700\u8981\u4ece\u5411\u91cf\u641c\u7d22\u7ed3\u679c\u4e2d\u4fdd\u7559\u76f8\u4f3c\u5ea6\u5206\u6570\uff08\u5f53\u524d\u4ee3\u7801\u672a\u4fdd\u7559\uff09<\/p>\n<h3 id=\"4\">\u65b9\u6848 4\uff1a\u6700\u5c0f\u4fdd\u8bc1 + \u5269\u4f59\u7ade\u4e89<\/h3>\n<p>\u6bcf\u4e2a\u5b9e\u4f53\u4fdd\u8bc1\u81f3\u5c11 N \u4e2a TU\uff08\u5982 2 \u4e2a\uff09\uff0c\u5269\u4f59\u9884\u7b97\u6309\u5f53\u524d\u7b56\u7565\u7ade\u4e89\uff1a<\/p>\n<pre><code class=\"language-python\"># Phase 1: \u6bcf\u4e2a\u5b9e\u4f53\u4fdd\u8bc1 2 \u4e2a\u6700\u4f18 TU\nfor entity in selected_entities:\n    guaranteed_tus = top_2_by_relationship_density(entity)\n    result.extend(guaranteed_tus)\n\n# Phase 2: \u5269\u4f59\u9884\u7b97\u6309\u539f\u7b56\u7565\u6392\u5e8f\u586b\u5145\nremaining = all_tus - guaranteed_tus\nremaining.sort(key=lambda x: (x.entity_index, -x.num_relationships))\nfill_until_budget(remaining)\n<\/code><\/pre>\n<p><strong>\u4f18\u70b9<\/strong>\uff1a\u4fdd\u8bc1\u8986\u76d6\u6027\u7684\u540c\u65f6\u4fdd\u7559\u4e86\u539f\u7b56\u7565\u7684\u6df1\u5ea6\u4f18\u52bf<br \/>\n<strong>\u7f3a\u70b9<\/strong>\uff1a\u5982\u679c\u9009\u4e2d\u5b9e\u4f53\u5f88\u591a\uff0c\u4fdd\u8bc1\u9636\u6bb5\u53ef\u80fd\u6d88\u8017\u5927\u91cf\u9884\u7b97<\/p>\n<h2 id=\"_10\">\u603b\u7ed3<\/h2>\n<table>\n<thead>\n<tr>\n<th>\u7ef4\u5ea6<\/th>\n<th>\u5f53\u524d\u7b56\u7565<\/th>\n<th>\u95ee\u9898<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u76f8\u5173\u6027\u6df1\u5ea6<\/td>\n<td>\u2705 \u4f18\u79c0<\/td>\n<td>\u2014<\/td>\n<\/tr>\n<tr>\n<td>\u4fe1\u606f\u5bc6\u5ea6<\/td>\n<td>\u2705 \u4f18\u79c0<\/td>\n<td>\u2014<\/td>\n<\/tr>\n<tr>\n<td>\u8986\u76d6\u5e7f\u5ea6<\/td>\n<td>\u274c \u7f3a\u5931<\/td>\n<td>\u70ed\u95e8\u5b9e\u4f53\u9738\u5360\u9884\u7b97<\/td>\n<\/tr>\n<tr>\n<td>\u5185\u5bb9\u591a\u6837\u6027<\/td>\n<td>\u274c \u7f3a\u5931<\/td>\n<td>\u540c\u8d28\u5316\u98ce\u9669<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>GraphRAG \u5f53\u524d\u7684 Text Unit \u9009\u62e9\u7b56\u7565\u662f\u4e00\u4e2a&#8221;\u6df1\u5ea6\u4f18\u5148&#8221;\u7684\u8bbe\u8ba1\uff0c\u5b83\u5728&#8221;\u5173\u4e8e\u5355\u4e00\u5b9e\u4f53\u7684\u95ee\u9898&#8221;\u573a\u666f\u4e0b\u8868\u73b0\u826f\u597d\uff0c\u4f46\u5728\u6d89\u53ca\u591a\u5b9e\u4f53\u4ea4\u53c9\u5173\u7cfb\u7684\u67e5\u8be2\u4e2d\u4f1a\u66b4\u9732\u8986\u76d6\u6027\u4e0d\u8db3\u7684\u95ee\u9898\u3002<\/p>\n<p>\u6700\u52a1\u5b9e\u7684\u6539\u8fdb\u662f<strong>\u65b9\u6848 4\uff08\u6700\u5c0f\u4fdd\u8bc1 + \u5269\u4f59\u7ade\u4e89\uff09<\/strong>\u2014\u2014\u5b83\u4ee5\u6700\u5c0f\u7684\u4ee3\u7801\u6539\u52a8\u4fdd\u8bc1\u4e86\u6bcf\u4e2a\u9009\u4e2d\u5b9e\u4f53\u81f3\u5c11\u6709\u539f\u6587\u652f\u6491\uff0c\u540c\u65f6\u4e0d\u7834\u574f\u539f\u7b56\u7565\u5728\u4e3b\u6d41\u573a\u666f\u4e0b\u7684\u4f18\u52bf\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5f15\u8a00 GraphRAG \u7684 Local Search \u5728\u67e5\u8be2\u65f6\u9700\u8981\u4ece\u77e5\u8bc6\u56fe\u8c31\u5173\u8054\u7684\u539f\u59cb\u6587\u672c\u7247\u6bb5\uff08Text Un [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[66],"tags":[107,108,109,110,111,62],"class_list":["post-71","post","type-post","status-publish","format-standard","hentry","category-graphrag","tag-local-search","tag-text-unit","tag-109","tag-110","tag-111","tag-62"],"_links":{"self":[{"href":"https:\/\/genetop.top\/index.php\/wp-json\/wp\/v2\/posts\/71","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/genetop.top\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/genetop.top\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/genetop.top\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/genetop.top\/index.php\/wp-json\/wp\/v2\/comments?post=71"}],"version-history":[{"count":0,"href":"https:\/\/genetop.top\/index.php\/wp-json\/wp\/v2\/posts\/71\/revisions"}],"wp:attachment":[{"href":"https:\/\/genetop.top\/index.php\/wp-json\/wp\/v2\/media?parent=71"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/genetop.top\/index.php\/wp-json\/wp\/v2\/categories?post=71"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/genetop.top\/index.php\/wp-json\/wp\/v2\/tags?post=71"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}