graphrag: ❌ Errors in create_base_entity_graph

image I have successfully replicated the result for the official demo from get started. This happens when I try on new data by extracting the textual info from a company’s pdf report and storing textual information in input.txt. I have used UTF-8 encoding and the length of the document is rather short compared to the example. This error is raised as seen in the log:

raise ValueError("Columns must be same length as key")
ValueError: Columns must be same length as key

Can anyone help me with this issue, please? I am not very familiar with the pipeline as well as the technical details behind this. It’s more for me to explore at this time. Thx in advance!

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 26

Most upvoted comments

im having this same issue

Same issue here, failed with both gpt-4o and gpt-4o-mini. .\cache\entity_extraction is empty. Pls advice if theres any fix or viable workaround.

I did repo into the same directory and I got it working

On Tue, 9 Jul 2024, 14:23 lifelmy, @.***> wrote:

me too

— Reply to this email directly, view it on GitHub https://github.com/microsoft/graphrag/issues/437#issuecomment-2216275349, or unsubscribe https://github.com/notifications/unsubscribe-auth/BHZFMU7REM73EBXXA3555BLZLNCRHAVCNFSM6AAAAABKQ3CEAKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJWGI3TKMZUHE . You are receiving this because you commented.Message ID: @.***>