Merge branch 'master' into dev

This commit is contained in:
imClumsyPanda 2023-09-03 16:22:08 +08:00
commit a9035205ff
3 changed files with 26 additions and 24 deletions

View File

@ -220,6 +220,7 @@ embedding_model_dict = {
```shell
$ python init_database.py
```
- 如果您是第一次运行本项目,知识库尚未建立,或者配置文件中的知识库类型、嵌入模型发生变化,或者之前的向量库没有开启 `normalize_L2`,需要以下命令初始化或重建知识库:
```shell
@ -266,7 +267,7 @@ max_gpu_memory="20GiB"
⚠️ **注意:**
**1.llm_api_stale.py脚本原生仅适用于linux,mac设备需要安装对应的linux命令,win平台请使用wls;**
**1.llm_api_stale.py脚本原生仅适用于linux,mac设备需要安装对应的linux命令,win平台请使用wsl;**
**2.加载非默认模型需要用命令行参数--model-path-address指定模型不会读取model_config.py配置;**
@ -350,6 +351,7 @@ $ streamlit run webui.py --server.port 666
- Web UI 对话界面:
![](img/webui_0813_0.png)
- Web UI 知识库管理页面:
![](img/webui_0813_1.png)
@ -399,14 +401,14 @@ $ python startup.py --all-webui --model-name Qwen-7B-Chat
## 路线图
- [X] Langchain 应用
- [X] 本地数据接入
- [X] 接入非结构化文档
- [X] .md
- [X] .txt
- [X] .docx
- [x] Langchain 应用
- [x] 本地数据接入
- [x] 接入非结构化文档
- [x] .md
- [x] .txt
- [x] .docx
- [ ] 结构化数据接入
- [X] .csv
- [x] .csv
- [ ] .xlsx
- [ ] 分词及召回
- [ ] 接入不同类型 TextSplitter
@ -415,24 +417,24 @@ $ python startup.py --all-webui --model-name Qwen-7B-Chat
- [ ] 本地网页接入
- [ ] SQL 接入
- [ ] 知识图谱/图数据库接入
- [X] 搜索引擎接入
- [X] Bing 搜索
- [X] DuckDuckGo 搜索
- [x] 搜索引擎接入
- [x] Bing 搜索
- [x] DuckDuckGo 搜索
- [ ] Agent 实现
- [X] LLM 模型接入
- [X] 支持通过调用 [FastChat](https://github.com/lm-sys/fastchat) api 调用 llm
- [x] LLM 模型接入
- [x] 支持通过调用 [FastChat](https://github.com/lm-sys/fastchat) api 调用 llm
- [ ] 支持 ChatGLM API 等 LLM API 的接入
- [X] Embedding 模型接入
- [X] 支持调用 HuggingFace 中各开源 Emebdding 模型
- [x] Embedding 模型接入
- [x] 支持调用 HuggingFace 中各开源 Emebdding 模型
- [ ] 支持 OpenAI Embedding API 等 Embedding API 的接入
- [X] 基于 FastAPI 的 API 方式调用
- [X] Web UI
- [X] 基于 Streamlit 的 Web UI
- [x] 基于 FastAPI 的 API 方式调用
- [x] Web UI
- [x] 基于 Streamlit 的 Web UI
---
## 项目交流群
<img src="img/qr_code_56.jpg" alt="二维码" width="300" height="300" />
<img src="img/qr_code_30.jpg" alt="二维码" width="300" height="300" />
🎉 langchain-ChatGLM 项目微信交流群,如果你也对本项目感兴趣,欢迎加入群聊参与讨论交流。

BIN
img/qr_code_30.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 269 KiB

BIN
img/qr_code_57.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 247 KiB