-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
43 lines (35 loc) · 981 Bytes
/
.env.example
File metadata and controls
43 lines (35 loc) · 981 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
37
38
39
40
41
42
43
# Database Configuration
POSTGRES_HOST=localhost
POSTGRES_PORT=5432
POSTGRES_DATABASE=parliament_search
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
# Google AI Configuration
GOOGLE_API_KEY=your-google-api-key-here
# Embeddings
# If your AI Studio key does not support embedContent, use Vertex AI.
EMBEDDING_PROVIDER=google_ai
EMBEDDING_MODEL=gemini-embedding-001
# VERTEX_PROJECT=your-gcp-project
# VERTEX_LOCATION=us-central1
# Optionally tune embedding dimensions/batching.
EMBEDDING_DIMENSIONS=768
EMBEDDING_BATCH_SIZE=100
# Video Processing Configuration
YOUTUBE_API_KEY=
SEGMENT_MINUTES=30
OVERLAP_MINUTES=1
# Scraping Configuration
SCRAPE_RATE_LIMIT=1.0
SCRAPE_USER_AGENT=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7)
# Application Configuration
LOG_LEVEL=INFO
# CORS Configuration
CORS_ORIGINS=*
CORS_ALLOW_CREDENTIALS=true
CORS_ALLOW_METHODS=*
CORS_ALLOW_HEADERS=*
# Retry Configuration
RETRY_MAX_ATTEMPTS=7
RETRY_START_DELAY=10.0
RETRY_DELAY_INCREMENT=1.0