Update requirements.txt with smart injection and real embeddings
Browse files- requirements.txt +14 -5
requirements.txt
CHANGED
|
@@ -1,5 +1,14 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Core dependencies
|
| 2 |
+
numpy>=1.21.0
|
| 3 |
+
|
| 4 |
+
# Embedding & Search (optional but recommended)
|
| 5 |
+
sentence-transformers>=2.2.0 # Real embeddings (fallback to hash if not installed)
|
| 6 |
+
faiss-cpu>=1.7.0 # Fast similarity search
|
| 7 |
+
rank_bm25>=0.2.0 # Keyword search
|
| 8 |
+
networkx>=2.6.0 # Knowledge graph
|
| 9 |
+
|
| 10 |
+
# Demo & MCP
|
| 11 |
+
gradio>=4.0.0 # Demo interface
|
| 12 |
+
|
| 13 |
+
# Optional: for MCP server
|
| 14 |
+
# fastmcp>=0.1.0
|