diff --git a/README.md b/README.md index 3a1bf219c..a04d627d6 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,15 @@ -# DB-GPT ![GitHub Repo stars](https://img.shields.io/github/stars/csunny/db-gpt?style=social) +
+

+ + stars + + + forks + +

---- - -[简体中文](README.zh.md) +[**简体中文**](README.zh.md)|[**Discord**](https://discord.gg/ea6BnZkY) +
[![Star History Chart](https://api.star-history.com/svg?repos=csunny/DB-GPT)](https://star-history.com/#csunny/DB-GPT) @@ -12,6 +19,14 @@ As large models are released and iterated upon, they are becoming increasingly i DB-GPT is an experimental open-source project that uses localized GPT large models to interact with your data and environment. With this solution, you can be assured that there is no risk of data leakage, and your data is 100% private and secure. +## News +- [2023/06/01]🔥 On the basis of the Vicuna-13B basic model, task chain calls are implemented through plugins. For example, the implementation of creating a database with a single sentence.[demo]() +- [2023/06/01]🔥 QLoRA guanaco(7b, 13b, 33b) support. +- [2023/05/28]🔥 Learning from crawling data from the Internet [demo](./assets/chaturl_en.gif) +- [2023/05/21] Generate SQL and execute it automatically. [demo](./assets/auto_sql_en.gif) +- [2023/05/15] Chat with documents. [demo](./assets/new_knownledge_en.gif) +- [2023/05/06] SQL generation and diagnosis. [demo](./assets/demo_en.gif) + ## Features Currently, we have released multiple key features, which are listed below to demonstrate our current capabilities: @@ -38,53 +53,6 @@ Currently, we have released multiple key features, which are listed below to dem Run on an RTX 4090 GPU. [YouTube](https://www.youtube.com/watch?v=1PWI6F89LPo) -### Run - -

- -

- -### Run Plugin -

- -

- -### SQL Generation - -1. Generate Create Table SQL - -

- -

- -2. Generating executable SQL:To generate executable SQL, first select the corresponding database and then the model can generate SQL based on the corresponding database schema information. The successful result of running it would be demonstrated as follows: -

- -

- -### Q&A - -

- -

- -1. Based on the default built-in knowledge base, question and answer. - -

- -

- -2. Add your own knowledge base. - -

- -

- -3. Learning from crawling data from the Internet - - - TODO - - ## Introduction DB-GPT creates a vast model operating system using [FastChat](https://github.com/lm-sys/FastChat) and offers a large language model powered by [Vicuna](https://huggingface.co/Tribbiani/vicuna-7b). In addition, we provide private domain knowledge base question-answering capability through LangChain. Furthermore, we also provide support for additional plugins, and our design natively supports the Auto-GPT plugin. diff --git a/README.zh.md b/README.zh.md index 9f68bdbf5..2a5df3f86 100644 --- a/README.zh.md +++ b/README.zh.md @@ -1,6 +1,15 @@ -# DB-GPT ![GitHub Repo stars](https://img.shields.io/github/stars/csunny/db-gpt?style=social) +
+

+ + stars + + + forks + +

-[English](README.zh.md) +[**English**](README.md)|[**Discord**](https://discord.gg/ea6BnZkY) +
[![Star History Chart](https://api.star-history.com/svg?repos=csunny/DB-GPT)](https://star-history.com/#csunny/DB-GPT) @@ -9,6 +18,14 @@ DB-GPT 是一个开源的以数据库为基础的GPT实验项目,使用本地化的GPT大模型与您的数据和环境进行交互,无数据泄露风险,100% 私密,100% 安全。 +## 最新发布 + +- [2023/06/01]🔥 在Vicuna-13B基础模型的基础上,通过插件实现任务链调用。例如单句创建数据库的实现.[演示]() +- [2023/06/01]🔥 QLoRA guanaco(原驼)支持, 支持4090运行33B +- [2023/05/28]🔥根据URL进行对话 [演示](./assets/chaturl_en.gif) +- [2023/05/21] SQL生成与自动执行. [演示](./assets/auto_sql.gif) +- [2023/05/15] 知识库对话 [演示](./assets/new_knownledge.gif) +- [2023/05/06] SQL生成与诊断 [演示](./assets/演示.gif) ## 特性一览 @@ -33,59 +50,6 @@ DB-GPT 是一个开源的以数据库为基础的GPT实验项目,使用本地 ## 效果演示 示例通过 RTX 4090 GPU 演示,[YouTube 地址](https://www.youtube.com/watch?v=1PWI6F89LPo) -### 运行环境演示 - -

- -

- -### SQL 插件化执行 -

- -

- -### SQL 生成 - -1. 生成建表语句 - -

- -

- -2. 生成可运行SQL -首先选择对应的数据库, 然后模型即可根据对应的数据库 Schema 信息生成 SQL, 运行成功的效果如下面的演示: - -

- -

- -3. 自动分析执行SQL输出运行结果 - -

- -

- -### 数据库问答 - -

- -

- - -1. 基于默认内置知识库问答 - -

- -

- -2. 自己新增知识库 - -

- -

- -3. 从网络自己爬取数据学习 -- TODO ## 架构方案 DB-GPT基于 [FastChat](https://github.com/lm-sys/FastChat) 构建大模型运行环境,并提供 vicuna 作为基础的大语言模型。此外,我们通过LangChain提供私域知识库问答能力。同时我们支持插件模式, 在设计上原生支持Auto-GPT插件。 diff --git a/assets/Auto-DB-GPT.gif b/assets/Auto-DB-GPT.gif deleted file mode 100644 index b2e85a5fa..000000000 Binary files a/assets/Auto-DB-GPT.gif and /dev/null differ diff --git a/assets/Auto-DB-GPT.png b/assets/Auto-DB-GPT.png deleted file mode 100644 index 56c59045d..000000000 Binary files a/assets/Auto-DB-GPT.png and /dev/null differ diff --git a/assets/DB_QA.png b/assets/DB_QA.png deleted file mode 100644 index 46bd327d0..000000000 Binary files a/assets/DB_QA.png and /dev/null differ diff --git a/assets/DB_QA_en.png b/assets/DB_QA_en.png deleted file mode 100644 index f9cc5dc23..000000000 Binary files a/assets/DB_QA_en.png and /dev/null differ diff --git a/assets/Knownledge_based_QA_en.png b/assets/Knownledge_based_QA_en.png deleted file mode 100644 index 1f2c3f6e9..000000000 Binary files a/assets/Knownledge_based_QA_en.png and /dev/null differ diff --git a/assets/SQLGEN.png b/assets/SQLGEN.png deleted file mode 100644 index cac479364..000000000 Binary files a/assets/SQLGEN.png and /dev/null differ diff --git a/assets/SQL_Gen_CreateTable.png b/assets/SQL_Gen_CreateTable.png deleted file mode 100644 index b2b466633..000000000 Binary files a/assets/SQL_Gen_CreateTable.png and /dev/null differ diff --git a/assets/SQL_Gen_CreateTable_en.png b/assets/SQL_Gen_CreateTable_en.png deleted file mode 100644 index bf9e0cb57..000000000 Binary files a/assets/SQL_Gen_CreateTable_en.png and /dev/null differ diff --git a/assets/VectorDBQA.png b/assets/VectorDBQA.png deleted file mode 100644 index 05279002e..000000000 Binary files a/assets/VectorDBQA.png and /dev/null differ diff --git a/assets/auto_sql_en.gif b/assets/auto_sql_en.gif index 9e0c8d676..78b515d62 100644 Binary files a/assets/auto_sql_en.gif and b/assets/auto_sql_en.gif differ diff --git a/assets/chaturl_en.gif b/assets/chaturl_en.gif new file mode 100644 index 000000000..30e1cc8cb Binary files /dev/null and b/assets/chaturl_en.gif differ diff --git a/assets/exeable.png b/assets/exeable.png deleted file mode 100644 index 47ee94f7d..000000000 Binary files a/assets/exeable.png and /dev/null differ diff --git a/assets/exeable_en.png b/assets/exeable_en.png deleted file mode 100644 index c375fc2cf..000000000 Binary files a/assets/exeable_en.png and /dev/null differ diff --git a/assets/pilot.png b/assets/pilot.png deleted file mode 100644 index 41bd01207..000000000 Binary files a/assets/pilot.png and /dev/null differ diff --git a/assets/sql_generate.png b/assets/sql_generate.png deleted file mode 100644 index 13fb44af0..000000000 Binary files a/assets/sql_generate.png and /dev/null differ