FakeNews-XAI / env.example
Marius16's picture
Cleanup
03b780d
Raw History Blame Contribute Delete
1.35 kB
# Copy this file to .env and fill in your values.
# .env is git-ignored; .env.example is tracked.
# Wikidata SPARQL endpoint (public, no API key required)
WIKIDATA_ENDPOINT=https://query.wikidata.org/sparql
# spaCy NLP models to load (comma-separated list)
# The first value in SPACY_DEFAULT_MODEL is used as the active model.
# Available options: en_core_web_trf (transformer, most accurate),
# en_core_web_lg (large), en_core_web_sm (small, fastest)
SPACY_MODELS=en_core_web_trf,en_core_web_lg
SPACY_DEFAULT_MODEL=en_core_web_trf
# Qwen LLM model used by Pipeline B (HuggingFace transformers, no local
# server required β€” the model is downloaded and cached on first run).
QWEN_MODEL_ID=Qwen/Qwen3-1.7B
# Comma-separated origins allowed to call the FastAPI backend (CORS)
CORS_ORIGINS=http://localhost:3000
# NewsAPI key β€” only needed for the demo notebook, not the main pipeline
# NEWSAPI_KEY=your_key_here
# Neo4j (optional β€” for persistent cross-article analysis)
# Start with: docker run -p 7687:7687 -e NEO4J_AUTH=neo4j/password neo4j:community
NEO4J_URI=bolt://localhost:7687
NEO4J_USER=neo4j
NEO4J_PASSWORD=password
NEO4J_ENABLED=false
# Wikipedia REST API fallback β€” set to true to enable C3b Wikipedia verification
# No API key required. Used when Wikidata returns no results for HOLDS_POSITION facts.
USE_WEB_SEARCH=false