kotaemon
kotaemon copied to clipboard
[BUG] - graph rag collection error
Description
the documents uploads successfully in the UI but when i chat with that document from the graph rag collection it output this error :
Reproduction steps
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
Screenshots

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
same here
same
same
@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!