feat: 独立后端(共享 VOC 数据层 + 自有分析存储)

- backend/server.py: FastAPI 端口 8093
- backend/db.py: 双库设计(案例 DB 读写 + VOC DB 只读)
- backend/tools/ude_extract.py: UDE 转写 + 向量聚类
- backend/prompts/voc_to_ude.txt: TOC 7条规范约束
- 已部署至 /opt/apps/mafia-proposal/ (systemd)
- Nginx /copaw/mafia/api/ 代理已配置
This commit is contained in:
2026-04-07 18:13:19 +08:00
parent 9417781df3
commit ec8eaa0b36
8 changed files with 793 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
# Tools 注册表
from tools.ude_extract import run_ude_extraction, run_clustering, run_coverage_scan
__all__ = [
"run_ude_extraction",
"run_clustering",
"run_coverage_scan",
]