开源推荐
evening
GitHub热门项目: Autogen_GraphRAG_Ollama
2026-07-02
1 阅读
约10分钟阅读
GitHub Trending
字号:
GitHub 项目:Autogen_GraphRAG_Ollama
仓库地址:https://github.com/karthikvenkatesan-eaton/Autogen_GraphRAG_Ollama
Stars:844 | 作者:karthikvenkatesan-eaton
项目描述:Microsoft's GraphRAG + AutoGen + Ollama + Chainlit = Fully Local & Free Multi-Agent RAG Superbot
===================================================
自述文件内容:
# GraphRAG + AutoGen + Ollama + Chainlit UI = Local Multi-Agent RAG Superbot

This application integrates GraphRAG with AutoGen agents, powered by local LLMs from Ollama, for free and offline embedding and inference.主要亮点包括:
- **Agentic-RAG:** - Integrating GraphRAG's knowledge search method with an AutoGen agent via function calling.
- **Offline LLM Support:** - Configuring GraphRAG (local & global search) to support local models from Ollama for inference
和嵌入。
- **Non-OpenAI Function Calling:** - Extending AutoGen to support function calling with non-OpenAI LLMs from Ollama via Lite-LLM proxy
服务器。
- **Interactive UI:** - Deploying Chainlit UI to handle continuous conversations, multi-threading, and user input settings.


## Useful Links 🔗
- **完整指南:** Microsoft 的 GraphRAG + AutoGen + Ollama + Chainlit = 完全本地且免费的多代理 RAG Superbot [Medium.com](https://medium.com/@karthik.codex/microsofts-graphrag-autogen-ollama-chainlit-complete-local-free-multi-agent-rag-superbot-61ad3759f06f) 📚
## 📦 Installation and Setup Linux
Follow these steps to set up and run AutoGen GraphRAG Local with Ollama and Chainlit UI:
1. **安装法学硕士:**
Visit [Ollama's website](https://ollama.com/) for installation files.
````bash
奥拉马·拉·米斯特拉尔
ollama pull nomic-embed-text
欧拉马拉 llama3
乌拉马服务
````
2. **Create conda environment and install packages:**
````bash
conda create -n RAG_agents python=3.12
conda 激活 RAG_agents
git clone https://github.com/karthik-codex/autogen_graphRAG.git
cd autogen_graphRAG
pip install -r 要求.txt
````
3. **Initiate GraphRAG root folder:**
````bash
mkdir -p ./输入
python -m graphrag.index --init --root .
mv ./utils/settings.yaml ./
````
4. **Replace 'embedding.py' and 'openai_embeddings_llm.py' in the GraphRAG package folder using files from Utils folder:**
````bash
sudo find / -name openai_embeddings_llm.py
sudo find / -name embedding.py
````
5. **Create embeddings and knowledge graph:**
````bash
python -m graphrag.index --root .
````
6. **启动Lite-LLM代理服务器:**
````bash
litellm --模型 ollama_chat/llama3
````
7. **运行应用程序:**
````bash
chainlit运行appUI.py
````
## 📦 安装和设置 Windows
Follow these steps to set up and run AutoGen GraphRAG Local with Ollama and Chainlit UI on Window
这篇文章对您有帮助吗?
订阅66必读
每日精选科技资讯,直达你的邮箱