-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
104 lines (73 loc) · 3.05 KB
/
.env.example
File metadata and controls
104 lines (73 loc) · 3.05 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
# Ideation Agent Environment Configuration
# Copy this file to .env and update with your values
# =============================================================================
# SERVER CONFIGURATION
# =============================================================================
# Port for the backend server
PORT=3000
# Node environment (development, production, test)
NODE_ENV=development
# CORS origin for frontend connections
CORS_ORIGIN=http://localhost:8081
# =============================================================================
# AI SERVICE CONFIGURATION
# =============================================================================
# Groq API key for AI model access
# Get your free API key at: https://console.groq.com/keys
GROQ_API_KEY=your_groq_api_key_here
# Groq API base URL (usually doesn't need to change)
GROQ_BASE_URL=https://api.groq.com/openai/v1
# =============================================================================
# AGENT CONFIGURATION
# =============================================================================
# Time limit for ideation sessions (seconds)
IDEATION_TIME_LIMIT=30
# Maximum context length for agent conversations
MAX_CONTEXT_LENGTH=100
# Primary AI model to use
PRIMARY_MODEL=llama-3.1-70b-versatile
# Fallback model if primary fails
FALLBACK_MODEL=llama-3.1-8b-instant
# =============================================================================
# DATABASE CONFIGURATION
# =============================================================================
# SQLite database file path (relative to project root)
DATABASE_PATH=./data/ideation.db
# Enable database query logging (development only)
DATABASE_LOGGING=false
# =============================================================================
# LOGGING CONFIGURATION
# =============================================================================
# Log level (error, warn, info, debug)
LOG_LEVEL=info
# Log file path
LOG_FILE=./logs/app.log
# Enable console logging
CONSOLE_LOGGING=true
# =============================================================================
# SECURITY CONFIGURATION
# =============================================================================
# Rate limiting: requests per window
RATE_LIMIT_REQUESTS=100
# Rate limiting: window duration (minutes)
RATE_LIMIT_WINDOW=15
# Session secret for security (generate a random string)
SESSION_SECRET=your_session_secret_here
# =============================================================================
# FRONTEND CONFIGURATION
# =============================================================================
# Frontend development server port
FRONTEND_PORT=8081
# Enable hot reload in development
HOT_RELOAD=true
# =============================================================================
# OPTIONAL FEATURES
# =============================================================================
# Enable conversation export features
ENABLE_EXPORT=true
# Enable conversation search
ENABLE_SEARCH=true
# Enable analytics tracking
ENABLE_ANALYTICS=false
# Maximum file size for uploads (MB)
MAX_UPLOAD_SIZE=10