Files
storyforge/TECH_ARCHITECTURE.md
2026-03-14 21:32:55 +08:00

27 lines
683 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# StoryForge Technical Architecture
## Core Components
- Android App: 素材探索、文案生产、个人配置、管理员审批、OTA
- Collector Service: FastAPI + SQLite负责业务流程编排
- Local Model API: 默认指向本机 `cli-proxy-api`
- FastGPT: 负责数据集和后续工作流扩展
- MongoDB / PostgreSQL + pgvector / Redis / MinIO: FastGPT 运行依赖
## Main Flow
User -> Android App -> Collector Service -> Local Model / FastGPT
## Data Isolation
- `accounts`
- `knowledge_bases`
- `assistants`
- `assistant_knowledge_bases`
- `knowledge_documents`
- `jobs`
- `model_profiles`
- `app_updates`
每个用户的数据通过 `user_id` 进行隔离。