🧠
四层记忆模型
工作记忆 · 事实记忆 · 情景记忆 · 语义记忆,像人一样,记住你说过的每一件事
git clone https://github.com/Grabrun/YuanBot.git
cd YuanBot
python3 -m venv .venv
source .venv/bin/activate
pip install -e "."
pip install -e ".[cli,openai]" # 可选扩展
yuanbot startgit clone https://github.com/Grabrun/YuanBot.git
cd YuanBot
python -m venv .venv
.venv\Scripts\activate
pip install -e "."
pip install -e ".[cli,openai]" # 可选扩展
yuanbot startgit clone https://github.com/Grabrun/YuanBot.git
cd YuanBot
cp .env.example .env
# 编辑 .env,填入你的 API Key
docker-compose up -d首次启动后访问 http://localhost:8000 进入 WebUI,或运行 yuanbot tui 进入终端界面。
| 领域 | 技术 |
|---|---|
| 后端 | Python 3.12+ · FastAPI + WebSocket · structlog · Prometheus |
| 前端 | Vue 3 + Naive UI · Textual (TUI) |
| 数据 | SQLite + MySQL · Milvus Lite 向量数据库 · Kuzu 图数据库 · Redis 缓存 |
| 基础设施 | WASM / Docker / gRPC 三沙盒 · GitHub Actions CI/CD |
| 引擎 | 用途 |
|---|---|
| SQLite + FTS5 | 结构化数据 + 全文检索 |
| MySQL | 生产级关系型存储 |
| Milvus Lite | 向量数据库,语义检索 |
| Kuzu | 图数据库,关系推理 |
© 2026 YuanBot · Made with 🌸 by Grabrun