-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathrequirements.txt
More file actions
41 lines (32 loc) · 1 KB
/
Copy pathrequirements.txt
File metadata and controls
41 lines (32 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Stable cohesive LangChain 0.2.x stack (removes incompatible langchain-huggingface)
python-dotenv==1.0.1
# Embeddings / Vector
sentence-transformers==2.7.0
faiss-cpu==1.8.0.post1
rank-bm25==0.2.2
fastembed==0.3.5 # NEW: fast lightweight embedding backend (enable with FAST_EMBED=1)
xxhash==3.4.1 # NEW: fast hashing for embedding cache
# LangChain ecosystem (aligned)
langchain==0.2.17
langchain-community==0.2.11
langchain-openai==0.1.17
# (No explicit langchain-core / langsmith pins; pulled compatible versions)
# Removed: langchain-huggingface (was forcing core>=0.3.59 + langsmith>=0.3.x)
# OpenAI / Azure
openai==1.40.6
# API / Web
fastapi==0.112.0
uvicorn==0.30.1
# Upload parsing
python-multipart
# Testing
httpx==0.27.0
pytest==8.3.1
# XLSX export
openpyxl==3.1.5
# Reinstall steps:
# 1) pip uninstall -y langchain-huggingface langchain-core langsmith || true
# 2) pip install --no-cache-dir --upgrade --force-reinstall -r requirements.txt
# If cache issues: pip cache purge
#Groq
langchain-groq>=0.1.0