-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
63 lines (50 loc) · 1.46 KB
/
.env.example
File metadata and controls
63 lines (50 loc) · 1.46 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# Application
NODE_ENV=development
PORT=3000
HOST=0.0.0.0
LOG_LEVEL=debug
# Service Ports (for docker-compose and scripts)
GRAFANA_PORT=3002
PROMETHEUS_PORT=9091
EMBEDDING_PORT=8100
# Database
DATABASE_URL="postgresql://postgres:postgres@localhost:5433/driftos_embed?schema=public"
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
POSTGRES_DB=driftos_embed
POSTGRES_PORT=5433
# API
API_PREFIX=/api
API_VERSION=v1
# Rate Limiting
RATE_LIMIT_MAX=100
RATE_LIMIT_TIME_WINDOW=60000
# CORS
CORS_ORIGIN=http://localhost:3001,http://localhost:3000
CORS_CREDENTIALS=true
# Monitoring
METRICS_ENABLED=true
METRICS_PATH=/metrics
# Swagger
SWAGGER_ENABLED=true
SWAGGER_PATH=/documentation
# Drift Thresholds (tune these based on test results)
# STAY: similarity > STAY_THRESHOLD (same topic, stay in branch)
# BRANCH_SAME_CLUSTER: NEW_CLUSTER < similarity < STAY (related drift)
# BRANCH_NEW_CLUSTER: similarity < NEW_CLUSTER (unrelated)
DRIFT_MAX_BRANCHES_CONTEXT=10
DRIFT_STAY_THRESHOLD=0.38
DRIFT_NEW_CLUSTER_THRESHOLD=0.15
DRIFT_ROUTE_THRESHOLD=0.42
# Embedding Server (Python sidecar)
EMBEDDING_SERVER_URL=http://localhost:8100
EMBEDDING_MODEL=paraphrase-MiniLM-L6-v2
# LLM Model (pick one)
LLM_MODEL=llama-3.1-8b-instant
# LLM Keys (only need one - used for fact extraction)
# OpenAI: https://platform.openai.com/api-keys
OPENAI_API_KEY=
# Anthropic: https://console.anthropic.com/settings/keys
ANTHROPIC_API_KEY=
# Groq (free tier available): https://console.groq.com/keys
GROQ_API_KEY=