-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
70 lines (54 loc) · 2.01 KB
/
Copy path.env.example
File metadata and controls
70 lines (54 loc) · 2.01 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
# Environment Configuration for PersonalityAI
# =================================================================
# Gemini API Configuration
# =================================================================
# Get your API key from: https://makersuite.google.com/app/apikey
# This is required for the personality analysis functionality
GEMINI_API_KEY=your_gemini_api_key_here
# =================================================================
# Server Configuration
# =================================================================
# Server settings
SERVER_HOST=0.0.0.0
SERVER_PORT=8000
DEBUG_MODE=false
# =================================================================
# API Configuration
# =================================================================
# Rate limiting (requests per minute)
RATE_LIMIT_RPM=60
# Maximum text length for analysis (characters)
MAX_TEXT_LENGTH=10000
# Minimum text length for analysis (characters)
MIN_TEXT_LENGTH=50
# API timeout settings (seconds)
API_TIMEOUT=30
# =================================================================
# Caching Configuration
# =================================================================
# Cache directory for storing API logs
CACHE_DIR=cache
# Enable/disable request logging
ENABLE_LOGGING=true
# Log retention period (days)
LOG_RETENTION_DAYS=30
# =================================================================
# Security Configuration
# =================================================================
# Enable CORS (for development)
ENABLE_CORS=true
# Allowed origins (comma-separated)
ALLOWED_ORIGINS=*
# Enable API key validation
VALIDATE_API_KEY=true
# =================================================================
# Application Configuration
# =================================================================
# Application name
APP_NAME=PersonalityAI
# Application version
APP_VERSION=1.0.0
# Application description
APP_DESCRIPTION=Advanced AI-Powered Personality Analysis
# Environment (development, staging, production)
ENVIRONMENT=development