We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54fc6dc commit 853aa12Copy full SHA for 853aa12
graphrag/index.py
@@ -85,7 +85,7 @@ def build_knowlege_graph_chunks(tenant_id: str, chunks: List[str], callback, ent
85
graphs.append(_.result().output)
86
callback(0.5 + 0.1*i/len(threads), f"Entities extraction progress ... {i+1}/{len(threads)}")
87
88
- graph = reduce(graph_merge, graphs)
+ graph = reduce(graph_merge, graphs) if graphs else nx.Graph()
89
er = EntityResolution(llm_bdl)
90
graph = er(graph).output
91
0 commit comments