Langchain-chatchat

Latest version: v0.3.1.3

Safety actively analyzes 706267 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 6

0.2.6

本次更新中依赖 Python 包与其版本发生了更新,请使用 pip install -r requirements.txt 进行更新。

🛠 新增功能

- 支持百川在线模型 (hzg0601 liunux4odoo in 1623)
- 支持 Azure OpenAI 与 claude 等 Langchain 自带模型 (zRzRzRzRzRzRzR in 1808)
- Agent 功能大量更新,支持更多的工具、更换提示词、检索知识库 (zRzRzRzRzRzRzR in 1626 1666 1785)
- 加长 32k 模型的历史记录 (zRzRzRzRzRzRzR in 1629 1630)
- *_chat 接口支持 max_tokens 参数 (liunux4odoo in 1744)
- 实现 API 和 WebUI 的前后端分离 (liunux4odoo in 1772)
- 支持 zlilliz 向量库 (zRzRzRzRzRzRzR in 1785)
- 支持 metaphor 搜索引擎 (liunux4odoo in 1792)
- 支持 p-tuning 模型 (hzg0601 in 1810)
- 更新完善文档和 Wiki (imClumsyPanda zRzRzRzRzRzRzR glide-the in 1680 1811)

🐞 问题修复

- 修复 bge-* 模型匹配超过 1 的问题 (zRzRzRzRzRzRzR in 1652)
- 修复系统代理为空的问题 (glide-the in 1654)
- 修复重建知识库时 `d == self.d assert error` (liunux4odoo in 1766)
- 修复对话历史消息错误 (liunux4odoo in 1801)
- 修复 OpenAI 无法调用的 bug (zRzRzRzRzRzRzR in 1808)
- 修复 windows下 BIND_HOST=0.0.0.0 时对话出错的问题 (hzg0601 in 1810)

New Contributors
* qiankunli made their first contribution in https://github.com/chatchat-space/Langchain-Chatchat/pull/1501
* yihleego made their first contribution in https://github.com/chatchat-space/Langchain-Chatchat/pull/1534
* WilliamChen-luckbob made their first contribution in https://github.com/chatchat-space/Langchain-Chatchat/pull/1585

欢迎贡献

有好的建议可以通过 PR 给项目贡献代码。具体见 Wiki 贡献篇。
除了贡献代码,也可以提交文本分词用例,帮助项目实现更好的分词效果。具体见 1374


**Full Changelog**: https://github.com/chatchat-space/Langchain-Chatchat/compare/v0.2.5...v0.2.6

0.2.5

本次更新中依赖 python 包与其版本发生了更新,请使用 pip install -r requirements.txt 进行更新。

🛠 新增功能

- 拆分configs配置文件,简化模型配置 by liunux4odoo in 1474
- 更新fastchat版本,支持更多的模型,更新文档 by hzg0601 in 1479
- WEBUI设定默认主题 by imClumsyPanda liunux4odoo in 1484
- 优化LLM模型列表获取、切换逻辑 by liunux4odoo in 1497
- 更新migrate.py和init_database.py,加强知识库迁移工具 by liunux4odoo in 1498
- 支持火山在线模型 by qiankunli liunux4odoo in 1501
- 支持阿里云通义千问在线模型 by yihleego liunux4odoo in 1534
- 实现Agent对话功能(当前仅ChatGPT可以运行) by zRzRzRzRzRzRzR in 1503 1560 1611
- 添加configs/prompt_config.py,允许用户自定义prompt模板 by liunux4odoo in 1504
- 添加python标准ignore文件 by Orion-zhen in 1530
- 将所有httpx请求改为使用Client,提高效率 by liunux4odoo in 1554
- 支持baichuan2模型,更新配置文件和文档 by hzg0601 in 1568
- 支持vllm模型加速(仅linux),更新支持模型列表 by hzg0601 in 1574 1581 1582 1603
- 对话接口的temperature参数范围修改为[0.0, 1.0] by zRzRzRzRzRzRzR in 1613
- 增加其它模型的参数适配 by glide-the
- 增加传入矢量名称加载向量库 by glide-the

🐞 问题修复

