GraphRAG-Benchmark icon indicating copy to clipboard operation
GraphRAG-Benchmark copied to clipboard

ImportError: cannot import name 'HuggingFaceEmbeddingService' from 'fast_graphrag._llm'

Open ridiculers opened this issue 1 year ago • 2 comments

作者你好,感谢你们在图rag上的很好的工作。 我在运行Examples/run_fast-graphrag.py时遇到了如题的报错,经查阅fast_graphrag这个项目,发现相关文件下并没有HuggingFaceEmbeddingService这个类。 请问一下这个类是你们团队自己实现并插入fast_graphrag的_llm.py中吗?

$ pip list|grep fa
fast-graphrag                 0.0.5

ridiculers avatar Jul 13 '25 13:07 ridiculers

感谢您对我们工作的关注!同时感谢您指出问题所在,关于fast-graphrag这个项目,的确需要额外适配,我们已经把相关代码说明增加到README中,方便大家快速使用。目前项目还在持续更新阶段,后续我们会继续优化代码,再次感谢您对我们工作的支持!

GraphRAG-Bench avatar Jul 15 '25 02:07 GraphRAG-Bench

好的,谢谢你!

感谢您对我们工作的关注!同时感谢您指出问题所在,关于fast-graphrag这个项目,的确需要额外适配,我们已经把相关代码说明增加到README中,方便大家快速使用。目前项目还在持续更新阶段,后续我们会继续优化代码,再次感谢您对我们工作的支持!

ridiculers avatar Jul 15 '25 11:07 ridiculers