Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ValueError: Shape of passed values is (1, 1), indices imply (1, 2) #81

Open
Haiker-hub opened this issue Aug 4, 2024 · 3 comments
Open

Comments

@Haiker-hub
Copy link

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?

@shaoqing404
Copy link

这个问题似乎是模型导致的。请注意你的default.txt必须是utf8且不能有特殊的意外字符

@fenzi1223
Copy link

我也是这个问题,请问您解决了吗?如何解决呢

@shaoqing404
Copy link

我也是这个问题,请问您解决了吗?如何解决呢

更新graphrag到新版本

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants