-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
74 lines (58 loc) · 1.58 KB
/
Copy path.env.example
File metadata and controls
74 lines (58 loc) · 1.58 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
# Norman Compliance Engine - Environment Variables Example
# Copy this file to .env and fill with your actual values
# Application Configuration
SPRING_PROFILES_ACTIVE=dev
SERVER_PORT=8080
# Database Configuration
DATABASE_URL=jdbc:postgresql://localhost:5432/norman_engine
DATABASE_USERNAME=norman_user
DATABASE_PASSWORD=norman_password
# AI Configuration - Gemini (Primary)
GEMINI_API_KEY=your_gemini_api_key_here
GEMINI_PROJECT_ID=your_project_id
GEMINI_LOCATION=us-central1
# AI Configuration - OpenAI (Fallback)
OPENAI_API_KEY=your_openai_api_key_here
# Vector Database Configuration
VECTOR_DIMENSION=768
SIMILARITY_THRESHOLD=0.7
VECTOR_TOP_K=5
# Redis Configuration (Optional, for caching)
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_PASSWORD=
# MinIO Configuration (Optional, for file storage)
MINIO_ACCESS_KEY=your_minio_access_key
MINIO_SECRET_KEY=your_minio_secret_key
MINIO_BUCKET_NAME=norman-documents
# Monitoring Configuration
TRACING_SAMPLING_PROBABILITY=0.1
# Logging Configuration
LOG_LEVEL=INFO
AI_LOG_LEVEL=DEBUG
SQL_LOG_LEVEL=WARN
# Norman Engine Configuration
AI_PROVIDER=gemini
AI_TEMPERATURE=0.1
AI_MAX_TOKENS=4000
AI_TIMEOUT=120s
AI_SELF_CORRECTION=true
# Document Processing
MAX_FILE_SIZE=50MB
CHUNK_SIZE=1000
CHUNK_OVERLAP=200
# Audit Configuration
AUDIT_MAX_CONTEXT_TOKENS=8000
AUDIT_RESPONSE_FORMAT=json
# Rate Limiting
RATE_LIMIT_RPM=60
RATE_LIMIT_UPLOAD_PM=10
# Cache Configuration
CACHE_EMBEDDING_TTL=24h
CACHE_AUDIT_RESULT_TTL=1h
# OpenAPI Documentation
OPENAPI_ENABLED=true
SWAGGER_ENABLED=true
# Development Only (remove in production)
SHOW_SQL=false
DDL_AUTO=validate