Skip to content

teezeerc/graphrag-for-ollama

 
 

graphrag-for-ollama

Microsoft graphrag library updated to use Ollama for indexing and GLOBAL and LOCAL search. Only two files were changed: llm/openai/openai_embeddings_llm.py and query/llm/oai/embedding.py

installation

From that point follow instructions from original guide: https://microsoft.github.io/graphrag/posts/get_started/

settings.xml

for "llm:" config use

  • api_base: http://ollama_address:11434/v1

for "embeddings:" config use

  • api_base: http://ollama_address:11434/api

acknowledgements

About

A modular graph-based Retrieval-Augmented Generation (RAG) system

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 95.1%
  • Jupyter Notebook 3.8%
  • Nunjucks 0.6%
  • Jinja 0.2%
  • CSS 0.1%
  • JavaScript 0.1%
  • Shell 0.1%