File size: 2,111 Bytes
0828c2c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
# Environment Configuration
# Copy this file to .env and fill in your values

# Application Settings
APP_NAME="Profile Chatbot"
APP_PORT=7860
DEBUG=false

# =============================================================================
# Ollama Configuration (Local LLM)
# =============================================================================
OLLAMA_BASE_URL=http://localhost:11434
OLLAMA_HOST=http://localhost:11434

# Model to use with Ollama (pulled automatically on first run with Docker Compose)
# Options: llama3.2:3b (default), phi3:mini, gemma2:2b, llama3.2:1b (smaller)
OLLAMA_MODEL=llama3.2:3b

# =============================================================================
# Groq API Configuration (Cloud LLM - Optional)
# =============================================================================
# If set, Groq will be used as the default LLM provider instead of Ollama
# Get your API key at: https://console.groq.com/
GROQ_API_KEY=

# Optional: Other API Keys for alternative LLM providers
# OPENAI_API_KEY=your_openai_api_key_here
# ANTHROPIC_API_KEY=your_anthropic_api_key_here

# =============================================================================
# Storage Configuration
# =============================================================================
# Vector Database
CHROMA_PERSIST_DIR=./chroma_db

# Document Processing
DOCUMENTS_DIR=./data/documents

# =============================================================================
# Logging & Debugging
# =============================================================================
LOG_LEVEL=INFO

# LangSmith Tracing (get API key at https://smith.langchain.com)
# Set LANGCHAIN_TRACING_V2=true to enable tracing
LANGCHAIN_TRACING_V2=false
LANGCHAIN_ENDPOINT=https://api.smith.langchain.com
LANGCHAIN_API_KEY=
LANGCHAIN_PROJECT=profillybot

# =============================================================================
# Hugging Face Spaces (Optional - auto-set by HF Spaces)
# =============================================================================
# SPACE_ID=your_space_id
# SPACE_AUTHOR_NAME=your_username