this is a repo to test graphrag vs naive rag.
follow 官方blog and GraphRAG with Ollama
notice, you need to replace the embedding_model file in the graphrag lib (this is a hack).
also notice, for local rag, this hack will fail. so more modification needs to be done.
you can run it from this script
follow this