- 修复ChatGPT api_base_url错误;用户可以在model_config在线模型配置中覆盖默认的api_base_url by liunux4odoo in 1496
- 修复csv文件上传知识库,编码报错导致解析失败的问题 by peterz3g in 1508
- 修复中文标题加强变量名和函数名重复 by dividez in 1509
- 修复webui中重建知识库以及对话界面UI错误 by liunux4odoo in 1615
- 修复FAISS向量库未正确保存的bug by glide-the

New Contributors
* zhengxiaoyao0716 made their first contribution in https://github.com/chatchat-space/Langchain-Chatchat/pull/1500
* qiankunli made their first contribution in https://github.com/chatchat-space/Langchain-Chatchat/pull/1501
* dividez made their first contribution in https://github.com/chatchat-space/Langchain-Chatchat/pull/1509
* yihleego made their first contribution in https://github.com/chatchat-space/Langchain-Chatchat/pull/1534
* WilliamChen-luckbob made their first contribution in https://github.com/chatchat-space/Langchain-Chatchat/pull/1585


**Full Changelog**: https://github.com/chatchat-space/Langchain-Chatchat/compare/v0.2.4...v0.2.5

0.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

0.2.3

---

新增功能
* 添加切换 LLM 模型功能 by liunux4odoo in https://github.com/chatchat-space/Langchain-Chatchat/pull/1342
* 支持智谱AI在线模型 by liunux4odoo in https://github.com/chatchat-space/Langchain-Chatchat/pull/1342
* 增加 RapidOCRPDFLoader 和 RapidOCRLoader 支持 pdf 文件与 jpg 等图片文件的 OCR 识别 by imClumsyPanda in https://github.com/chatchat-space/Langchain-Chatchat/pull/1275
* 优化 csv 文件读取逻辑,每行数据作为一个段落,对单行信息不再进行分段 by imClumsyPanda
* 运行 startup.py 时,如果不加参数直接显示配置和帮助信息后退出 by liunux4odoo in https://github.com/chatchat-space/Langchain-Chatchat/pull/1284
* startup.py增加参数-q | quiet,可以过滤fastchat的controller/model_worker不必要的日志输出 by liunux4odoo in https://github.com/chatchat-space/Langchain-Chatchat/pull/1333
* 增加数据库字段,重建知识库使用多线程 by liunux4odoo in https://github.com/chatchat-space/Langchain-Chatchat/pull/1280
* 优化知识数据库存储内容,支持按文件名、元数据检索向量库(当前仅支持FAISS,milvus/pg待实现) by liunux4odoo in https://github.com/chatchat-space/Langchain-Chatchat/pull/1341
* 更新 readme.md 一键启动说明的顺序,并在一键启动中增加多卡启动的说明,以及增加多卡启动gpus参数不生效的说明 by hzg0601 in https://github.com/chatchat-space/Langchain-Chatchat/pull/1361
* 更新 INSTALL.md by zzflybird in https://github.com/chatchat-space/Langchain-Chatchat/pull/1250
* 优化 configs 减少代码依赖 by liunux4odoo imClumsyPanda in https://github.com/chatchat-space/Langchain-Chatchat/pull/1328 https://github.com/chatchat-space/Langchain-Chatchat/pull/1293
* 优化 LLM 和 Embedding 模型运行设备配置,默认设置为 "auto" 自动检测 by liunux4odoo in https://github.com/chatchat-space/Langchain-Chatchat/pull/1330
* webui自动从configs获取api地址(close 1319) by liunux4odoo in https://github.com/chatchat-space/Langchain-Chatchat/pull/1328

---

问题修复
* 修复 json 和 pdf 文档向量化失败 by liunux4odoo in https://github.com/chatchat-space/Langchain-Chatchat/pull/1252
* 修复重建知识库界面无反应的问题,添加一些log信息 by liunux4odoo in https://github.com/chatchat-space/Langchain-Chatchat/pull/1258
* 修复使用chatgpt等在线API服务时模型加载错误 by liunux4odoo in https://github.com/chatchat-space/Langchain-Chatchat/pull/1271
* 改正文本错误 by miraged3 in https://github.com/chatchat-space/Langchain-Chatchat/pull/1296
* 修复重建知识库时FAISS未保存 by liunux4odoo in https://github.com/chatchat-space/Langchain-Chatchat/pull/1330

