Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 56 additions & 0 deletions ai/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# .env.example - AI Configuration Template

# ============================================================================
# AI SYSTEM CONFIGURATION
# ============================================================================

# Use mock AI clients for development/testing (no external dependencies)
# Set to 'false' or remove for production
AI_USE_MOCK=false

# External AI Server Configuration (current implementation)
AI_SERVER_BASE_URL=http://localhost:8000
AI_TIMEOUT_MS=30000

# Python Execution (for local models)
PYTHON_BIN=python3

# ============================================================================
# FUTURE CONFIGURATION (Sprint 2)
# ============================================================================

# Groq LLM Configuration
# Uncomment and fill in when ready to use Groq for chatbot
# GROQ_API_KEY=gsk_xxxxxxxxxxxxxxxxxxxxx
# GROQ_MODEL=mixtral-8x7b-32768
# USE_GROQ_CHAT=false # Switch to true when ready

# Chroma Vector Database Configuration
# Uncomment and fill in when ready to use Chroma for recommendations
# CHROMA_URL=http://localhost:8000
# CHROMA_COLLECTION_NAME=recipes
# USE_CHROMA_RECOMMENDATIONS=false # Switch to true when ready

# ============================================================================
# LOGGING & MONITORING
# ============================================================================

# Enable detailed AI operation logging
AI_ENABLE_LOGGING=true

# Enable fallback to mock if real services fail
AI_ENABLE_FALLBACK=true

# Request tracking for debugging
AI_ENABLE_REQUEST_TRACKING=true

# ============================================================================
# DEVELOPMENT MODE SHORTCUTS
# ============================================================================

# Uncomment to use only mocks (perfect for development without external services)
# AI_USE_MOCK=true

# Uncomment to use real services in staging environment
# AI_USE_MOCK=false
# AI_SERVER_BASE_URL=https://staging-ai.nutrihelp.com
Loading
Loading