feat: 更新配置文档
This commit is contained in:
21
.env.example
Normal file
21
.env.example
Normal file
@@ -0,0 +1,21 @@
|
||||
# CamTalk 环境变量模板
|
||||
# 复制为 .env 并填入实际值:cp .env.example .env
|
||||
# .env 已在 .gitignore 中,不会提交到版本控制
|
||||
|
||||
# ---- AI 服务 API Key ----
|
||||
CAMTALK_AI_LLM_API_KEY=sk-xxx
|
||||
CAMTALK_AI_STT_API_KEY=
|
||||
CAMTALK_AI_TTS_API_KEY=
|
||||
|
||||
# ---- 可选覆盖(默认值见 config.yaml)----
|
||||
# CAMTALK_AI_LLM_MODEL=gpt-4o
|
||||
# CAMTALK_AI_LLM_ENDPOINT=https://api.openai.com/v1
|
||||
# CAMTALK_AI_LLM_TIMEOUT=10
|
||||
# CAMTALK_AI_STT_ENDPOINT=wss://api.deepgram.com/v1/listen
|
||||
# CAMTALK_AI_TTS_ENDPOINT=https://api.openai.com/v1
|
||||
# CAMTALK_AI_TTS_VOICE=alloy
|
||||
# CAMTALK_AI_TTS_SPEED=1.0
|
||||
# CAMTALK_AI_TTS_TIMEOUT=5
|
||||
|
||||
# ---- 应用 ----
|
||||
# APP_ENV=dev
|
||||
Reference in New Issue
Block a user