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] 支持知识增量更新
|
2023-04-17 17:31:54 +08:00
|
|
|
|
* [x] 支持检索结果与LLM生成结果对比
|
|
|
|
|
* [ ] 支持检索生成结果与原始LLM生成结果对比
|
2023-04-17 17:46:50 +08:00
|
|
|
|
|
|
|
|
|
## 交流
|
|
|
|
|
|
|
|
|
|
![c6a443f97c7042962f289222afc242f](https://user-images.githubusercontent.com/15925090/232448694-f98c8538-4a62-4777-9dbb-d5742443feea.jpg)
|
|
|
|
|
|
2023-04-17 16:25:49 +08:00
|
|
|
|
## ❤️引用
|
2023-04-17 16:20:32 +08:00
|
|
|
|
|
|
|
|
|
- webui参考:https://github.com/thomas-yanxin/LangChain-ChatGLM-Webui
|
2023-04-17 16:30:54 +08:00
|
|
|
|
- knowledge问答参考:https://github.com/imClumsyPanda/langchain-ChatGLM
|
2023-04-17 16:28:13 +08:00
|
|
|
|
- LLM模型:https://github.com/THUDM/ChatGLM-6B
|