GraphRAG using Local LLMs - Features robust API and multiple apps for Indexing/Prompt Tuning/Query/Chat/Visualizing/Etc. This is meant to be the ultimate GraphRAG/KG local LLM app.
MIT License
1.51k
stars
173
forks
source link
ValueError: Shape of passed values is (1, 1), indices imply (1, 2) #81
Hi, I'm a newbie, and while using a directive like "python -m graphrag.index --root./indexing", I get the error described in the title at the "create_base_entity_graph" step. In the code is "cluster_graph.py" in line 101 "output_df[[level_to, to]] = pd.DataFrame(output_df[to].tolist(), index=output_df.index, columns=[level_to, to]). indexing's input folder is the default.txt provided by the source code. How to solve this problem?
Hi, I'm a newbie, and while using a directive like "python -m graphrag.index --root./indexing", I get the error described in the title at the "create_base_entity_graph" step. In the code is "cluster_graph.py" in line 101 "output_df[[level_to, to]] = pd.DataFrame(output_df[to].tolist(), index=output_df.index, columns=[level_to, to]). indexing's input folder is the default.txt provided by the source code. How to solve this problem?