基于 DeepSeek-V3 的混合检索增强生成 (Hybrid RAG) 科研助手。支持本地向量库 ChromaDB、Rerank 重排序及联网搜索。
这是一个基于 DeepSeek-V3 的全能型科研助手。它采用了 Hybrid RAG(混合检索增强生成) 架构,结合了 ChromaDB 本地向量库、Rerank 重排序技术 以及 Tavily 联网搜索,能够精准地回答基于本地文档或互联网的问题。
reading_Agent/
├── .streamlit/
│ └── secrets.toml # [关键] 存放 API 密钥配置文件
├── history_data/ # [自动生成] 存放对话历史 JSON
├── chroma_db/ # [自动生成] 向量数据库文件
├── modules/ # 核心功能模块
│ ├── database.py # ChromaDB 增删改查
│ ├── embedder.py # Embedding API 封装
│ ├── reranker.py # Rerank API 封装
│ ├── retriever.py # 混合检索逻辑
│ ├── processor.py # 文档解析与切分
│ ├── web_search.py # 联网搜索模块
│ └── history.py # 历史记录管理
├── app.py # Streamlit 主程序入口
├── requirements.txt # 项目依赖
└── README.md # 说明文档
🚀 快速开始
1. 安装依赖
确保你安装了 Python 3.8+,然后在终端运行:
Bash
pip install -r requirements.txt
2. 配置密钥
在项目根目录下创建文件夹 .streamlit,并在其中新建文件 secrets.toml。 填入你的 API Key:
Ini, TOML
# .streamlit/secrets.toml
# 1. 大模型 (DeepSeek)
DEEPSEEK_API_KEY = "sk-xxxxxxxxxxxxxxxx"
DEEPSEEK_BASE_URL = "[https://api.deepseek.com](https://api.deepseek.com)"
# 2. Embedding 模型 (推荐智谱 / 硅基流动)
Open-source AI coding agent for the terminal. Claude Code-grade accuracy with smart model routing — uses the right AI model for each task, cutting costs 10x. Supports Claude, GPT, Gemini, DeepSeek & more.
A general-purpose Python framework for building LLM agents and multi-agent systems. "Four lines of code, an agent with memory."
Ultimate LLM API Integration Cookbook 2026 for Cursor & AI Agents
Ultimate Multi-Agent OS for Autonomous AI NPCs 2026
PrivateAgent is an open-source Android automation agent built with Flutter. It utilizes the DeepSeek API and native Android Accessibility Services to interpret screen layouts and execute multi-step tasks across any installed application via natural language commands.
把一队分工 Agent 织成一条写小说的流水线,做成桌面客户端;写作指纹让它越写越像你(BYO DeepSeek key,纯本地)。
Workflows from the Neura Market marketplace related to this DeepSeek resource