-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
57 lines (45 loc) · 1.23 KB
/
Copy path.env.example
File metadata and controls
57 lines (45 loc) · 1.23 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
# Database
DATABASE_URL=postgresql://postgres:postgres@localhost:5432/learnpath
# Qdrant
QDRANT_URL=http://localhost:6333
QDRANT_API_KEY=
# OpenRouter
OPENROUTER_API_KEY=sk-or-xxx
# Models
E5_MODEL_NAME=intfloat/e5-base-v2
RERANKER_MODEL_NAME=BAAI/bge-reranker-base
LLM_MODEL=anthropic/claude-3.5-sonnet
# Deep Infra (serverless inference - recommended)
USE_DEEPINFRA=true
DEEPINFRA_API_KEY=your_api_key_here
DEEPINFRA_BASE_URL=https://api.deepinfra.com/v1
# Quantization (only used when USE_DEEPINFRA=false)
USE_QUANTIZATION=true
QUANTIZATION_CONFIG=int8 # Options: int8, int4, none
# Supabase (for production)
SUPABASE_URL=https://xxxxx.supabase.co
SUPABASE_ANON_KEY=eyJ...
SUPABASE_SERVICE_KEY=eyJ...
# Service URLs (for gateway)
RAG_SERVICE_URL=http://localhost:8001
PLANNER_SERVICE_URL=http://localhost:8002
QUIZ_SERVICE_URL=http://localhost:8003
# Gateway
GATEWAY_PORT=8080
JWT_PUBLIC_KEY_URL=
# Frontend
NEXT_PUBLIC_API_URL=http://localhost:8080
NEXT_PUBLIC_SUPABASE_URL=
NEXT_PUBLIC_SUPABASE_ANON_KEY=
# Storage / S3
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_REGION=us-east-1
S3_BUCKET_NAME=learnpath-snippets
STORAGE_BUCKET=lpd-snippets
# Observability (optional)
SENTRY_DSN=
POSTHOG_API_KEY=
# Development
LOG_LEVEL=info
DEBUG=false