---

New Contributors
* zzflybird made their first contribution in https://github.com/chatchat-space/Langchain-Chatchat/pull/1250
* miraged3 made their first contribution in https://github.com/chatchat-space/Langchain-Chatchat/pull/1296

**Full Changelog**: https://github.com/chatchat-space/Langchain-Chatchat/compare/v0.2.2...v0.2.3

0.2.2

新增功能

- 增加对 bge-large-zh-noinstruct 和 openai text-embedding-ada-002 两种 Embedding 模型的调用(需要更新 configs/model_config.py)by zRzRzRzRzRzRzR in https://github.com/chatchat-space/Langchain-Chatchat/pull/1119
- 优化 startup.py 一键/多功能启动脚本(需要更新 configs/server_config.py)by liunux4odoo hzg0601
- FAISS 向量库支持 SCORE_THREASHOLD by liunux4odoo
- 优化 FAISS 缓存,减少频繁加载与保存 by liunux4odoo
- 在常见问题中补充向量库相关问题 by zqt996
- 添加 OpenAI API 调用代理设置 by zqt996
- 将搜索引擎对话中默认选项修改为 `duckduckgo` by imClumsyPanda

问题修复

- 修复重建知识库出错的问题 by liunux4odoo
- 修复删除知识文件时,向量库中残留的问题 by liunux4odoo
- 修复知识库管理页面,“`{'kb_name': ...} not iterable`” 的问题 by liunux4odoo
- 修复 milvus 和 pgvector 向量库初始化异常和 search 方法异常 by zqt996 Pickupppp shutter-cp
- 修复搜索引擎和知识库聊天接口返回不全 by liunux4odoo
- 修复输入或输出消息中包含`{ }`引发错误的问题 by liunux4odoo

New Contributors
* shutter-cp made their first contribution in https://github.com/chatchat-space/Langchain-Chatchat/pull/1160
* zRzRzRzRzRzRzR made their first contribution in https://github.com/chatchat-space/Langchain-Chatchat/pull/1119
* Meidanlong made their first contribution in https://github.com/chatchat-space/Langchain-Chatchat/pull/1228
* Pickupppp made their first contribution in https://github.com/chatchat-space/Langchain-Chatchat/pull/1233

**Full Changelog**: https://github.com/chatchat-space/Langchain-Chatchat/compare/v0.2.1...v0.2.2

0.2.1

变更日志
* LLM API 解决多卡启动问题并更新lora加载方式说明 by hzg0601 in https://github.com/chatchat-space/Langchain-Chatchat/pull/1079
* 增加支持全平台、可用于项目全部服务的一键启动脚本 `startup.py`,并能在控制台中显示项目主要配置信息 by liunux4odoo hzg0601
* 在 FastAPI Docs 与 WebUI 界面增加项目版本号信息 by imClumsyPanda
* 修复 WebUI 界面图片可能无法正常显示的问题 by liunux4odoo
* 知识库文件兼容扩展名大小写格式 by xain in https://github.com/chatchat-space/Langchain-Chatchat/pull/1128
* 修复 README.md by gaoyuanzero in https://github.com/chatchat-space/Langchain-Chatchat/pull/1137, bones-zhu in https://github.com/chatchat-space/Langchain-Chatchat/pull/1135, chinainfant in https://github.com/chatchat-space/Langchain-Chatchat/pull/1133, gaoyuanzero in https://github.com/chatchat-space/Langchain-Chatchat/pull/1132, eltociear in https://github.com/chatchat-space/Langchain-Chatchat/pull/1131

New Contributors
* xain made their first contribution in https://github.com/chatchat-space/Langchain-Chatchat/pull/1128
* gaoyuanzero made their first contribution in https://github.com/chatchat-space/Langchain-Chatchat/pull/1132

**Full Changelog**: https://github.com/chatchat-space/Langchain-Chatchat/compare/v0.2.0...v0.2.1

Page 2 of 6

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.