kotaemon icon indicating copy to clipboard operation
kotaemon copied to clipboard

[BUG] - graph rag collection error

Open klei30 opened this issue 1 year ago • 4 comments

Description

the documents uploads successfully in the UI but when i chat with that document from the graph rag collection it output this error :

image

Reproduction steps

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

Screenshots

![DESCRIPTION](LINK.png)

Logs

File "C:\Users\PC\anaconda3\envs\kotaemon\lib\site-packages\theflow\base.py", line 1017, in _runx
    return self.run(*args, **kwargs)
  File "C:\Users\PC\Desktop\kotaemon\libs\ktem\ktem\index\file\graph\pipelines.py", line 321, in run
    context_builder = self._build_graph_search()
  File "C:\Users\PC\Desktop\kotaemon\libs\ktem\ktem\index\file\graph\pipelines.py", line 181, in _build_graph_search
    list(output_path.iterdir()), key=lambda x: x.stem, reverse=True
  File "C:\Users\PC\anaconda3\envs\kotaemon\lib\pathlib.py", line 1017, in iterdir
    for name in self._accessor.listdir(self):
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\\Users\\PC\\Desktop\\kotaemon\\ktem_app_data\\user_data\\files\\graphrag\\51145e17-17c4-46f2-9ce9-ae64e109bbfb\\output'

Browsers

Chrome

OS

Windows

Additional information

No response

klei30 avatar Sep 02 '24 14:09 klei30

same here

ariuka-ganzo avatar Sep 03 '24 08:09 ariuka-ganzo

same

hoilar avatar Sep 10 '24 08:09 hoilar

same

Xscut avatar Sep 12 '24 09:09 Xscut

@klei30 @ariuka-ganzo @hoilar supposedly this is due to some misconfigurations while setting up. Can you try our latest package again to see if it solves your problem? Else, please provide us the detailed logs for investigation. Thanks a bunch!

cin-jimmy avatar Oct 14 '24 05:10 cin-jimmy