2023-04-17 16:25:49 +08:00
|
|
|
|
# Chinese-LangChain
|
2023-04-17 16:20:32 +08:00
|
|
|
|
|
2023-04-17 16:25:49 +08:00
|
|
|
|
> Chinese-LangChain:中文langchain项目,基于ChatGLM-6b+langchain实现本地化知识库检索与智能答案生成
|
2023-04-17 16:20:32 +08:00
|
|
|
|
|
2023-04-17 16:27:43 +08:00
|
|
|
|
## 🔥 效果演示
|
2023-04-17 16:28:13 +08:00
|
|
|
|
![](https://github.com/yanqiangmiffy/Chinese-LangChain/blob/master/images/result.png)
|
2023-04-17 16:27:43 +08:00
|
|
|
|
|
2023-04-17 16:25:49 +08:00
|
|
|
|
## 🚀 特性
|
2023-04-17 16:20:32 +08:00
|
|
|
|
|
2023-04-17 16:25:49 +08:00
|
|
|
|
- 2023/04/17 支持多种文档上传与内容解析:pdf、docx,ppt等
|
|
|
|
|
- 2023/04/17 支持知识增量更新
|
2023-04-17 16:20:32 +08:00
|
|
|
|
|
|
|
|
|
[//]: # (- 支持检索结果与LLM生成结果对比)
|
|
|
|
|
|
2023-04-17 16:25:49 +08:00
|
|
|
|
## 🔨 TODO
|
|
|
|
|
* [x] 支持上下文
|
|
|
|
|
* [x] 支持知识增量更新
|
|
|
|
|
* [ ] 支持检索结果与LLM生成结果对比
|
|
|
|
|
|
|
|
|
|
## ❤️引用
|
2023-04-17 16:20:32 +08:00
|
|
|
|
|
|
|
|
|
- webui参考:https://github.com/thomas-yanxin/LangChain-ChatGLM-Webui
|
|
|
|
|
- knowledge文档参考:https://github.com/imClumsyPanda/langchain-ChatGLM
|
2023-04-17 16:28:13 +08:00
|
|
|
|
- LLM模型:https://github.com/THUDM/ChatGLM-6B
|