62 lines
1.4 KiB
Plaintext
62 lines
1.4 KiB
Plaintext
# API requirements
|
||
|
||
langchain==0.0.344
|
||
langchain-experimental>=0.0.42
|
||
pydantic==1.10.13
|
||
fschat>=0.2.34
|
||
openai>=1.6.0
|
||
fastapi>=0.105
|
||
sse_starlette
|
||
nltk>=3.8.1
|
||
uvicorn>=0.24.0.post1
|
||
starlette~=0.27.0
|
||
unstructured[docx,csv]==0.11.0 # add pdf if need
|
||
python-magic-bin; sys_platform == 'win32'
|
||
SQLAlchemy==2.0.19
|
||
faiss-cpu # `conda install faiss-gpu -c conda-forge` if you want to accelerate with gpus
|
||
requests>=2.31.0
|
||
pathlib>=1.0.1
|
||
pytest>=7.4.3
|
||
numexpr>=2.8.7
|
||
strsimpy>=0.2.1
|
||
markdownify>=0.11.6
|
||
tqdm>=4.66.1
|
||
websockets
|
||
numpy~=1.24.4
|
||
pandas~=2.0.3
|
||
|
||
# optional document loaders
|
||
# rapidocr_paddle[gpu] # gpu accelleration for ocr of pdf and image files
|
||
jq # for .json and .jsonl files. suggest `conda install jq` on windows
|
||
# html2text # for .enex files
|
||
# beautifulsoup4 # for .mhtml files
|
||
# pysrt # for .srt files
|
||
|
||
# Online api libs dependencies
|
||
|
||
zhipuai>=1.0.7,<=2.0.0 # zhipu
|
||
dashscope>=1.10.0 # qwen
|
||
# 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>=0.2.4
|
||
|
||
# Agent and Search Tools
|
||
|
||
arxiv>=2.0.0
|
||
youtube-search>=2.1.2
|
||
duckduckgo-search>=3.9.9
|
||
metaphor-python>=0.1.23
|
||
|
||
# WebUI requirements
|
||
|
||
streamlit>=1.29.0 # do remember to add streamlit to environment variables if you use windows
|
||
streamlit-option-menu>=0.3.6
|
||
streamlit-chatbox>=1.1.11
|
||
streamlit-modal>=0.1.0
|
||
streamlit-aggrid>=0.3.4.post3
|
||
watchdog>=3.0.0
|
||
|