-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathenv.template
More file actions
60 lines (48 loc) · 1.53 KB
/
env.template
File metadata and controls
60 lines (48 loc) · 1.53 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
# UNGA Analysis App - Environment Configuration
# Copy this file to .env and update with your values
# OpenAI Configuration
OPENAI_API_KEY=your_openai_api_key_here
OPENAI_MODEL=gpt-4
OPENAI_TEMPERATURE=0.7
OPENAI_MAX_TOKENS=4000
# Azure OpenAI Configuration (Alternative)
AZURE_OPENAI_API_KEY=your_azure_openai_api_key_here
AZURE_OPENAI_ENDPOINT=https://your-resource-name.cognitiveservices.azure.com/
AZURE_OPENAI_API_VERSION=2024-12-01-preview
AZURE_OPENAI_DEPLOYMENT_NAME=model-router-osaa-2
# Whisper API (for audio transcription)
WHISPER_API_KEY=your_whisper_api_key_here
WHISPER_ENDPOINT=https://your-whisper-endpoint.openai.azure.com/
WHISPER_API_VERSION=2024-06-01
# Admin Configuration
ADMIN_EMAIL=admin@example.com
ADMIN_PASSWORD=change_this_password
# Database Configuration
DATABASE_URL=sqlite:///unga_vector.db
USER_DATABASE_URL=sqlite:///user_auth.db
# Application Configuration
APP_NAME=UNGA Analysis App
APP_VERSION=1.0.0
DEBUG=False
LOG_LEVEL=INFO
# Security Configuration
SECRET_KEY=your_secret_key_here
SESSION_TIMEOUT=3600
# Streamlit Configuration
STREAMLIT_SERVER_PORT=8501
STREAMLIT_SERVER_ADDRESS=localhost
STREAMLIT_SERVER_HEADLESS=true
# AI Model Configuration
DEFAULT_MODEL=gpt-4
AVAILABLE_MODELS=gpt-4,gpt-3.5-turbo,claude-3-sonnet
# Search Configuration
SEARCH_LIMIT=100
SIMILARITY_THRESHOLD=0.7
EMBEDDING_MODEL=all-MiniLM-L6-v2
# Visualization Configuration
CHART_THEME=plotly_white
DEFAULT_COLORS=#1f77b4,#ff7f0e,#2ca02c,#d62728,#9467bd
# Logging Configuration
LOG_FILE=logs/app.log
LOG_MAX_SIZE=10MB
LOG_BACKUP_COUNT=5