.github/workflows | ||
assets | ||
docs | ||
examples | ||
pilot | ||
plugins | ||
tests | ||
.env.template | ||
.gitignore | ||
CONTRIBUTING.md | ||
docker-compose.yml | ||
Dockerfile | ||
environment.yml | ||
LICENSE | ||
main.py | ||
README.en.md | ||
README.md | ||
requirements.txt | ||
run.sh | ||
SECURITY.md |
DB-GPT
A Open Database-GPT Experiment, interact your data and environment using the local GPT, no data leaks, 100% privately, 100% security.
Features
- SQL Project
- SQL Generate
- SQL-diagnosis
- Database-QA Based Knowledge
Architecture Design
DB-GPT is an experimental open-source application that builds upon the 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.
Demo
Run on an RTX 4090 GPU (The origin mov not sped up!, YouTube地址)
Run
SQL Generate
First, select the DataBase, you can use Schema to generate the SQL.。
Database-QA
Deployment
1. Python Requirement
$ python>=3.9
$ pip install -r requirements.txt
or if you use conda envirenment, you can use this command
$ conda env create -f environment.yml
2. MySQL
In this project examples, we connect mysql and run SQL-Generate. so you need install mysql local for test. recommand docker
$ docker run --name=mysql -p 3306:3306 -e MYSQL_ROOT_PASSWORD=aa12345678 -dit mysql:latest
3. LLM
$ cd pilot/server
$ python vicuna_server.py
Run gradio webui
$ python webserver.py
Thanks
Licence
The MIT License (MIT)