-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.vercel
More file actions
35 lines (25 loc) · 1.16 KB
/
.env.vercel
File metadata and controls
35 lines (25 loc) · 1.16 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
# Environment variables for Vercel deployment
# Copy these to your Vercel project settings
# Required: OpenRouter API key for AI chat functionality
OPENROUTER_API_KEY=your_openrouter_api_key_here
# Alternative: OpenAI API key (if not using OpenRouter)
# OPENAI_API_KEY=your_openai_api_key_here
# Required: Flask secret key for session management
SECRET_KEY=your_super_secret_key_here_change_in_production
# Optional: Database URL (defaults to SQLite if not provided)
# For production, consider using PostgreSQL or MySQL
# DATABASE_URL=postgresql://user:password@host:port/database
# DATABASE_URL=mysql://user:password@host:port/database
# Optional: FAQ CSV file path (defaults to included file)
# FAQ_CSV_PATH=ICT Cell Common problems - Hardware issues.csv
# Optional: Embedding model (defaults to sentence-transformers/all-MiniLM-L6-v2)
# EMBED_MODEL=sentence-transformers/all-MiniLM-L6-v2
# Optional: Number of top FAQ results to return (defaults to 3)
# TOP_K=3
# Optional: Maximum tokens for AI responses (defaults to 350)
# MAX_TOKENS=350
# Optional: Chat model to use (defaults to gpt-4o-mini)
# CHAT_MODEL=gpt-4o-mini
# Production settings
FLASK_ENV=production
PYTHONPATH=.