docs: add script for documents load

This commit is contained in:
csunny 2023-05-19 22:11:40 +08:00
parent 98d50b1b98
commit c3a3a1908d
2 changed files with 4 additions and 2 deletions

View File

@ -177,7 +177,7 @@ Notice: the webserver need to connect llmserver, so you need change the .env f
We provide a user interface for Gradio, which allows you to use DB-GPT through our user interface. Additionally, we have prepared several reference articles (written in Chinese) that introduce the code and principles related to our project.
- [LLM Practical In Action Series (1) — Combined Langchain-Vicuna Application Practical](https://medium.com/@cfqcsunny/llm-practical-in-action-series-1-combined-langchain-vicuna-application-practical-701cd0413c9f)
####Create your own knowledge repository:
### Create your own knowledge repository:
1.Place personal knowledge files or folders in the pilot/datasets directory.

View File

@ -180,7 +180,8 @@ $ python webserver.py
2. [大模型实战系列(2) —— DB-GPT 阿里云部署指南](https://zhuanlan.zhihu.com/p/629467580)
3. [大模型实战系列(3) —— DB-GPT插件模型原理与使用](https://zhuanlan.zhihu.com/p/629623125)
####打造属于你的知识库:
### 打造属于你的知识库:
1、将个人知识文件或者文件夹放入pilot/datasets目录中
@ -196,6 +197,7 @@ python tools/knowledge_init.py
3、在界面上新增知识库输入你的知识库名如果没指定输入default,就可以根据你的知识库进行问答
注意这里默认向量模型是text2vec-large-chinese(模型比较大如果个人电脑配置不够建议采用text2vec-base-chinese),因此确保需要将模型download下来放到models目录中。
## 感谢
项目取得的成果,需要感谢技术社区,尤其以下项目。