commit
Browse files- requirements.txt +61 -8
requirements.txt
CHANGED
|
@@ -1,8 +1,61 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Enterprise AI Assistant with RAG - Requirements
|
| 2 |
+
# Core Dependencies for IBM Granite Models Integration
|
| 3 |
+
|
| 4 |
+
# Web Framework
|
| 5 |
+
streamlit>=1.28.0
|
| 6 |
+
|
| 7 |
+
# Machine Learning & AI
|
| 8 |
+
torch>=2.0.0
|
| 9 |
+
transformers>=4.35.0
|
| 10 |
+
sentence-transformers>=2.2.2
|
| 11 |
+
accelerate>=0.24.0
|
| 12 |
+
bitsandbytes>=0.41.0
|
| 13 |
+
|
| 14 |
+
# Vector Database
|
| 15 |
+
chromadb>=0.4.15
|
| 16 |
+
|
| 17 |
+
# Document Processing
|
| 18 |
+
PyPDF2>=3.0.1
|
| 19 |
+
python-docx>=0.8.11
|
| 20 |
+
openpyxl>=3.1.2
|
| 21 |
+
beautifulsoup4>=4.12.2
|
| 22 |
+
chardet>=5.2.0
|
| 23 |
+
|
| 24 |
+
# Data Processing
|
| 25 |
+
pandas>=2.0.0
|
| 26 |
+
numpy>=1.24.0
|
| 27 |
+
|
| 28 |
+
# Utilities
|
| 29 |
+
pathlib2>=2.3.7
|
| 30 |
+
python-dateutil>=2.8.2
|
| 31 |
+
requests>=2.31.0
|
| 32 |
+
urllib3>=2.0.0
|
| 33 |
+
|
| 34 |
+
# Logging & Configuration
|
| 35 |
+
python-dotenv>=1.0.0
|
| 36 |
+
pyyaml>=6.0.1
|
| 37 |
+
|
| 38 |
+
# Optional: For better performance
|
| 39 |
+
datasets>=2.14.0
|
| 40 |
+
tokenizers>=0.14.0
|
| 41 |
+
safetensors>=0.4.0
|
| 42 |
+
|
| 43 |
+
# Optional: For advanced document processing
|
| 44 |
+
mammoth>=1.6.0 # For better DOCX processing
|
| 45 |
+
pdfplumber>=0.9.0 # Alternative PDF processor
|
| 46 |
+
python-magic>=0.4.27 # File type detection
|
| 47 |
+
|
| 48 |
+
# Optional: For email processing (if needed)
|
| 49 |
+
email-validator>=2.1.0
|
| 50 |
+
|
| 51 |
+
# Development & Testing (optional)
|
| 52 |
+
pytest>=7.4.0
|
| 53 |
+
black>=23.0.0
|
| 54 |
+
flake8>=6.0.0
|
| 55 |
+
|
| 56 |
+
# GPU Support (optional - install based on your system)
|
| 57 |
+
# For CUDA 11.8
|
| 58 |
+
# torch>=2.0.0+cu118 -f https://download.pytorch.org/whl/torch_stable.html
|
| 59 |
+
|
| 60 |
+
# For CPU only (if no GPU)
|
| 61 |
+
# torch>=2.0.0+cpu -f https://download.pytorch.org/whl/torch_stable.html
|