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

[BUG] MS GraphRAG create_base_entity_graph error #555

Open
dromeuf opened this issue Dec 6, 2024 · 0 comments
Open

[BUG] MS GraphRAG create_base_entity_graph error #555

dromeuf opened this issue Dec 6, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@dromeuf
Copy link

dromeuf commented Dec 6, 2024

Description

I was able to use MS GraphRAG despite the dependency errors. It seems that since version 0.9.3, which I updated by git pull from 0.9.2, or a total pip/Linux reinstallation in 0.9.4, I get an error create_base_entity_graph.

use_quick_index_mode False
reader_mode default
Chunk size: None, chunk overlap: None
Using reader <kotaemon.loaders.pdf_loader.PDFThumbnailReader object at 0x7f6ca6cd2450>
/home/kota/anaconda3/envs/kotaemon_env/lib/python3.11/site-packages/pypdf/_crypt_providers/_cryptography.py:32: CryptographyDeprecationWarning:

ARC4 has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.ARC4 and will be removed from cryptography.hazmat.primitives.ciphers.algorithms in 48.0.0.

Page numbers: 23
Got 23 page thumbnails
Adding documents to doc store
indexing step took 0.34505462646484375
Initializing project at /home/kota/kotaemon_env/ktem_app_data/user_data/files/graphrag/bfa35cd6-824d-492c-a7c9-d787dfe6118d

/home/kota/anaconda3/envs/kotaemon_env/lib/python3.11/site-packages/numpy/core/fromnumeric.py:59: FutureWarning: 'DataFrame.swapaxes' is deprecated and will be removed in a future version. Please use 'DataFrame.transpose' instead.
  return bound(*args, **kwds)

and when Chat request prompt

  File "/home/kota/anaconda3/envs/kotaemon_env/lib/python3.11/site-packages/pandas/io/parquet.py", line 140, in _get_path_or_handle
    handles = get_handle(
              ^^^^^^^^^^^
  File "/home/kota/anaconda3/envs/kotaemon_env/lib/python3.11/site-packages/pandas/io/common.py", line 882, in get_handle
    handle = open(handle, ioargs.mode)
             ^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/home/kota/kotaemon_env/ktem_app_data/user_data/files/graphrag/bfa35cd6-824d-492c-a7c9-d787dfe6118d/output/create_final_nodes.parquet'
User-id: 1, can see public conversations: True

Reproduction steps

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

Screenshots

![DESCRIPTION](LINK.png)

Logs

No response

Browsers

Firefox

OS

Linux

Additional information

No response

@dromeuf dromeuf added the bug Something isn't working label Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant