Files
JARVIS/backend
WIN-JHFT4D3SIVT\caoxiaozhu 11160ec4d2 feat(memory): complete M.2-M.5 memory upgrade phases with tests
- M.2: ForgettingCurve, MemoryDecay, MemoryReinforcement (selective forgetting)
- M.3: DailyDigestGenerator, ReminderScheduler, ProactiveInformer (proactive reminders)
- M.4: MemoryExtractor with LLM-based memory extraction from conversations
- M.5: MemoryRecallInjector with token budget control for prompt injection
- All phases include comprehensive unit tests (109 tests passing)
- Updated checklist.md to mark all tasks complete
2026-04-05 14:09:51 +08:00
..
2026-03-22 22:42:47 +08:00
2026-03-22 22:42:47 +08:00

Jarvis Backend

快速开始

1. 安装依赖

cd backend
uv sync

2. 配置环境变量

cd ..
cp backend/.env.example .env
# 编辑项目根目录 .env

3. 启动开发服务器

uv run uvicorn app.main:app --reload --host "$HOST" --port "$PORT"

4. API 文档

启动后访问 http://<HOST>:<PORT>/docs 查看交互式 API 文档(以项目根目录 .env 中的 HOSTPORT 为准)。

环境变量

.env.example

数据库

SQLite 数据库位于 ./data/jarvis.db,首次启动自动创建表。