56 lines
2.3 KiB
Plaintext
56 lines
2.3 KiB
Plaintext
# Database Configuration
|
||
DATABASE_URL=sqlite+aiosqlite:///./neural_sync.db
|
||
# For PostgreSQL with pgvector:
|
||
# DATABASE_URL=postgresql+asyncpg://postgres:postgres@localhost:5435/neural_sync
|
||
|
||
# ========================================
|
||
# LLM Provider Configuration
|
||
# ========================================
|
||
# 选择 LLM 提供商: ollama, deepseek, openai, qwen
|
||
# - ollama: 本地运行 (免费,但占用 CPU/内存)
|
||
# - deepseek: 云端 API (便宜,¥1/百万 tokens)
|
||
# - openai: 云端 API (GPT-4,较贵)
|
||
# - qwen: 阿里云通义千问 (便宜,国内稳定)
|
||
LLM_PROVIDER=deepseek
|
||
|
||
# --- DeepSeek 配置 (推荐,便宜好用) ---
|
||
DEEPSEEK_API_KEY=your_deepseek_api_key_here
|
||
DEEPSEEK_BASE_URL=https://api.deepseek.com/v1
|
||
|
||
# --- OpenAI 配置 ---
|
||
OPENAI_API_KEY=your_openai_api_key_here
|
||
OPENAI_BASE_URL=https://api.openai.com/v1
|
||
|
||
# --- Qwen 配置 ---
|
||
QWEN_API_KEY=your_qwen_api_key_here
|
||
QWEN_BASE_URL=https://dashscope.aliyuncs.com/compatible-mode/v1
|
||
|
||
# --- Ollama 本地配置 ---
|
||
OLLAMA_HOST=http://127.0.0.1:11434
|
||
OLLAMA_CHAT_MODEL=llama3:8b
|
||
OLLAMA_EMBEDDING_MODEL=nomic-embed-text
|
||
|
||
# ========================================
|
||
|
||
# Multi-Model Voting Configuration (仅 Ollama 支持)
|
||
# For high-impact signals (impact_score >= VOTING_THRESHOLD), multiple models will vote
|
||
# Available models: llama3, llama3.2, qwen2.5, mistral, deepseek-coder, etc.
|
||
VOTING_MODELS=llama3,qwen2.5,mistral
|
||
VOTING_THRESHOLD=0.8
|
||
|
||
# Business Context for AI Strategic Analysis
|
||
# Customize this to match your actual product/team
|
||
# This context is used by the AI to evaluate external signals
|
||
BUSINESS_CONTEXT=Pixelle-Video: An AI-powered automated short video generation platform. Core features: topic-to-video automation (script generation → AI images/videos → TTS → BGM → final video). Tech stack: Python, Streamlit, FastAPI, ComfyUI workflows. AI models: FLUX/Qwen/SDXL for images, WAN 2.1/2.2 for videos, Edge TTS/Index TTS for voice. Supports multiple pipelines: standard generation, custom assets, digital human, image-to-video, action transfer.
|
||
|
||
# Plane PM Tool Integration (optional, simulation mode if not set)
|
||
PLANE_API_URL=https://api.plane.so/api/v1
|
||
PLANE_API_KEY=
|
||
PLANE_WORKSPACE_SLUG=
|
||
PLANE_PROJECT_ID=
|
||
|
||
# Lark/Feishu Bot Integration (optional)
|
||
LARK_APP_ID=
|
||
LARK_APP_SECRET=
|
||
LARK_VERIFICATION_TOKEN=
|