- 统一为 DASHSCOPE_API_KEY(百炼 Key 通吃 LLM + Embedding) - import-voc 后自动触发 UDE 转写 + 向量化(后台 asyncio task) - 新增 GET /pipeline-status 查询流水线进度 - run_clustering 变纯 CPU(向量已预计算) - 新增独立 run_vectorization 函数 - 修复 Python 3.9 类型注解兼容性
18 lines
483 B
Plaintext
18 lines
483 B
Plaintext
# 黑手党提案后端 v2.1 — BYOK 模式
|
||
# 合伙人通过 Header 传入百炼 Key,服务器仅提供算法编排
|
||
|
||
# VOC 公网 API(跨云只读访问)
|
||
VOC_API_BASE=https://brand.brainwork.club/voc/api/research
|
||
|
||
# Fallback DashScope Key(平台方自测用)
|
||
# 合伙人通过 X-DashScope-Key Header 传入自己的 Key
|
||
# 百炼 Key 一个通吃:LLM 推理 + Embedding 向量化
|
||
DASHSCOPE_API_KEY=sk-xxx
|
||
|
||
# 模型
|
||
MODEL_ID=qwen-plus
|
||
TEMPERATURE=0.1
|
||
|
||
# 端口
|
||
PORT=8093
|