Langchain-Chatchat/requirements.txt
liunux4odoo d0846f88cc - pydantic 限定为 v1,并统一项目中所有 pydantic 导入路径,为以后升级 v2 做准备
- 重构 api.py:
    - 按模块划分为不同的 router
    - 添加 openai 兼容的转发接口,项目默认使用该接口以实现模型负载均衡
    - 添加 /tools 接口,可以获取/调用编写的 agent tools
    - 移除所有 EmbeddingFuncAdapter,统一改用 get_Embeddings
    - 待办:
        - /chat/chat 接口改为 openai 兼容
        - 添加 /chat/kb_chat 接口,openai 兼容
        - 改变 ntlk/knowledge_base/logs 等数据目录位置
2024-03-06 13:51:34 +08:00

83 lines
1.6 KiB
Plaintext

# API requirements
langchain==0.1.5
langchainhub==0.1.14
langchain-community==0.0.17
langchain-openai==0.0.5
langchain-experimental==0.0.50
fastapi==0.109.2
sse_starlette~=1.8.2
nltk~=3.8.1
uvicorn>=0.27.0.post1
unstructured[]~=0.12.0
python-magic-bin; sys_platform == 'win32'
SQLAlchemy~=2.0.25
faiss-cpu~=1.7.4
# accelerate~=0.24.1
# spacy~=3.7.2
PyMuPDF~=1.23.16
rapidocr_onnxruntime~=1.3.8
requests~=2.31.0
pathlib~=1.0.1
pytest~=7.4.3
llama-index==0.9.35
# jq==1.6.0
# beautifulsoup4==4.12.2
# pysrt==1.1.2
# dashscope==1.13.6 # qwen
# volcengine==1.0.119 # fangzhou
# uncomment libs if you want to use corresponding vector store
# pymilvus==2.3.6
# psycopg2==2.9.9
# pgvector>=0.2.4
# chromadb==0.4.13
#flash-attn==2.4.2 # For Orion-14B-Chat and Qwen-14B-Chat
#autoawq==0.1.8 # For Int4
#rapidocr_paddle[gpu]==1.3.11 # gpu accelleration for ocr of pdf and image files
arxiv==2.1.0
youtube-search==2.1.2
duckduckgo-search==3.9.9
metaphor-python==0.1.23
httpx==0.26.0
httpx_sse==0.4.0
watchdog==3.0.0
pyjwt==2.8.0
elasticsearch
numexpr>=2.8.8
strsimpy>=0.2.1
markdownify>=0.11.6
tqdm>=4.66.1
websockets>=12.0
numpy>=1.26.3
pandas~=2.1.4
pydantic<2
httpx[brotli,http2,socks]>=0.25.2
# optional document loaders
# rapidocr_paddle[gpu]>=1.3.0.post5
# jq>=1.6.0
# html2text
# beautifulsoup4>=4.12.2
# pysrt>=1.1.2
# Agent and Search Tools
# arxiv>=2.1.0
# youtube-search>=2.1.2
# duckduckgo-search>=4.1.0
# metaphor-python>=0.1.23
# WebUI requirements
streamlit==1.30.0
streamlit-option-menu==0.3.12
streamlit-antd-components==0.3.1
streamlit-chatbox==1.1.11
streamlit-modal==0.1.0
streamlit-aggrid==0.3.4.post3