unis_manager/.env.example

16 lines
560 B
Bash
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# ---- 数据库 ----
# 默认 SQLite(零配置)。迁移 MySQL 时改成:
# DATABASE_URL=mysql+pymysql://user:password@127.0.0.1:3306/unis_board?charset=utf8mb4
DATABASE_URL=sqlite:///./data/board.db
# ---- AI 整理(OpenAI 兼容协议)----
# DeepSeek / 通义千问(兼容模式) / Moonshot / 智谱 / OpenAI / 本地 Ollama 均可
# 留空 AI_API_KEY 时,系统自动降级为「本地规则解析」,功能仍可用
AI_API_BASE=https://api.deepseek.com/v1
AI_API_KEY=
AI_MODEL=deepseek-chat
AI_TEMPERATURE=0.2
# ---- 服务 ----
PORT=8770