| # CX AI Agent - Gradio/HF Spaces Requirements | |
| # ============================================ | |
| # ============================================ | |
| # PyTorch & Transformers (REQUIRED - Install First) | |
| # ============================================ | |
| # Compatible versions that work together | |
| torch>=2.2.0 | |
| transformers>=4.44.0,<5.0 | |
| accelerate>=0.27.0 | |
| huggingface-hub>=0.34.0,<1.0 | |
| # Gradio Interface | |
| gradio==5.5.0 | |
| # FastAPI (for backend components) | |
| fastapi==0.109.0 | |
| uvicorn==0.27.0 | |
| pydantic==2.5.3 | |
| # HTTP and Async | |
| requests>=2.31.0 | |
| aiohttp>=3.9.1 | |
| # Web Scraping (Production-ready contact finding) | |
| beautifulsoup4>=4.12.0 | |
| lxml>=4.9.0 | |
| # Data handling | |
| email-validator==2.1.0 | |
| python-dotenv==1.0.0 | |
| pandas>=2.1.4 | |
| # Vector Store and Embeddings | |
| sentence-transformers>=2.3.1 | |
| faiss-cpu>=1.7.4 | |
| numpy>=1.24.3,<2.0.0 | |
| scikit-learn>=1.3.2 | |
| # Utilities | |
| rich>=13.7.0 | |
| # Enterprise database support | |
| sqlalchemy>=2.0.0 | |
| alembic>=1.13.0 | |
| # Testing (optional, for development) | |
| pytest>=7.4.4 | |
| pytest-asyncio>=0.21.1 | |