diff --git a/README.md b/README.md
index 17108c556..4aba10f15 100644
--- a/README.md
+++ b/README.md
@@ -50,6 +50,9 @@ DB-GPT is an experimental open-source project that uses localized GPT large mode
- [roadmap](#roadmap)
- [contract](#contact-information)
+[DB-GPT Youtube Video](https://www.youtube.com/watch?v=f5_g0OObZBQ)
+
+
## Demo
Run on an RTX 4090 GPU.
diff --git a/README.zh.md b/README.zh.md
index 043280ae3..bdedd90d5 100644
--- a/README.zh.md
+++ b/README.zh.md
@@ -23,7 +23,7 @@
-
+
@@ -50,7 +50,7 @@ DB-GPT 是一个开源的以数据库为基础的GPT实验项目,使用本地
- [路线图](#路线图)
- [联系我们](#联系我们)
-[DB-GPT视频介绍](https://www.bilibili.com/video/BV1au41157bj/)
+[DB-GPT视频介绍](https://www.bilibili.com/video/BV1au41157bj/?spm_id_from=333.337.search-card.all.click&vd_source=7792e22c03b7da3c556a450eb42c8a0f)
## 效果演示
@@ -88,7 +88,7 @@ https://github.com/csunny/DB-GPT/assets/13723926/55f31781-1d49-4757-b96e-7ef6d3d
#### 根据知识库对话, 比如pdf、csv、txt、words等等.
-
+
## 特性一览
@@ -119,6 +119,8 @@ https://github.com/csunny/DB-GPT/assets/13723926/55f31781-1d49-4757-b96e-7ef6d3d
- 🔥 llama-2(7b,13b,70b)
- baichuan(7b,13b)
+[](https://star-history.com/#csunny/DB-GPT)
+
## 架构方案
DB-GPT基于 [FastChat](https://github.com/lm-sys/FastChat) 构建大模型运行环境,并提供 vicuna 作为基础的大语言模型。此外,我们通过LangChain提供私域知识库问答能力。同时我们支持插件模式, 在设计上原生支持Auto-GPT插件。我们的愿景是让围绕数据库和LLM构建应用程序更加简便和便捷。
@@ -145,7 +147,7 @@ DB-GPT基于 [FastChat](https://github.com/lm-sys/FastChat) 构建大模型运
## Image
🌐 [AutoDL镜像](https://www.codewithgpu.com/i/csunny/DB-GPT/dbgpt-0.3.1-v2)
-🌐 [阿里云镜像](https://www.zhihu.com/pin/1668226536363728896?utm_psn=1668228728445579265)
+🌐 [阿里云镜像](http://dbgpt.site/web/#/p/dc4bb97e0bc15302dbf3a5d5571142dd)
## 安装
[快速开始](https://db-gpt.readthedocs.io/projects/db-gpt-docs-zh-cn/zh_CN/latest/getting_started/getting_started.html)
diff --git a/pilot/embedding_engine/loader/csv_loader.py b/pilot/embedding_engine/loader/csv_loader.py
index c1b4ea7cb..7297a1a5b 100644
--- a/pilot/embedding_engine/loader/csv_loader.py
+++ b/pilot/embedding_engine/loader/csv_loader.py
@@ -4,7 +4,7 @@ Each document represents one row of the CSV file. Every row is converted into a
key/value pair and outputted to a new line in the document's page_content.
The source for each document loaded from csv is set to the value of the
-`file_path` argument for all doucments by default.
+`file_path` argument for all documents by default.
You can override this by setting the `source_column` argument to the
name of a column in the CSV file.
The source of each document will then be set to the value of the column
diff --git a/pilot/server/knowledge/document_db.py b/pilot/server/knowledge/document_db.py
index 3d08c3389..8b01c7877 100644
--- a/pilot/server/knowledge/document_db.py
+++ b/pilot/server/knowledge/document_db.py
@@ -172,7 +172,7 @@ class KnowledgeDocumentDao:
)
if query.space is not None:
knowledge_documents = knowledge_documents.filter(
- KnowledgeDocumentEntity.doc_name == query.doc_name
+ KnowledgeDocumentEntity.space == query.space
)
knowledge_documents.delete()
session.commit()