-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
79 lines (60 loc) · 2.36 KB
/
.env.example
File metadata and controls
79 lines (60 loc) · 2.36 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
# ContextOptimizer Environment Configuration
# =============================================================================
# LLM Configuration (Required)
# =============================================================================
# OpenAI API Configuration
OPENAI_API_KEY=your_openai_api_key_here
OPENAI_BASE_URL=https://api.openai.com/v1
OPENAI_MODEL=gpt-4o
# =============================================================================
# Application Configuration
# =============================================================================
# Application Settings
APP_NAME=ContextOptimizer
APP_VERSION=1.0.0
DEBUG=false
LOG_LEVEL=INFO
# Server Configuration
HOST=0.0.0.0
PORT=8000
# =============================================================================
# File Storage Configuration
# =============================================================================
# Storage Directories
DATA_DIR=./data
UPLOAD_DIR=./data/uploads
SESSION_DIR=./data/sessions
LOG_DIR=./logs
# File Upload Settings
MAX_FILE_SIZE=10485760
# =============================================================================
# LLM Service Configuration
# =============================================================================
# LLM Parameters
MAX_TOKENS=4000
TEMPERATURE=0.1
# LLM Caching
USE_LLM_CACHE=true
LLM_CACHE_TTL=3600
# =============================================================================
# Frontend Configuration
# =============================================================================
# Backend URL for frontend
NEXT_PUBLIC_BACKEND_URL=http://localhost:8000
# =============================================================================
# CORS Configuration
# =============================================================================
# Allowed origins for CORS
ALLOWED_ORIGINS=http://localhost:3000,http://localhost:8000
# =============================================================================
# Development Configuration
# =============================================================================
# Development-specific settings
# DEBUG=true
# LOG_LEVEL=DEBUG
# OVERRIDE_ALLOWED_ORIGINS=true
# =============================================================================
# Docker Configuration
# =============================================================================
# Docker-specific environment variables
COMPOSE_PROJECT_NAME=contextoptimizer