mirror of
https://github.com/RYDE-WORK/Langchain-Chatchat.git
synced 2026-02-01 11:53:24 +08:00
* 新功能:
- WEBUI 添加对话评分功能
- 增加 /chat/feedback 接口,用于接收对话评分
- /chat/chat 接口返回值由 str 改为 {"text":str, "chat_history_id": str}
- init_database.py 添加 --create-tables --clear-tables 参数
依赖:
- streamlit-chatbox==1.1.11
开发者:
- ChatHistoryModel 的 id 字段支持自动生成
- SAVE_CHAT_HISTORY 改到 basic_config.py
* 修复:点击反馈后页面未刷新
---------
Co-authored-by: liqiankun.1111 <liqiankun.1111@bytedance.com>
Co-authored-by: liunux4odoo <liunux@qq.com>
Co-authored-by: liunux4odoo <41217877+liunux4odoo@users.noreply.github.com>
61 lines
1.0 KiB
Plaintext
61 lines
1.0 KiB
Plaintext
langchain>=0.0.324
|
|
langchain-experimental>=0.0.30
|
|
fschat[model_worker]==0.2.31
|
|
xformers>=0.0.22.post4
|
|
openai>=0.28.1
|
|
sentence_transformers
|
|
transformers>=4.34
|
|
torch>=2.0.1 # 推荐2.1
|
|
torchvision
|
|
torchaudio
|
|
fastapi>=0.104
|
|
nltk>=3.8.1
|
|
uvicorn~=0.23.1
|
|
starlette~=0.27.0
|
|
pydantic~=1.10.11
|
|
unstructured[all-docs]>=0.10.12
|
|
python-magic-bin; sys_platform == 'win32'
|
|
SQLAlchemy==2.0.19
|
|
faiss-cpu
|
|
accelerate
|
|
spacy
|
|
PyMuPDF
|
|
rapidocr_onnxruntime
|
|
|
|
requests
|
|
pathlib
|
|
pytest
|
|
scikit-learn
|
|
numexpr
|
|
strsimpy
|
|
markdownify
|
|
|
|
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
|
|
|
|
numpy~=1.24.4
|
|
pandas~=2.0.3
|
|
streamlit>=1.26.0
|
|
streamlit-option-menu>=0.3.6
|
|
streamlit-antd-components>=0.1.11
|
|
streamlit-chatbox==1.1.11
|
|
streamlit-aggrid>=0.3.4.post3
|
|
httpx[brotli,http2,socks]>=0.25.0
|
|
watchdog
|
|
tqdm
|
|
websockets
|
|
tiktoken
|
|
einops
|
|
scipy
|
|
transformers_stream_generator==0.0.4
|