API for Open WebUI integrating Microsoft's GraphRAG
Top 60.4% on sourcepulse
This project integrates Microsoft's GraphRAG technology into Open WebUI, offering a versatile information retrieval API for advanced Q&A systems and search engines. It targets developers and users seeking to enhance web interfaces with sophisticated, graph-based search capabilities, combining local, global, and web searches for more comprehensive results.
How It Works
The system leverages GraphRAG's graph-based retrieval methods to improve search accuracy and relevance. It supports three primary retrieval strategies: local search for structured knowledge bases, global search for broader context, and Tavily search for external web information. A "Full Model Search" option combines all three, automatically integrating and ranking results from diverse sources.
Quick Start & Requirements
pip install -r requirements.txt
.python main-en.py
. Open WebUI can be configured to use the API endpoint http://localhost:8012/v1/chat/completions
.Highlighted Details
Maintenance & Community
The project is maintained by win4r. Contact information for issues is provided via WeChat (stoeng
). Contributions via pull requests are welcome.
Licensing & Compatibility
Limitations & Caveats
The graphrag
package installation might require specific instructions from Microsoft Research if the standard pip install
fails. The project relies on asynchronous programming, requiring compatible environments. For production, an ASGI server is recommended.
6 months ago
1 day