File size: 740 Bytes
0fa4cc9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
# Ollama Configuration
OLLAMA_HOST=0.0.0.0
OLLAMA_PORT=11436

# Streamlit Configuration
STREAMLIT_SERVER_PORT=8501
STREAMLIT_SERVER_ADDRESS=0.0.0.0
STREAMLIT_SERVER_HEADLESS=true
STREAMLIT_BROWSER_GATHER_USAGE_STATS=false

# Application Settings
APP_DEBUG=false
APP_ENV=development
APP_SECRET_KEY=your-secret-key-here

# Model Configuration
DEFAULT_MODEL=mistral:7b-instruct
MODEL_TEMPERATURE=0.7
MAX_TOKENS=2000

# API Configuration (if needed)
# API_KEY=your-api-key-here
# API_BASE_URL=http://localhost:11434

# Database Configuration (if needed)
# DB_HOST=db
# DB_PORT=5432
# DB_NAME=llm_demo
# DB_USER=postgres
# DB_PASSWORD=your-db-password

# CORS Configuration (if needed)
# CORS_ORIGINS=http://localhost:3000,http://localhost:8501