Skip to content

Releases: chatchat-space/Langchain-Chatchat

langchain-ChatGLM v0.1.8

01 May 16:52
Compare
Choose a tag to compare

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

27 Apr 16:21
Compare
Choose a tag to compare

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

26 Apr 15:37
Compare
Choose a tag to compare

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

22 Apr 09:05
Compare
Choose a tag to compare

What's Changed

1. 新增功能

  • 增加 Dockerfile 模型的支持 by @soon14 in #152
  • 增加 ClueAI/ChatYuan-large-v2 模型的支持 by @soon14 in #152

2. 问题修复

  • 修复 webui.py 中存在没有知识库时也无法新建知识库的问题 by @imClumsyPanda in #157

New Contributors

Full Changelog: v0.1.4...v0.1.5

langchain-chatglm v1.0.4

20 Apr 14:12
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.1.3...v0.1.4

langchain-ChatGLM v0.1.3

19 Apr 15:13
Compare
Choose a tag to compare

What's Changed

1. 新增功能

2. 问题修复

New Contributors

Full Changelog: v0.1.2...v0.1.3

langchain-ChatGLM v0.1.2

16 Apr 15:44
Compare
Choose a tag to compare

更新内容:

  • 在项目中增加nltk_data,避免出现nltk使用过程中的下载问题

Full Changelog: v0.1.1...v0.1.2

langchain-ChatGLM v0.1.1

16 Apr 01:20
Compare
Choose a tag to compare

更新内容:

修复 webui.py 中存在的 VECTOR_SEARCH_TOP_K 参数可能与显示不一致的问题
修复 webui.py 中对模型是否存在判断时只判断 LLM 未判断 Embedding 的问题

Full Changelog: v0.1.0...v0.1.1

langchain-ChatGLM v0.1.0

15 Apr 02:51
Compare
Choose a tag to compare

更新内容:

  1. 重构项目结构,在根目录下保留命令行 Demo cli_demo.py 和 Web UI Demo webui.py

  2. 对 Web UI 进行改进,修改为运行 Web UI 后首先按照 configs/model_config.py 默认选项加载模型,并增加报错提示信息等;

  3. 对 README.md 中常见问题进行补充说明。

New Contributors

Full Changelog: https://github.com/imClumsyPanda/langchain-ChatGLM/commits/v0.1.0