fix and update

This commit is contained in:
csunny 2023-05-04 15:39:22 +08:00
parent ffeb5040cc
commit f1369c998a
2 changed files with 4 additions and 0 deletions

View File

@ -6,6 +6,9 @@ A Open Database-GPT Experiment
[DB-GPT](https://github.com/csunny/DB-GPT) 是一个实验性的开源应用程序,它基于[FastChat](https://github.com/lm-sys/FastChat),并使用[vicuna-13b](https://huggingface.co/Tribbiani/vicuna-13b)作为基础模型。此外,此程序结合了[langchain](https://github.com/hwchase17/langchain)和[llama-index](https://github.com/jerryjliu/llama_index)基于现有知识库进行[In-Context Learning](https://arxiv.org/abs/2301.00234)来对其进行数据库相关知识的增强。它可以进行SQL生成、SQL诊断、数据库知识问答等一系列的工作。
## 项目方案
![](ttps://github.com/csunny/DB-GPT/blob/dev/asserts/pilot.png)
[DB-GPT](https://github.com/csunny/DB-GPT) is an experimental open-source application that builds upon the [FastChat](https://github.com/lm-sys/FastChat) model and uses vicuna as its base model. Additionally, it looks like this application incorporates langchain and llama-index embedding knowledge to improve Database-QA capabilities.
Overall, it appears to be a sophisticated and innovative tool for working with databases. If you have any specific questions about how to use or implement DB-GPT in your work, please let me know and I'll do my best to assist you.
@ -15,6 +18,7 @@ Run on an RTX 4090 GPU (The origin mov not sped up!, [YouTube地址](https://www
![](https://github.com/csunny/DB-GPT/blob/dev/asserts/演示.gif)
- SQL生成示例
首先选择对应的数据库, 然后模型即可根据对应的数据库Schema信息生成SQL

BIN
asserts/pilot.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB