52 lines
853 B
Plaintext
52 lines
853 B
Plaintext
# API requirements
|
|
|
|
langchain>=0.0.342
|
|
langchain-experimental>=0.0.42
|
|
fschat[model_worker]>=0.2.33
|
|
xformers>=0.0.22.post7
|
|
openai>=1.3.5
|
|
sentence_transformers
|
|
transformers>=4.35.2
|
|
torch==2.1.0
|
|
torchvision
|
|
torchaudio
|
|
fastapi>=0.104
|
|
nltk>=3.8.1
|
|
uvicorn~=0.23.1
|
|
starlette~=0.27.0
|
|
pydantic<2
|
|
unstructured[all-docs]>=0.11.0
|
|
python-magic-bin; sys_platform == 'win32'
|
|
SQLAlchemy==2.0.19
|
|
faiss-cpu
|
|
accelerate>=0.24.1
|
|
spacy
|
|
PyMuPDF
|
|
rapidocr_onnxruntime
|
|
|
|
requests
|
|
pathlib
|
|
pytest
|
|
numexpr
|
|
strsimpy
|
|
markdownify
|
|
tiktoken
|
|
tqdm
|
|
websockets
|
|
numpy~=1.24.4
|
|
pandas~=2.0.3
|
|
einops
|
|
transformers_stream_generator>=0.0.4
|
|
|
|
vllm>=0.2.0; sys_platform == "linux"
|
|
|
|
# online api libs
|
|
zhipuai
|
|
dashscope>=1.10.0 # qwen
|
|
qianfan
|
|
# volcengine>=1.0.106 # fangzhou
|
|
|
|
# uncomment libs if you want to use corresponding vector store
|
|
# pymilvus==2.1.3 # requires milvus==2.1.3
|
|
# psycopg2
|
|
# pgvector |