petter2025 commited on
Commit
6686a2d
·
verified ·
1 Parent(s): 9a64285

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +45 -21
requirements.txt CHANGED
@@ -1,30 +1,54 @@
1
- # Web Framework
 
 
 
 
 
 
 
 
 
 
 
2
  gradio==5.49.1
3
- fastapi==0.115.2
4
- uvicorn==0.24.0
5
 
6
- # ML & Data Science
7
  sentence-transformers==2.2.2
8
- faiss-cpu==1.7.4
9
- numpy==1.24.3
10
- pandas==2.0.3
11
- scikit-learn==1.3.0
12
- scipy==1.11.3
13
 
14
- # Deep Learning (Optional but recommended)
15
- torch==2.0.1
16
- torchvision==0.15.2
 
17
 
18
- # HTTP & Async
19
- requests==2.31.0
20
- aiohttp==3.9.1
21
- python-multipart==0.0.18
 
22
 
23
- # Data Validation
24
  pydantic==2.5.0
 
 
 
25
 
26
- # Visualization
27
- plotly==5.17.0
 
 
 
28
 
29
- # Utilities
30
- python-dateutil==2.8.2
 
 
 
 
 
 
 
 
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
+ # ============================================================================