File size: 891 Bytes
e5e36db
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
33
34
35
# 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