Repository navigation
Expand file tree
/
Copy pathrequirements.txt
More file actions
129 lines (115 loc) · 3.37 KB
/
Copy pathrequirements.txt
File metadata and controls
129 lines (115 loc) · 3.37 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
# PyTorch
# On Linux, installing `torch` from PyPI pulls in CUDA runtime libraries (`nvidia-*`) which are huge and can
# exhaust CI runner / docker builder disk. Use the official CPU wheels for Linux from download.pytorch.org.
# NOTE: Linux installs must pass `--extra-index-url https://download.pytorch.org/whl/cpu` to pip.
torch==2.13.0; platform_system == "Linux"
torch==2.13.0; platform_system != "Linux"
torchvision==0.28.0; platform_system == "Linux"
torchvision==0.28.0; platform_system != "Linux"
sentence-transformers==5.3.0
fastapi==0.135.3
uvicorn[standard]==0.44.0
python-multipart==0.0.31
# gRPC (pre-built wheels for Windows)
grpcio==1.80.0
# Database
sqlalchemy==2.0.49
asyncpg==0.31.0
alembic==1.18.4
psycopg2-binary==2.9.11
pymysql==1.1.2
pyodbc==5.3.0
# LangChain Ecosystem (latest major versions)
langchain==1.3.9
langchain-core==1.4.8
langchain-community==0.4.1
langchain-chroma==1.1.0
langchain-openai==1.1.14
langchain-anthropic==1.4.6
langchain-text-splitters==1.1.2
# NOTE: USTC mirror / PyPI currently provides up to 1.0.5 (1.0.15 not published).
langgraph==1.2.4
# FAISS has no official Windows wheels; it's only used when VECTOR_BACKEND=faiss.
faiss-cpu==1.13.2; platform_system != "Windows"
chromadb==1.5.7
# Vector Database
pymilvus==2.6.11
# Object Storage
minio==7.2.20
# Document Parsing
# MagicPDF (magic-pdf) is an optional, heavy local parser (torch/transformers).
# Install it separately only when enabling MAGIC_PDF_ENABLED=true.
# See: docs/guides/magicpdf_guide.md
PyMuPDF==1.27.2.2
unstructured==0.18.32
python-magic==0.4.27
markdown==3.10.2
markitdown==0.1.5
# NOTE: Keep numpy on the tested 2.4.x line used by the current parsing/ML stack.
numpy==2.4.4
pdfplumber==0.11.9
pypdf==6.15.0
pandas==3.0.2
openpyxl==3.1.5
python-docx==1.2.0
python-pptx==1.0.2
chardet==7.4.1
tiktoken==0.12.0
trio==0.33.0
# The standard Linux wheel pulls the CUDA NCCL runtime even for CPU-only use.
# XGBoost publishes this smaller CPU distribution with the same `xgboost` module.
xgboost-cpu==3.2.0; platform_system == "Linux" or platform_system == "Windows"
xgboost==3.2.0; platform_system != "Linux" and platform_system != "Windows"
huggingface-hub==1.9.2
Pillow==12.3.0
# NOTE: opencv-python 4.13.x is compatible with the current numpy 2.4.x pin.
opencv-python==4.13.0.92
onnxruntime==1.24.4
rapidocr-onnxruntime==1.4.4
pyclipper==1.4.0
shapely==2.1.2
tqdm==4.67.3
beartype==0.22.9
hanziconv==0.3.2
nltk==3.10.2
accelerate==1.13.0
tencentcloud-sdk-python==3.1.72
html-text==0.7.1
readability-lxml==0.8.4.1
# BM25 and Text Processing
rank-bm25==0.2.2
jieba==0.42.1
hanlp==2.1.3
word2number==1.1
cn2an==0.5.23
# Authentication
PyJWT[crypto]==2.13.0
signxml==4.4.0
# Utilities
# LangChain 1.x
pydantic==2.12.5
pydantic-settings==2.14.2
email-validator==2.3.0
python-dotenv==1.2.2
requests==2.33.1
aiofiles==25.1.0
pyecharts==2.1.0
prometheus-client==0.24.1
sentry-sdk==2.57.0
opentelemetry-api==1.40.0
opentelemetry-sdk==1.40.0
opentelemetry-exporter-otlp-proto-grpc==1.40.0
opentelemetry-instrumentation==0.61b0
opentelemetry-instrumentation-fastapi==0.61b0
opentelemetry-instrumentation-httpx==0.61b0
opentelemetry-semantic-conventions==0.61b0
# HTTP client
httpx[http2]==0.28.1
# RAGAS
ragas==0.4.3
# LlamaIndex (advanced chunking strategies)
llama-index-core==0.14.20
# Task Queue / Redis (ingest throughput: task queue, idempotency locks, cache)
# NOTE: arq 0.27.x requires redis-py < 6.
redis==5.3.1
arq==0.27.0