graphrag icon indicating copy to clipboard operation
graphrag copied to clipboard

[Issue]: <title> create_final_entities error when i use ollama embedding model

Open sysullf opened this issue 1 year ago • 0 comments

Describe the issue

In order to switch the LLM and embedding modules in Graphrag to the local version, I deployed the ollama service and then configured the Graphrag configuration file according to the requirements https://github.com/TheAiSingularity/graphrag-local-ollama Make modifications, and finally an error occurs in the 'creat_final_dentities' step. After reading the source code, it was found that Graphrag relies on OpenAI's Python API, which does not support the embedding of ollama. Do you have any plans to support ollama as a model for LLM and embedding in the future? thank you.

Steps to reproduce

No response

GraphRAG Config Used

No response

Logs and screenshots

No response

Additional Information

  • GraphRAG Version:
  • Operating System:
  • Python Version:
  • Related Issues:

sysullf avatar Jul 11 '24 07:07 sysullf