Spaces:
Sleeping
Sleeping
File size: 1,350 Bytes
a3e6fd8 e972000 a3e6fd8 03b780d e972000 a3e6fd8 e970928 a3e6fd8 f397bd6 f22b61b | 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 | # 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
|