autogen icon indicating copy to clipboard operation
autogen copied to clipboard

Update GraphRAG version

Open ekzhu opened this issue 9 months ago • 1 comments

Confirmation

  • [x] I confirm that I am a maintainer and so can use this template. If I am not, I understand this issue will be closed and I will be asked to use a different template.

Issue body

GraphRAG made some API changes since 1.2.0. We need to catch up with the latest version.

Also update the autogen version in the sample: https://github.com/microsoft/autogen/blob/main/python/samples/agentchat_graphrag/requirements.txt

Related: #6201

ekzhu avatar Apr 04 '25 22:04 ekzhu

I will try to have a look soon.

lspinheiro avatar Apr 04 '25 22:04 lspinheiro

"run Autogen and GraphRAG sample, report error: ModuleNotFoundError: No module named 'graphrag.config.config_file_loader'" the issue still exist after upgrading GraphRAG version. Details: https://github.com/microsoft/autogen/issues/6201#issuecomment-2993449791

cuckootan avatar Jun 23 '25 04:06 cuckootan

same issue from 0.6.1 to GraphRAG 2.0 above

python -c "from autogen_ext.tools.graphrag import GlobalSearchTool, LocalSearchTool; print('Impor t successful')"

Traceback (most recent call last): File "", line 1, in File "python3.12/site-packages/autogen_ext/tools/graphrag/init.py", line 9, in from ._global_search import GlobalSearchTool, GlobalSearchToolArgs, GlobalSearchToolReturn File "python3.12/site-packages/autogen_ext/tools/graphrag/_global_search.py", line 8, in from graphrag.config.config_file_loader import load_config_from_file ModuleNotFoundError: No module named 'graphrag.config.config_file_loader

cv-marvin avatar Jun 26 '25 13:06 cv-marvin