Skip to content

Revolutionizing Database Interactions with Private LLM Technology

License

Notifications You must be signed in to change notification settings

TGLTommy/DB-GPT

 
 

Repository files navigation

DB-GPT: Revolutionizing Database Interactions with Private LLM Technology

What is DB-GPT?

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.

Contents

DB-GPT Youtube Video

Demo

Run on an RTX 4090 GPU.

demo_en

Chat with data, and figure charts.

db plugins demonstration

Features

Currently, we have released multiple key features, which are listed below to demonstrate our current capabilities:

  • SQL language capabilities
    • SQL generation
    • SQL diagnosis
  • Private domain Q&A and data processing
    • Knowledge Management(We currently support many document formats: txt, pdf, md, html, doc, ppt, and url.)
  • ChatDB
  • ChatExcel
  • ChatDashboard
  • Multi-Agents&Plugins
  • Unified vector storage/indexing of knowledge base
    • Support for unstructured data such as PDF, TXT, Markdown, CSV, DOC, PPT, and WebURL
  • Multi LLMs Support, Supports multiple large language models, currently supporting
    • 🔥 InternLM(7b,20b)
    • 🔥 Baichuan2(7b,13b)
    • 🔥 Vicuna-v1.5(7b,13b)
    • 🔥 llama-2(7b,13b,70b)
    • WizardLM-v1.2(13b)
    • Vicuna (7b,13b)
    • ChatGLM-6b (int4,int8)
    • ChatGLM2-6b (int4,int8)
    • guanaco(7b,13b,33b)
    • Gorilla(7b,13b)
    • baichuan(7b,13b)

Introduction

DB-GPT creates a vast model operating system using FastChat and offers a large language model powered by vicuna. In addition, we provide private domain knowledge base question-answering capability. Furthermore, we also provide support for additional plugins, and our design natively supports the Auto-GPT plugin.Our vision is to make it easier and more convenient to build applications around databases and llm.

Is the architecture of the entire DB-GPT shown in the following figure:

The core capabilities mainly consist of the following parts:

  1. Knowledge base capability: Supports private domain knowledge base question-answering capability.
  2. Large-scale model management capability: Provides a large model operating environment based on FastChat.
  3. Unified data vector storage and indexing: Provides a uniform way to store and index various data types.
  4. Connection module: Used to connect different modules and data sources to achieve data flow and interaction.
  5. Agent and plugins: Provides Agent and plugin mechanisms, allowing users to customize and enhance the system's behavior.
  6. Prompt generation and optimization: Automatically generates high-quality prompts and optimizes them to improve system response efficiency.
  7. Multi-platform product interface: Supports various client products, such as web, mobile applications, and desktop applications.

SubModule

Image

🌐 AutoDL Image

Install

Docker Linux macOS Windows

Quickstart

Language Switching

In the .env configuration file, modify the LANGUAGE parameter to switch to different languages. The default is English (Chinese: zh, English: en, other languages to be added later).

Contribution

RoadMap

Licence

The MIT License (MIT)

Contact Information

We are working on building a community, if you have any ideas about building the community, feel free to contact us.

Star History Chart

About

Revolutionizing Database Interactions with Private LLM Technology

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 61.9%
  • HTML 36.8%
  • Other 1.3%