-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
67 lines (55 loc) · 1.62 KB
/
Copy path.env.example
File metadata and controls
67 lines (55 loc) · 1.62 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
64
65
66
67
# INSIGHT - Semantic Talent Finder
# Environment Configuration Template
# Copy this to .env and fill in your values
# ==================== DATABASE ====================
# Local Development (Docker Compose)
PG_DSN="postgresql://postgres:postgres@localhost:5433/profiles"
# Production (use your cloud database URL - Railway/Render/Fly.io will set DATABASE_URL automatically)
# PG_DSN="${DATABASE_URL}"
PGUSER=postgres
PGPASSWORD=postgres
PGDATABASE=profiles
PGHOST=localhost
PGPORT=5433
# Connection Pool Settings
DB_POOL_MIN=5
DB_POOL_MAX=40
DB_TIMEOUT=5
# ==================== EMBEDDING SERVICE ====================
OPENAI_API_KEY=sk-your-api-key-here
EMBEDDING_MODEL=text-embedding-3-small
EMBEDDING_DIMENSION=1536
# Embedding Generation Settings
MIN_QUALITY_SCORE=0.7
MAX_TEXT_LENGTH=8000
BATCH_SIZE_IO=5000
BATCH_SIZE_EMBED=100
# ==================== API CONFIGURATION ====================
API_HOST=0.0.0.0
API_PORT=8000
API_WORKERS=4
API_RELOAD=false
# CORS Settings (comma-separated origins)
CORS_ORIGINS=http://localhost:3000,http://localhost:8000
# ==================== REDIS (OPTIONAL) ====================
REDIS_HOST=127.0.0.1
REDIS_PORT=6379
REDIS_DB=0
REDIS_PASSWORD=
# ==================== LOGGING ====================
LOG_LEVEL=INFO
LOG_FORMAT=json
# ==================== PERFORMANCE ====================
# HNSW Index Parameters
HNSW_M=16
HNSW_EF_CONSTRUCTION=64
HNSW_EF_SEARCH=64
# Hybrid Search Weights
VECTOR_WEIGHT=0.8
LEXICAL_WEIGHT=0.2
# ==================== DEVELOPMENT ====================
DEBUG=false
TESTING=false
# ==================== DATA PATHS ====================
DATA_DIR=./data
PARQUET_FILE_PATH=./data/profiles.parquet