- 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/ 代理已配置
14 lines
267 B
Plaintext
14 lines
267 B
Plaintext
# LLM(通过 LiteLLM 网关)
|
||
LITELLM_PROXY_URL=http://127.0.0.1:4000/v1
|
||
LITELLM_MASTER_KEY=
|
||
MODEL_ID=qwen-plus
|
||
|
||
# 向量化(DashScope text-embedding-v4)
|
||
DASHSCOPE_API_KEY=
|
||
|
||
# 共享 VOC 数据层
|
||
VOC_DATA_DIR=/opt/apps/voc-researcher/data
|
||
|
||
# 服务
|
||
PORT=8093
|