InfoClassifier / .env.example
UTKARSH MISHRA
Initial commit: InfoClassifier project
e5e36db
Raw History Blame Contribute Delete
891 Bytes
# Copy this file to .env and fill in your keys.
# Never commit .env to version control.
# Search backends (at least one required for data collection)
SERPAPI_KEY=d6e47f7df7bd5cadb62db480f00f4c8031cf1b7910915631fefa4c154c75211e
NEWSAPI_KEY=
BRAVE_SEARCH_KEY=
GOOGLE_FACTCHECK_KEY=
# Redis (used for scenario + session caching)
REDIS_URL=redis://localhost:6379
CACHE_TTL_SECONDS=86400
SESSION_TTL_SECONDS=3600
# LLM for inference.py (OpenAI-compatible)
HF_TOKEN=
OPENAI_API_KEY= # alias for HF_TOKEN
MODEL_NAME=gpt-4o
API_BASE_URL=https://api.openai.com/v1
# Environment server
ENV_SERVER_URL=http://localhost:8000
HOST=0.0.0.0
PORT=8000
LOG_LEVEL=info
# Data collector
MAX_SOURCES_PER_CLAIM=8
REQUEST_TIMEOUT=10
# Config files (override if you move them)
RELIABILITY_CONFIG=domain_reliability.yaml
REWARD_CONFIG=reward_config.yaml
EXPLANATION_CONFIG=explanation_templates.yaml