ProfillyBot / .env.template
MinhDS's picture
Deploy ProfillyBot: Gradio ZeroGPU + CV RAG (Qwen2.5-3B)
0828c2c verified
Raw
History Blame Contribute Delete
2.11 kB
# 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