mirror of
https://github.com/RYDE-WORK/Langchain-Chatchat.git
synced 2026-01-19 13:23:16 +08:00
* update ApiRequest: 删除no_remote_api本地调用模式;支持同步/异步调用 * 实现API和WEBUI的分离: - API运行服务器上的配置通过/llm_model/get_model_config、/server/configs接口提供,WEBUI运行机器上的配置项仅作为代码内部默认值使用 - 服务器可用的搜索引擎通过/server/list_search_engines提供 - WEBUI可选LLM列表中只列出在FSCHAT_MODEL_WORKERS中配置的模型 - 修改WEBUI中默认LLM_MODEL获取方式,改为从api端读取 - 删除knowledge_base_chat中`local_doc_url`参数 其它修改: - 删除多余的kb_config.py.exmaple(名称错误) - server_config中默认关闭vllm - server_config中默认注释除智谱AI之外的在线模型 - 修改requests从系统获取的代理,避免model worker注册错误 * 修正: - api.list_config_models返回模型原始配置 - api.list_config_models和api.get_model_config中过滤online api模型的敏感信息 - 将GPT等直接访问的模型列入WEBUI可选模型列表 其它: - 指定langchain==0.3.313, fschat==0.2.30, langchain-experimental==0.0.30
42 lines
764 B
Plaintext
42 lines
764 B
Plaintext
langchain==0.0.313
|
|
langchain-experimental==0.0.30
|
|
fschat[model_worker]==0.2.30
|
|
openai
|
|
sentence_transformers>=2.2.2
|
|
transformers>=4.34
|
|
torch>=2.0.1
|
|
torchvision
|
|
torchaudio
|
|
fastapi>=0.103.1
|
|
nltk~=3.8.1
|
|
uvicorn~=0.23.1
|
|
starlette~=0.27.0
|
|
pydantic~=1.10.11
|
|
unstructured[all-docs]>=0.10.4
|
|
python-magic-bin; sys_platform == 'win32'
|
|
SQLAlchemy==2.0.19
|
|
faiss-cpu
|
|
accelerate
|
|
spacy
|
|
PyMuPDF==1.22.5
|
|
rapidocr_onnxruntime>=1.3.2
|
|
requests
|
|
pathlib
|
|
pytest
|
|
scikit-learn
|
|
numexpr
|
|
|
|
vllm>=0.2.0; sys_platform == "linux"
|
|
|
|
|
|
# online api libs
|
|
# zhipuai
|
|
# dashscope>=1.10.0 # qwen
|
|
# qianfan
|
|
# volcengine>=1.0.106 # fangzhou
|
|
# duckduckgo-searchd #duckduckgo搜索
|
|
|
|
# uncomment libs if you want to use corresponding vector store
|
|
# pymilvus==2.1.3 # requires milvus==2.1.3
|
|
# psycopg2
|
|
# pgvector |