internationalscholarsprogram commited on
Commit
26e05e4
·
1 Parent(s): 7b50f0a

Finalize retrieval-only RAG dependencies

Browse files
Files changed (1) hide show
  1. requirements.txt +14 -11
requirements.txt CHANGED
@@ -5,7 +5,7 @@ fastapi==0.114.2
5
  uvicorn[standard]==0.30.6
6
  pydantic==2.9.2
7
 
8
- # --- LangChain + vector store (aligned) ---
9
  langchain==0.3.7
10
  langchain-community==0.3.7
11
  langchain-text-splitters==0.3.2
@@ -14,21 +14,24 @@ chromadb>=0.5.7,<0.6.0
14
  posthog==3.5.0
15
  langchain-huggingface==0.1.2
16
 
17
- # --- Embeddings / Hugging Face ---
 
18
  transformers>=4.46,<5
19
- torch==2.3.1+cpu # CPU wheel from the PyTorch index above
 
 
 
 
20
  huggingface-hub>=0.23.1,<0.26
21
- numpy==1.26.4 # compatible with langchain on Py<3.12
22
- pandas>=2.2,<3
23
 
24
- # --- Required extras ---
25
  pypdf>=4.2.0
26
- onnxruntime>=1.18.0
27
-
28
- # --- Ingest helpers ---
29
- tqdm>=4.66
30
- Unidecode>=1.3
31
  pymupdf>=1.24
32
  beautifulsoup4>=4.12
33
  lxml>=5.1
34
  docx2txt>=0.8
 
 
 
 
 
 
5
  uvicorn[standard]==0.30.6
6
  pydantic==2.9.2
7
 
8
+ # --- LangChain + Vector Store ---
9
  langchain==0.3.7
10
  langchain-community==0.3.7
11
  langchain-text-splitters==0.3.2
 
14
  posthog==3.5.0
15
  langchain-huggingface==0.1.2
16
 
17
+ # --- Embeddings (CPU-only) ---
18
+ sentence-transformers>=2.6,<3
19
  transformers>=4.46,<5
20
+ torch==2.3.1+cpu
21
+ onnxruntime>=1.18.0
22
+ numpy==1.26.4
23
+
24
+ # --- Hugging Face ---
25
  huggingface-hub>=0.23.1,<0.26
 
 
26
 
27
+ # --- Data / Parsing ---
28
  pypdf>=4.2.0
 
 
 
 
 
29
  pymupdf>=1.24
30
  beautifulsoup4>=4.12
31
  lxml>=5.1
32
  docx2txt>=0.8
33
+ pandas>=2.2,<3
34
+
35
+ # --- Utilities ---
36
+ tqdm>=4.66
37
+ Unidecode>=1.3