Fast GraphRAG offers two main installation options:
1. Install from source (recommended for best performance)
- Cloning Warehouse:
git clone https://github.com/circlemind-ai/fast-graphrag - Go to the catalog:
cd fast-graphrag - Use poetry to install:
poetry install
2. Installation via PyPi (recommended stability)
Just execute:pip install fast-graphrag
Quick Start Guide
- Set the OpenAI API key:
export OPENAI_API_KEY="sk-..." - Download sample text:
curl... > ./book.txt - (Optional) Set the concurrency limit:
export CONCURRENT_TASK_LIMIT=8
Users can also refer to the Python code samples provided in the article for quick implementation of knowledge graph generation, querying and visualization.
This answer comes from the articleFast GraphRAG: A Highly Accurate and Low-Cost Graphical Search Enhancement Generation ToolThe































