chore(config): 初始化项目配置与部署基础

This commit is contained in:
2026-05-30 00:07:37 +08:00
parent b5ed5b6faa
commit 6291940734
17 changed files with 300 additions and 0 deletions

18
.env.example Normal file
View File

@@ -0,0 +1,18 @@
DJANGO_SECRET_KEY=replace-with-a-local-secret-key
DJANGO_DEBUG=true
DJANGO_ALLOWED_HOSTS=*
# OpenAI-compatible LLM API
LLM_API_KEY=your_llm_api_key
LLM_BASE_URL=https://api.openai.com/v1
LLM_MODEL=gpt-4.1-mini
# Embedding model for RAG
# Leave EMBEDDING_API_KEY empty to reuse LLM_API_KEY if desired.
EMBEDDING_API_KEY=
EMBEDDING_BASE_URL=
EMBEDDING_MODEL=text-embedding-3-small
SCENARIO_CONFIG_DIR=configs
UPLOAD_ROOT=data/uploads
CHROMA_PATH=data/chroma