CoolFace
Apppublic

DevilNReality/Incident-Triage-Reinforcement-Learning

sourceHugging Faceupdated 6mo agoView on Hugging Face
0likes
.env.example41 linesDownload Raw Back to root
1# ─────────────────────────────────────────────────────────────────2# Incident Triage & Alert Routing — Environment Variables3# ─────────────────────────────────────────────────────────────────4# Copy this file to .env and fill in your values:5#   cp .env.example .env6#7# Then load it before running:8#   source .env          (Linux / macOS)9#   set -a; . .env; set +a   (bash alternative)10#   # On Windows: set each variable manually in Command Prompt11# ─────────────────────────────────────────────────────────────────12 13# ── LLM API endpoint (required for LLM agent mode) ───────────────14# Hugging Face inference router (recommended):15API_BASE_URL=https://router.huggingface.co/v116 17# Alternatives:18# API_BASE_URL=https://api.openai.com/v1          # OpenAI directly19# API_BASE_URL=http://localhost:11434/v1          # Ollama local20 21# ── Model name ────────────────────────────────────────────────────22# Must be a model available at the above API endpoint23MODEL_NAME=meta-llama/Llama-3.3-70B-Instruct24 25# Other options:26# MODEL_NAME=gpt-4o-mini                          # OpenAI27# MODEL_NAME=mistralai/Mistral-7B-Instruct-v0.3  # HF28# MODEL_NAME=llama3.2                             # Ollama29 30# ── Authentication token ──────────────────────────────────────────31# Your Hugging Face token (get it at https://huggingface.co/settings/tokens)32# Required for HF inference router. For OpenAI use your OpenAI API key.33HF_TOKEN=hf_your_token_here34 35# ─────────────────────────────────────────────────────────────────36# NOTE: The Streamlit UI works without any API keys set.37# It will automatically fall back to the rule-based agent.38# API keys are only needed for the LLM Agent mode in the UI39# or when running inference.py directly.40# ─────────────────────────────────────────────────────────────────41