Langchain-Chatchat v0.2.0 #1062
Closed
imClumsyPanda
announced in
Announcements
Replies: 1 comment 2 replies
-
0.2版本按照readme执行1、2、3、4、5,在根目录运行 llm_api.py 后无法启动,找不到'configs.model_config'包 |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
重要提示
因
v0.2.0
版本与前序版本相比调整较大,使用v0.2.0
版本时建议先新建环境,重新安装依赖包后,按照readme中开发部署操作顺序进行配置。自版本
v0.2.0
起,项目正式更名为Langchain-Chatchat
,项目将基于 Langchain 和包含 ChatGLM-6B 在内的开源大语言模型提供持续优化的知识库问答应用。变更信息
* 使用 langchain 中已有 Chain 的实现,便于后续接入不同类型 Chain,并将对 Agent 接入开展测试;
* 使用 FastAPI 提供 API 服务,全部接口可在 FastAPI 自动生成的 docs 中开展测试,且所有对话接口支持通过参数设置流式或非流式输出;
* 使用 Streamlit 提供 WebUI 服务,可选是否基于 API 服务启动 WebUI,后续可支持不同形式输出内容的显示;
* 项目中默认 LLM 模型改为 THUDM/chatglm2-6b,默认 Embedding 模型改为 moka-ai/m3e-base,文件加载方式与文段划分方式也有调整,后续将重新实现上下文扩充,并增加可选设置;
* 项目中扩充了对不同类型向量库的支持,除支持 FAISS 向量库外,还提供 Milvus, PGVector 向量库的接入;
* 项目中搜索引擎对话,除 Bing 搜索外,增加 DuckDuckGo 搜索选项,DuckDuckGo 搜索无需配置 API Key,在可访问国外服务环境下可直接使用。
主要贡献者
@imClumsyPanda
@liunux4odoo
@zqt996
@hzg0601
@glide-the
@inksong
This discussion was created from the release Langchain-Chatchat v0.2.0.
Beta Was this translation helpful? Give feedback.
All reactions