Spaces:
Sleeping
Sleeping
File size: 979 Bytes
6675588 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | # ==============================================================================
# SentinelAI-RAG Enterprise Gateway — Environment Configuration Example
# Copy this file to .env and fill in your keys, or leave blank to use the
# 100% offline Deterministic RAG Simulator or the in-browser 3D Bunny BYOK Vault.
# ==============================================================================
# --- LLM API Credentials (Optional: Leave blank for offline / BYOK mode) ---
GROQ_API_KEY=
OPENAI_API_KEY=
# --- Service Host & Port (Render dynamically sets PORT) ---
SERVER_HOST=0.0.0.0
SERVER_PORT=8000
PORT=8000
# --- Default Models ---
GROQ_MODEL=openai/gpt-oss-120b
OPENAI_MODEL=gpt-4o-mini
# --- Gateway & RAG Engine Parameters ---
USE_LOCAL_SIMULATOR=true
CACHE_SIMILARITY_THRESHOLD=0.92
RAG_TOP_K=4
RATE_LIMIT_RPM=120
RATE_LIMIT_BURST=20
MAX_TOKENS=1200
# --- Guardrails Policy Toggles ---
PII_REDACTION_ENABLED=true
PROMPT_INJECTION_ENABLED=true
OUTPUT_GUARD_ENABLED=true
|