CoolFace
Apppublic

monish563/NU-KIOSK-API

sourceHugging Faceupdated 7mo agoView on Hugging Face
0likes
.env.example57 linesDownload Raw Back to root
1# Northwestern CS Kiosk API - Environment Configuration2 3# =============================================================================4# LLM Provider Configuration (choose one)5# =============================================================================6 7# Anthropic (Claude) - Recommended8ANTHROPIC_API_KEY="your-anthropic-api-key"9# ANTHROPIC_MODEL=claude-haiku-4-510 11# OpenAI (GPT)12# OPENAI_API_KEY=your-openai-api-key13# OPENAI_MODEL=gpt-4.1-mini14 15# Google (Gemini)16# GEMINI_API_KEY=your-gemini-api-key17# GEMINI_MODEL=gemini-2.0-flash18 19# =============================================================================20# Kiosk Settings21# =============================================================================22 23# Default LLM provider (anthropic, openai, gemini)24KIOSK_LLM_PROVIDER=anthropic25 26# Server host and port27KIOSK_HOST=0.0.0.028KIOSK_PORT=800029 30# LLM timeout in seconds31KIOSK_LLM_TIMEOUT=6032 33# Max tokens per response (reinforces brevity; default 384 if unset)34KIOSK_LLM_MAX_TOKENS=38435 36# System prompt (required - defines the kiosk persona)37KIOSK_LLM_SYSTEM_PROMPT="You are a conversational receptionist for the Northwestern CS Kiosk whose responses are spoken aloud. Speak naturally and never include stage directions or annotations."38 39# Style guidelines (required - ensures speech-friendly responses)40KIOSK_LLM_STYLE="Be very brief. One or two sentences max. No long lists—summarize top 2-3 items only."41 42# =============================================================================43# Hugging Face Dataset Persistence (optional - for metrics/history across restarts)44# =============================================================================45 46# HF dataset repo for chat history (e.g. monish563/kiosk-api-metrics)47# KIOSK_HF_DATASET_REPO=monish563/kiosk-api-metrics48 49# HF token with write access to the dataset (use HF Secrets on Spaces)50# KIOSK_HF_TOKEN=your-hf-token51 52# Path within the dataset repo (default: chat_history)53# KIOSK_HF_DATASET_PATH=chat_history54 55# Sync interval in minutes (default: 10)56# KIOSK_HF_SYNC_INTERVAL_MINUTES=1057