v0.2.4
版本发布时间: 2023-09-15 16:47:04
chatchat-space/Langchain-Chatchat最新发布版本:v0.3.1(2024-07-12 23:23:05)
重要提示
Langchain-Chatchat v0.2.4 版本中修改了 configs/server_config.py.example 和 configs/model_config.py.example 中配置项,建议所有用户按照 README.md 的 开发部署 章节中 3. 设置配置项 中的相关描述重新完成项目中的配置文件生成。
此外,v0.2.4 版本中知识库相关信息的数据库表发生了变化,需重建知识库。
本次更新中依赖 python 包与其版本发生了更新,请使用 pip install -r requirements.txt
进行更新。
新增功能
- 添加 MiniMax API、百度文心千帆 API、讯飞星火 API 接入支持 by @liunux4odoo @imClumsyPanda in https://github.com/chatchat-space/Langchain-Chatchat/pull/1445 https://github.com/chatchat-space/Langchain-Chatchat/pull/1460
- 增加 ChineseRecursiveTextSplitter by @imClumsyPanda in https://github.com/chatchat-space/Langchain-Chatchat/pull/1447
- 增加了自定义分词器适配 by @zRzRzRzRzRzRzR in https://github.com/chatchat-space/Langchain-Chatchat/pull/1462
- 对话接口支持 temperature 参数 by @liunux4odoo in https://github.com/chatchat-space/Langchain-Chatchat/pull/1455
- api 和 webui 知识库操作支持 chunk_size/overlap_size/zh_title_enhance 参数 by @liunux4odoo @imClumsyPanda in https://github.com/chatchat-space/Langchain-Chatchat/pull/1459
- 新增英文版 README,并更新 readme.md by @hzg0601 @imClumsyPanda in https://github.com/chatchat-space/Langchain-Chatchat/pull/1411
- 增加显示详细日志开关 by @glide-the in https://github.com/chatchat-space/Langchain-Chatchat/pull/1419
- 修改 Embeddings 和 FAISS 缓存加载方式,知识库相关 API 接口支持多线程并发 by @liunux4odoo in https://github.com/chatchat-space/Langchain-Chatchat/pull/1434
- 优化知识库文档相关操作 by @liunux4odoo in https://github.com/chatchat-space/Langchain-Chatchat/pull/1413
- 优化 api 接口的并发能力 by @liunux4odoo in https://github.com/chatchat-space/Langchain-Chatchat/pull/1414
- 提醒 fitz 包是来自 pyMuPDF by @roki1031 in https://github.com/chatchat-space/Langchain-Chatchat/pull/1407
- 优化 startup by @liunux4odoo in https://github.com/chatchat-space/Langchain-Chatchat/pull/1416
- 更新 .gitignore by @kylezh in https://github.com/chatchat-space/Langchain-Chatchat/pull/1364
- 添加自动关闭 issue 的 action by @liunux4odoo in https://github.com/chatchat-space/Langchain-Chatchat/pull/1437
问题修复
- 修复切换模型可能不成功的 bug by @liunux4odoo
- 修复 RapidOCRPdfLoader 加载 pdf 文件可能发生灰度图识别错误的 bug @imClumsyPanda
- 修复 chat 接口报错时信息显示 KeyError: 'answer' 的 Bug by @lightedcode in https://github.com/chatchat-space/Langchain-Chatchat/pull/1399
- 优化知识库问答与搜索引擎问答的 API 接口,避免 docs 重复返回(close #1431) by @liunux4odoo in https://github.com/chatchat-space/Langchain-Chatchat/pull/1435
- 由于 server.utils 导入 model_workers 时,导入 fastchat model_worker,导致 startup 启动延迟明显 by @liunux4odoo in https://github.com/chatchat-space/Langchain-Chatchat/pull/1436
- 修复 milvus_kb_service 中一些 bug,添加文档后将数据同步到数据库 by @liunux4odoo in https://github.com/chatchat-space/Langchain-Chatchat/pull/1452
- 修复 langchain.Milvus bug(#10492) by @liunux4odoo in https://github.com/chatchat-space/Langchain-Chatchat/pull/1454
- 修改智谱 API 默认名称 by @liunux4odoo in https://github.com/chatchat-space/Langchain-Chatchat/pull/1484
New Contributors
- @lightedcode made their first contribution in https://github.com/chatchat-space/Langchain-Chatchat/pull/1399
- @roki1031 made their first contribution in https://github.com/chatchat-space/Langchain-Chatchat/pull/1407
- @kylezh made their first contribution in https://github.com/chatchat-space/Langchain-Chatchat/pull/1364
Full Changelog: https://github.com/chatchat-space/Langchain-Chatchat/compare/v0.2.3...v0.2.4