philverify-api / .env.example
Ryan Christian D. Deniega
feat: Firebase integration β€” Firestore persistence, firebase.json hosting + Cloud Run rewrite
954286a
# ── API Keys ──────────────────────────────────────────────────────────────────
NEWS_API_KEY=your_newsapi_key_here
GOOGLE_VISION_API_KEY=your_google_vision_key_here # Optional (alternative to Tesseract)
# ── Database ──────────────────────────────────────────────────────────────────
DATABASE_URL=postgresql+asyncpg://user:password@localhost:5432/philverify
# ── Redis Cache ───────────────────────────────────────────────────────────────
REDIS_URL=redis://localhost:6379/0
# ── App Settings ──────────────────────────────────────────────────────────────
APP_ENV=development # development | production
DEBUG=true
LOG_LEVEL=INFO
ALLOWED_ORIGINS=["http://localhost:3000","http://localhost:5173"]
# ── Model Settings ────────────────────────────────────────────────────────────
# Options: xlm-roberta-base | joelito/roberta-tagalog-base | bert-base-multilingual-cased
ML_MODEL_NAME=xlm-roberta-base
WHISPER_MODEL_SIZE=base # base | medium | large-v3 (large-v3 for production)
USE_GPU=false
# ── Scoring Weights ───────────────────────────────────────────────────────────
ML_WEIGHT=0.40
EVIDENCE_WEIGHT=0.60
CREDIBLE_THRESHOLD=70.0
FAKE_THRESHOLD=40.0