Langchain-Chatchat v0.2.2
重要提示
Langchain-Chatchat v0.2.2 版本中修改了 configs/server_config.py.example
和 configs/model_config.py.example
中配置项,建议所有用户按照 README.md
的 开发部署
章节中 3. 设置配置项
中的相关描述重新完成项目中的配置文件生成。
另外,自 v0.2.2 版本起,启动项目的方式建议使用 一键启动 方式进行启动。
新增功能
- 增加对 bge-large-zh-noinstruct 和 openai text-embedding-ada-002 两种 Embedding 模型的调用(需要更新 configs/model_config.py)by @zRzRzRzRzRzRzR in #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 #1160
- @zRzRzRzRzRzRzR made their first contribution in #1119
- @Meidanlong made their first contribution in #1228
- @Pickupppp made their first contribution in #1233
Full Changelog: v0.2.1...v0.2.2