| # file: .env.example | |
| # ============================================================================= | |
| # CX AI Agent Configuration | |
| # ============================================================================= | |
| # Hugging Face Configuration (REQUIRED) | |
| HF_API_TOKEN=your_huggingface_api_token_here | |
| MODEL_NAME=Qwen/Qwen2.5-7B-Instruct | |
| MODEL_NAME_FALLBACK=mistralai/Mistral-7B-Instruct-v0.2 | |
| # Web Search Configuration | |
| # Uses Serper API (serper.dev) - Low-cost Google Search API | |
| # Get your free API key from: https://serper.dev/ (2,500 free searches/month) | |
| SERPER_API_KEY=your_serper_api_key_here | |
| # SKIP_WEB_SEARCH: Set to "true" to skip web search and use intelligent fallback data | |
| # Recommended for: Demo environments, or when SERPER_API_KEY is not available | |
| SKIP_WEB_SEARCH=false | |
| # MCP Mode (for deployment) | |
| # Set to "true" for Hugging Face Spaces (uses in-memory services) | |
| # Set to "false" for local development (uses separate MCP servers) | |
| USE_IN_MEMORY_MCP=true | |
| # Paths | |
| COMPANY_FOOTER_PATH=./data/footer.txt | |
| VECTOR_INDEX_PATH=./data/faiss.index | |
| COMPANIES_FILE=./data/companies.json | |
| SUPPRESSION_FILE=./data/suppression.json | |
| # Vector Store | |
| EMBEDDING_MODEL=sentence-transformers/all-MiniLM-L6-v2 | |
| EMBEDDING_DIM=384 | |
| # MCP Server Ports | |
| MCP_SEARCH_PORT=9001 | |
| MCP_EMAIL_PORT=9002 | |
| MCP_CALENDAR_PORT=9003 | |
| MCP_STORE_PORT=9004 | |
| # Compliance Flags | |
| ENABLE_CAN_SPAM=true | |
| ENABLE_PECR=true | |
| ENABLE_CASL=true | |
| # Scoring Thresholds | |
| MIN_FIT_SCORE=0.5 | |
| FACT_TTL_HOURS=168 |