Initial commit: GovAI 政务AI平台

This commit is contained in:
freedakgmail
2026-06-15 23:48:37 +08:00
commit 0f490f72a9
245 changed files with 51669 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
# PPT Worker 配置
# 服务配置
WORKER_HOST=0.0.0.0
WORKER_PORT=8090
WORKER_CONCURRENCY=2
# 数据库
DATABASE_URL=postgres://postgres:postgres@localhost:5432/govai
# Redis
REDIS_URL=redis://localhost:6379/0
# PPT Master 路径
PPT_MASTER_PATH=/Users/freedak/Documents/go-new/ppt-master
# 文件存储
UPLOAD_DIR=/tmp/govai/uploads
OUTPUT_DIR=/tmp/govai/outputs
PROJECTS_DIR=/tmp/govai/ppt-projects
# LLM 配置(通义千问,DashScope OpenAI 兼容接口)
LLM_PROVIDER=openai
OPENAI_API_KEY=sk-xxxxxxxxxxxxxxxx
OPENAI_BASE_URL=https://dashscope.aliyuncs.com/compatible-mode/v1
OPENAI_MODEL=qwen-max
# 图片生成 — 通义万相(DashScope 异步 API
# 与 LLM 共用同一个 DashScope API Key,无需额外配置
IMAGE_BACKEND=wanx
IMAGE_API_KEY=
WANX_MODEL=wanx-v1