antern-bot / .env.example
johnpitteera's picture
Upload folder using huggingface_hub
2dd2de0 verified
Raw
History Blame Contribute Delete
984 Bytes
# --- Database (SQL Server) ---
DB_SERVER=162.246.19.13
DB_PORT=1433
DB_NAME=IAmInterviewed_QA
DB_USER=iaiuser_qa
DB_PASSWORD=your_password_here
DB_DRIVER=ODBC Driver 18 for SQL Server
# --- LLM backend (OpenAI-compatible) — default: Groq free tier ---
# Get a free key at https://console.groq.com/keys
# Works with any OpenAI-compatible endpoint (Groq, ngrok AI Gateway, OpenAI, ...).
LLM_BASE_URL=https://api.groq.com/openai/v1
LLM_API_KEY=your_groq_key_here
LLM_MODEL=llama-3.3-70b-versatile
# Price per 1M tokens for the projected-cost metric
LLM_PRICE_IN=0.59
LLM_PRICE_OUT=0.79
# --- Monitoring --- set a token to protect /api/metrics (empty = open)
METRICS_TOKEN=
# --- Bot behaviour ---
# Max rows returned to the model from any single query
MAX_RESULT_ROWS=200
# Per-query timeout in seconds
QUERY_TIMEOUT=30
# Web origins allowed to embed/call the bot. "*" = any (dev only).
# In production set to your site: https://www.antern.com,https://antern.com
ALLOWED_ORIGINS=*