-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
36 lines (30 loc) · 924 Bytes
/
.env.example
File metadata and controls
36 lines (30 loc) · 924 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# 環境變數配置文件範例
# 複製此文件為 .env 並修改相應的值
# ============ Redis 配置 ============
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_DB=0
REDIS_PASSWORD=
# ============ Oracle 資料庫配置 ============
ORACLE_USER=system
ORACLE_PASSWORD=oracle
ORACLE_DSN=localhost:1521/XE
ORACLE_POOL_MIN=2
ORACLE_POOL_MAX=10
# ============ LLM API 配置 ============
# OpenAI API
LLM_API_URL=https://api.openai.com/v1/chat/completions
LLM_API_KEY=your-openai-api-key-here
LLM_MODEL=gpt-3.5-turbo
LLM_TIMEOUT=60
# 或使用 Azure OpenAI
# LLM_API_URL=https://your-resource.openai.azure.com/openai/deployments/your-deployment/chat/completions?api-version=2023-05-15
# LLM_API_KEY=your-azure-api-key
# LLM_MODEL=gpt-35-turbo
# ============ Worker 配置 ============
WORKER_BATCH_SIZE=10
WORKER_POLL_INTERVAL=1
WORKER_MAX_RETRY=3
# ============ API 配置 ============
API_HOST=0.0.0.0
API_PORT=8000