| # Example .env file for Fake News Detection System | |
| # Rename this file to .env and modify values as needed | |
| # GDELT API configuration | |
| # No API key needed for GDELT | |
| MAX_ARTICLES_PER_QUERY=250 | |
| # Ranking configuration | |
| TOP_K_ARTICLES=250 | |
| SIMILARITY_MODEL=intfloat/multilingual-e5-base | |
| MIN_SIMILARITY_THRESHOLD=0.1 | |
| # Display configuration | |
| SHOW_SIMILARITY_SCORES=true | |
| SHOW_PUBLISH_DATE=true | |
| SHOW_URL=true | |
| # Domain filtering configuration | |
| USE_WHITELIST_ONLY=false | |
| # Google Gemini API | |
| # Get your API key from https://ai.google.dev/ | |
| GEMINI_API_KEY=your_gemini_api_key_here | |
| GEMINI_MODEL=gemini-2.5-flash | |
| # Google Search API (SerpAPI) | |
| # Get your API key from https://serpapi.com/ | |
| SERPAPI_KEY=your_serpapi_key_here | |
| # Bias Analysis configuration | |
| TOP_ARTICLES_PER_BIAS_CATEGORY=5 | |
| # Server configuration | |
| PORT=5000 | |
| DEBUG=false | |