超越perplexity!GraphRAG+Open WebUI+Tavily AI,打造超强多模式检索聊天机器人,本地搜索、全局搜索、在线搜索三合一!#graphrag #tavily #rag

AI超元域
Jul 15, 2024

--

🔥🔥🔥本篇笔记所对应的YouTube视频 https://youtu.be/z4Si6O5NQ4c

GraphRAG+FastAPI+OpenWebUI实现GraphRAG4OpenWebUI

视频中的开源项目链接 https://github.com/win4r/GraphRAG4OpenWebUI

Open WebUI安装

pip install open-webui
open-webui serve###在浏览器中打开http://localhost:8080/

Tavily AI API申请 https://app.tavily.com/home

GraphRAG详细配置请看这个视频 https://youtu.be/CvCVFH7bsAk

GraphRAG用ollama运行本地模型请看这个视频 https://youtu.be/XiLEZzm7yCk

GraphRAG4OpenWebUI配置

git clone https://github.com/your-username/GraphRAG4OpenWebUI.git
cd GraphRAG4OpenWebUIpython -m venv venvsource venv/bin/activate  # On Windows use venv\Scripts\activate
pip install fastapi uvicorn pandas tiktoken graphrag tavily-python pydantic python-dotenv asyncio aiohttp numpy scikit-learn matplotlib seaborn nltk spacy transformers torch torchvision torchaudio
export GRAPHRAG_API_KEY="your_graphrag_api_key"
export TAVILY_API_KEY="your_tavily_api_key"
export GRAPHRAG_LLM_MODEL="gpt-3.5-turbo"
export GRAPHRAG_EMBEDDING_MODEL="text-embedding-3-small"
export INPUT_DIR="/path/to/your/input/directory"
python main.py###接口地址为 http://localhost:8012

👉👉👉如有问题请联系我的徽信 stoeng

🔥🔥🔥本项目代码由AI超元域频道制作,观看更多大模型微调视频请访问我的频道⬇

👉👉👉我的哔哩哔哩频道

👉👉👉我的YouTube频道

👉👉👉我的开源项目 https://github.com/win4r/AISuperDomain

👉👉👉我的开源项目 https://github.com/win4r/GraphRAG4OpenWebUI

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

No responses yet

Write a response