Releases: chatchat-space/Langchain-Chatchat
Releases · chatchat-space/Langchain-Chatchat
langchain-ChatGLM v0.1.8
What's Changed
1. 新增功能
- 调整 PROMPT_TEMPLATE 默认值
- 调整显存清理机制,使流式输出占用显存资源更少
- 支持 macOS 系统中使用 mps 运行模型时清理内存,流式输出时内存占用约为之前的一半
- 在 configs/model_config 中增加是否使用流式输出的设置项 STREAMING
- 支持Docker运行使用主机GPU by @cocomany in #196
- 增加 issue 模版 by @calcitem in #205
2. 问题修复
- 修复上一版本中支持流式输出后,可能存在无法非流式输出的问题(ChatYUAN 目前仍仅支持非流失输出)
Full Changelog: v0.1.7...v0.1.8
langchain-ChatGLM v0.1.7
What's Changed
1. 新增功能
- 在 local_doc_qa 中增加上下文扩充功能
- 在 configs/model_config.py 中新增全局变量 CHUNK_SIZE 用于设置每段扩充后上下文长度限制
- 在 docker file 中增加 textsplitter by @cinience in #187
New Contributors
Full Changelog: v0.1.6...v0.1.7
langchain-ChatGLM v0.1.6
What's Changed
1. 新增功能
- 增加命令行 Demo 与 Web UI 中的流式输出
- 完善 Web UI 运行时报错信息在命令行工具中的显示
- 使用 langchain v0.0.146 中对 embedding 运行设备的定义,提升对 langchain 最低版本的要求
- configs/model_config.py 中新增对默认 PROMPT_TEMPLATE 的设置
- 增加 requirements.txt 中对 accelerate 和 pycocotools 的要求 by @EtachGu in #158
2. 问题修复
- 修复 .md 文件加载过程中可能发生表格不在同一 text chunk 中的问题
- configs/model_config.py 中相对路径修改为绝对路径,避免可能因此造成的无法找到路径等报错
New Contributors
Full Changelog: v0.1.5...v0.1.6
langchain-chatglm v0.1.5
What's Changed
1. 新增功能
2. 问题修复
- 修复 webui.py 中存在没有知识库时也无法新建知识库的问题 by @imClumsyPanda in #157
New Contributors
Full Changelog: v0.1.4...v0.1.5
langchain-chatglm v1.0.4
What's Changed
- 更新 README_en.md by @eltociear in #139
- 更新 FAQ.md by @dongdong9 in #142
- 修复 v1.0.3 中可能导致双倍显存占用的问题 by @imClumsyPanda in #151
New Contributors
- @eltociear made their first contribution in #139
- @dongdong9 made their first contribution in #142
Full Changelog: v0.1.3...v0.1.4
langchain-ChatGLM v0.1.3
What's Changed
1. 新增功能
- 更新 Web UI by @imClumsyPanda in #137
- 增加 API 支持
- Support for p-tuningv2 by @thaumstrial in #104
- 参考ChatGLM-6B代码实现模型多卡部署 by @Viscount in #128
- 在 README 添加 ModelWhale 在线运行项目的链接 by @jsl9208 in #126
- 更新常见问题 by @93938791
2. 问题修复
- fix: typo by @drunken-boat in #111
- 子文件的__pycache__忽略 by @glide-the in #102
New Contributors
- @thaumstrial made their first contribution in #104
- @drunken-boat made their first contribution in #111
- @Viscount made their first contribution in #128
- @jsl9208 made their first contribution in #126
- @imClumsyPanda made their first contribution in #137
Full Changelog: v0.1.2...v0.1.3
langchain-ChatGLM v0.1.2
langchain-ChatGLM v0.1.1
更新内容:
修复 webui.py 中存在的 VECTOR_SEARCH_TOP_K 参数可能与显示不一致的问题
修复 webui.py 中对模型是否存在判断时只判断 LLM 未判断 Embedding 的问题
Full Changelog: v0.1.0...v0.1.1
langchain-ChatGLM v0.1.0
更新内容:
-
重构项目结构,在根目录下保留命令行 Demo cli_demo.py 和 Web UI Demo webui.py;
-
对 Web UI 进行改进,修改为运行 Web UI 后首先按照 configs/model_config.py 默认选项加载模型,并增加报错提示信息等;
-
对 README.md 中常见问题进行补充说明。
New Contributors
- @zx2021 made their first contribution in #1
- @thomas-yanxin made their first contribution in #21
- @myml made their first contribution in #17
- @lastrei made their first contribution in #28
- @calcitem made their first contribution in #41
- @liangtongt made their first contribution in #56
- @lurenlym made their first contribution in #73
- @glide-the made their first contribution in #84
- @fengyunzaidushi made their first contribution in #94
Full Changelog: https://github.com/imClumsyPanda/langchain-ChatGLM/commits/v0.1.0