Langchain-Chatchat/requirements.txt

81 lines
1.7 KiB
Plaintext
Raw Normal View History

2023-11-06 22:11:55 +08:00
# API requirements
2023-12-29 09:10:01 +08:00
torch~=2.1.2
torchvision~=0.16.2
torchaudio~=2.1.2
xformers==0.0.23.post1
transformers==4.36.2
sentence_transformers==2.2.2
langchain==0.0.354
2023-12-29 09:10:01 +08:00
langchain-experimental==0.0.47
pydantic==1.10.13
2023-12-29 09:10:01 +08:00
fschat==0.2.34
openai~=1.7.1
fastapi~=0.108.0
sse_starlette==1.8.2
nltk>=3.8.1
uvicorn>=0.24.0.post1
starlette~=0.32.0
2023-11-30 22:23:15 +08:00
unstructured[all-docs]==0.11.0
python-magic-bin; sys_platform == 'win32'
SQLAlchemy==2.0.19
faiss-cpu~=1.7.4 # `conda install faiss-gpu -c conda-forge` if you want to accelerate with gpus
accelerate~=0.24.1
2023-12-29 09:10:01 +08:00
spacy~=3.7.2
PyMuPDF~=1.23.8
2023-12-31 20:13:14 +08:00
rapidocr_onnxruntime==1.3.8
requests~=2.31.0
pathlib~=1.0.1
pytest~=7.4.3
numexpr~=2.8.6 # max version for py38
strsimpy~=0.2.1
markdownify~=0.11.6
tiktoken~=0.5.2
tqdm>=4.66.1
websockets>=12.0
2023-12-31 20:13:14 +08:00
numpy~=1.24.4
pandas~=2.0.3
einops>=0.7.0
2023-11-06 22:11:55 +08:00
transformers_stream_generator==0.0.4
2023-12-29 09:10:01 +08:00
vllm==0.2.6; sys_platform == "linux"
2023-12-31 20:13:14 +08:00
httpx[brotli,http2,socks]==0.25.2
llama-index
# optional document loaders
2023-12-31 20:13:14 +08:00
# rapidocr_paddle[gpu]>=1.3.0.post5 # gpu accelleration for ocr of pdf and image files
jq==1.6.0 # for .json and .jsonl files. suggest `conda install jq` on windows
beautifulsoup4~=4.12.2 # for .mhtml files
2023-12-29 09:10:01 +08:00
pysrt~=1.1.2
# Online api libs dependencies
zhipuai==1.0.7 # zhipu
dashscope==1.13.6 # qwen
# volcengine>=1.0.119 # fangzhou
# uncomment libs if you want to use corresponding vector store
# pymilvus>=2.3.4
# psycopg2==2.9.9
# pgvector>=0.2.4
# Agent and Search Tools
arxiv~=2.1.0
youtube-search~=2.1.2
duckduckgo-search~=3.9.9
metaphor-python~=0.1.23
2023-08-12 10:44:04 +08:00
2023-11-06 22:11:55 +08:00
# WebUI requirements
streamlit~=1.29.0
2023-08-12 10:44:04 +08:00
streamlit-option-menu>=0.3.6
2023-12-29 09:10:01 +08:00
streamlit-chatbox==1.1.11
streamlit-modal>=0.1.0
2023-08-12 10:44:04 +08:00
streamlit-aggrid>=0.3.4.post3
watchdog>=3.0.0
2024-01-02 15:22:35 +08:00
docx2txt
2024-01-05 17:25:33 +08:00
elasticsearch
2024-01-10 10:45:47 +08:00
PyPDF2
jieba