Langchain-Chatchat/requirements.txt

64 lines
1.3 KiB
Plaintext
Raw Normal View History

2023-11-06 22:11:55 +08:00
# 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
2023-07-27 23:22:07 +08:00
sentence_transformers
transformers>=4.35.2
2023-11-25 19:56:36 +08:00
torch==2.1.0 ##on win, install the cuda version manually if you want use gpu
torchvision #on win, install the cuda version manually if you want use gpu
torchaudio #on win, install the cuda version manually if you want use gpu
fastapi>=0.104
nltk>=3.8.1
2023-07-27 23:22:07 +08:00
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
2023-08-25 22:14:56 +08:00
accelerate
spacy
PyMuPDF
rapidocr_onnxruntime
2023-08-08 14:29:08 +08:00
requests
pathlib
pytest
numexpr
strsimpy
markdownify
2023-11-06 22:11:55 +08:00
tiktoken
tqdm
websockets
numpy~=1.24.4
pandas~=2.0.3
einops
transformers_stream_generator==0.0.4
vllm==0.2.2; sys_platform == "linux"
# online api libs dependencies
# zhipuai>=1.0.7
# dashscope>=1.10.0
# qianfan>=0.2.0
# volcengine>=1.0.106
# uncomment libs if you want to use corresponding vector store
# pymilvus==2.1.3 # requires milvus==2.1.3
# psycopg2
# pgvector
2023-08-12 10:44:04 +08:00
2023-11-06 22:11:55 +08:00
# WebUI requirements
2023-11-25 19:56:36 +08:00
streamlit~=1.28.2 # # on win, make sure write its path in environment variable
2023-08-12 10:44:04 +08:00
streamlit-option-menu>=0.3.6
streamlit-antd-components>=0.2.3
streamlit-chatbox>=1.1.11
streamlit-modal==0.1.0
2023-08-12 10:44:04 +08:00
streamlit-aggrid>=0.3.4.post3
httpx[brotli,http2,socks]~=0.24.1
watchdog