graphrag icon indicating copy to clipboard operation
graphrag copied to clipboard

[Issue]: Cannot read CSV file!!!

Open kiedeng opened this issue 11 months ago • 1 comments

Do you need to file an issue?

  • [x] I have searched the existing issues and this bug is not already filed.
  • [x] My model is hosted on OpenAI or Azure. If not, please look at the "model providers" issue and don't file a new one here.
  • [x] I believe this is a legitimate bug, not just a question. If this is a question, please use the Discussions area.

Describe the issue

version : 0.9.0 During the process of generating and retrieving a CSV, it was found that it could not be executed normally, whereas the text generation worked fine.
在进行csv的生成检索中,发现不能正常执行,text是可以正常生成的。

The command used:
poetry run poe index --root indexs/ragtest_csv

The settings.yaml file was modified with the following configuration:

input:
  type: file
  file_type: csv
  file_pattern: ".*\\.csv$"

The error message is:
Image

debug error: Image

kiedeng avatar Jan 03 '25 09:01 kiedeng

Have you solved this problem? I also encountered the same problem, especially when the number of columns in the csv file exceeds 2, how should the text_column configured in setting.yaml be written?

yyqstudy avatar Mar 26 '25 06:03 yyqstudy

We have a docs page detailing how to configure the input columns. I highly suggest moving to a newer version though, as we continually update the docs to reflect the latest and don't provide much support for prior versions.

natoverse avatar Jun 23 '25 22:06 natoverse