Files
JARVIS/backend
DESKTOP-72TV0V4\caoxiaozhu 3ee825aa90 Add MinerU document ingestion support
Normalize uploaded documents into structured markdown, add clearer parser
errors for missing dependencies, and cover the ingestion flow with
backend tests. This also replaces deprecated UTC timestamp helpers in
the touched backend paths so the knowledge pipeline stays warning-free.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-22 13:42:16 +08:00
..
2026-03-22 13:42:16 +08:00
2026-03-22 13:42:16 +08:00

Jarvis Backend

快速开始

1. 安装依赖

cd backend
uv sync

2. 配置环境变量

cp .env.example .env
# 编辑 .env 填入 API Key

3. 启动开发服务器

uv run uvicorn app.main:app --reload --port 8000

4. API 文档

启动后访问 http://localhost:8000/docs 查看交互式 API 文档。

环境变量

.env.example

数据库

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