Langchain-Chatchat/tests
liunux4odoo 9ce328fea9
实现Api和WEBUI的前后端分离 (#1772)
* 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
2023-10-17 16:52:07 +08:00
..
agent fix: langchain warnings for import from root 2023-09-27 21:55:02 +08:00
api 实现Api和WEBUI的前后端分离 (#1772) 2023-10-17 16:52:07 +08:00
custom_splitter 优化configs (#1474) 2023-09-15 17:52:22 +08:00
document_loader fix unit test name 2023-09-05 21:08:02 +08:00
kb_vector_db 添加知识库使用的向量库测试用例 2023-08-29 15:01:26 +08:00
online_api 【功能新增】在线 LLM 模型支持阿里云通义千问 (#1534) 2023-09-20 21:34:12 +08:00
samples add RapidOCRPDFLoader and RapidOCRLoader (#1275) 2023-09-01 10:23:57 +08:00
test_migrate.py feat: support volc fangzhou 2023-09-16 22:21:16 +08:00