Update requirements.txt
Browse files- requirements.txt +45 -21
requirements.txt
CHANGED
|
@@ -1,30 +1,54 @@
|
|
| 1 |
-
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
gradio==5.49.1
|
| 3 |
-
|
| 4 |
-
|
| 5 |
|
| 6 |
-
#
|
| 7 |
sentence-transformers==2.2.2
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
scikit-learn==1.3.0
|
| 12 |
-
scipy==1.11.3
|
| 13 |
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
|
|
|
| 17 |
|
| 18 |
-
#
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
|
|
|
| 22 |
|
| 23 |
-
# Data Validation
|
| 24 |
pydantic==2.5.0
|
|
|
|
|
|
|
|
|
|
| 25 |
|
| 26 |
-
#
|
| 27 |
-
|
|
|
|
|
|
|
|
|
|
| 28 |
|
| 29 |
-
#
|
| 30 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# ============================================================================
|
| 2 |
+
# Enterprise Agentic Reliability Framework
|
| 3 |
+
# Production-Optimized Dependencies
|
| 4 |
+
# ============================================================================
|
| 5 |
+
#
|
| 6 |
+
# Total Size: ~340MB
|
| 7 |
+
# Install Time: ~2 minutes
|
| 8 |
+
# Last Updated: 2025-11-25
|
| 9 |
+
#
|
| 10 |
+
# ============================================================================
|
| 11 |
+
|
| 12 |
+
# === Core Web Framework ===
|
| 13 |
gradio==5.49.1
|
| 14 |
+
# Purpose: Main UI framework for the entire application
|
| 15 |
+
# Used for: Sliders, buttons, tables, JSON displays, layouts
|
| 16 |
|
| 17 |
+
# === Vector Search & Embeddings ===
|
| 18 |
sentence-transformers==2.2.2
|
| 19 |
+
# Purpose: Convert incident descriptions to 384-dimensional vectors
|
| 20 |
+
# Used for: Similarity search and incident memory system
|
| 21 |
+
# Model: all-MiniLM-L6-v2
|
|
|
|
|
|
|
| 22 |
|
| 23 |
+
faiss-cpu==1.7.4
|
| 24 |
+
# Purpose: Fast approximate nearest neighbor search
|
| 25 |
+
# Used for: Finding similar past incidents in vector space
|
| 26 |
+
# Note: CPU version (GPU version not needed for this use case)
|
| 27 |
|
| 28 |
+
# === Data Processing & Mathematics ===
|
| 29 |
+
numpy==1.24.3
|
| 30 |
+
# Purpose: Numerical computing and statistical operations
|
| 31 |
+
# Used for: Forecasting, anomaly detection, threshold calculations
|
| 32 |
+
# Critical for: Predictive analytics engine
|
| 33 |
|
| 34 |
+
# === Data Validation & Type Safety ===
|
| 35 |
pydantic==2.5.0
|
| 36 |
+
# Purpose: Runtime data validation and type checking
|
| 37 |
+
# Used for: models.py (ReliabilityEvent, EventSeverity, etc.)
|
| 38 |
+
# Ensures: Type safety across the entire application
|
| 39 |
|
| 40 |
+
# === HTTP & API Communication ===
|
| 41 |
+
requests==2.31.0
|
| 42 |
+
# Purpose: HTTP library for API calls
|
| 43 |
+
# Used for: Optional HuggingFace API integration
|
| 44 |
+
# Note: Only active if HF_TOKEN environment variable is set
|
| 45 |
|
| 46 |
+
# ============================================================================
|
| 47 |
+
# Installation Instructions:
|
| 48 |
+
#
|
| 49 |
+
# pip install -r requirements.txt
|
| 50 |
+
#
|
| 51 |
+
# Or for upgrade:
|
| 52 |
+
# pip install -r requirements.txt --upgrade
|
| 53 |
+
#
|
| 54 |
+
# ============================================================================
|