dbgpt

DB-GPT Docker Image

DBGPT Docker镜像仓库是一个集中存储和分发DBGPT相关Docker镜像的资源库,旨在为用户提供便捷、高效的部署体验。该仓库包含多种类型的镜像,如基础运行环境镜像、完整应用镜像及特定功能模块镜像,支持不同版本的DBGPT快速部署,适用于开发、测试及生产等多种场景。通过使用仓库中的镜像,用户可大幅简化环境配置流程,减少部署复杂度,同时确保获取到经过验证的稳定版本,助力DBGPT相关应用的快速落地与高效运维。

15 次收藏下载次数: 0状态:社区镜像维护者:eosphorosai仓库类型:镜像最近更新:
下载命令
点击查看

DB-GPT: Revolutionizing Database Interactions with Private LLM Technology

https://github.com/eosphoros-ai/DB-GPT

https://github.com/eosphoros-ai/DB-GPT
https://github.com/eosphoros-ai/DB-GPT

https://github.com/eosphoros-ai/DB-GPThttps://db-gpt.readthedocs.io/en/latest/|https://github.com/eosphoros-ai/DB-GPT/blob/main/README.zh.md#联系我们|https://github.com/eosphoros-ai/community

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

  • Install
  • Demo
  • introduction
  • features
  • contribution
  • roadmap
  • contact

DB-GPT *** Video

Demo

Run on an RTX 4090 GPU.

Chat Excel

Chat Plugin

LLM Management

FastChat && vLLM

Trace

Chat Knowledge

Install

https://db-gpt.readthedocs.io/en/latest/getting_started/install/deploy/deploy.html

  • https://db-gpt.readthedocs.io/en/latest/getting_started/install/deploy.html
    • https://db-gpt.readthedocs.io/en/latest/getting_started/install/deploy.html
    • https://db-gpt.readthedocs.io/en/latest/getting_started/install/docker/docker.html
    • https://db-gpt.readthedocs.io/en/latest/getting_started/install/docker_compose/docker_compose.html
  • https://db-gpt.readthedocs.io/en/latest/getting_started/application/chatdb/chatdb.html
    • https://db-gpt.readthedocs.io/en/latest/getting_started/application/chatdb/chatdb.html
    • https://db-gpt.readthedocs.io/en/latest/getting_started/application/kbqa/kbqa.html
    • https://db-gpt.readthedocs.io/en/latest/getting_started/application/chatexcel/chatexcel.html
    • https://db-gpt.readthedocs.io/en/latest/getting_started/application/dashboard/dashboard.html
    • https://db-gpt.readthedocs.io/en/latest/getting_started/application/model/model.html
    • https://db-gpt.readthedocs.io/en/latest/getting_started/application/chatagent/chatagent.html
  • https://db-gpt.readthedocs.io/en/latest/getting_started/install/cluster/cluster.html
    • https://db-gpt.readthedocs.io/en/latest/getting_started/install/cluster/vms/standalone.html
    • https://db-gpt.readthedocs.io/en/latest/getting_started/install/cluster/vms/index.html
    • https://db-gpt.readthedocs.io/en/latest/getting_started/install/llm/vllm/vllm.html
  • https://db-gpt.readthedocs.io/en/latest/getting_started/observability.html
  • https://db-gpt.readthedocs.io/en/latest/getting_started/faq/deploy/deploy_faq.html

Features

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

  • Private KBQA & data processing

    The DB-GPT project offers a range of features to enhance knowledge base construction and enable efficient storage and retrieval of both structured and unstructured data. These include built-in support for uploading multiple file formats, the ability to integrate plug-ins for custom data extraction, and unified vector storage and retrieval capabilities for managing large volumes of information.

  • Multiple data sources & visualization

    The DB-GPT project enables seamless natural language interaction with various data sources, including Excel, databases, and data warehouses. It facilitates effortless querying and retrieval of information from these sources, allowing users to engage in intuitive conversations and obtain insights. Additionally, DB-GPT supports the generation of analysis reports, providing users with valuable summaries and interpretations of the data.

  • Multi-Agents&Plugins

    It supports custom plug-ins to perform tasks, natively supports the Auto-GPT plug-in model, and the Agents protocol adopts the Agent Protocol standard.

  • Fine-tuning text2SQL

    An automated fine-tuning lightweight framework built around large language models, Text2SQL data sets, LoRA/QLoRA/Pturning, and other fine-tuning methods, making TextSQL fine-tuning as convenient as an assembly line. https://github.com/eosphoros-ai/DB-GPT-Hub

  • Multi LLMs Support, Supports multiple large language models, currently supporting

    Massive model support, including dozens of large language models such as open source and API agents. Such as LLaMA/LLaMA2, Baichuan, ChatGLM, Wenxin, Tongyi, Zhipu, etc.

    • https://huggingface.co/Tribbiani/vicuna-13b
    • https://huggingface.co/lmsys/vicuna-13b-v1.5
    • https://huggingface.co/meta-llama/Llama-2-7b-chat-hf
    • https://huggingface.co/baichuan-inc
    • https://huggingface.co/baichuan-inc/baichuan-7B
    • https://huggingface.co/THUDM/chatglm-6b
    • https://huggingface.co/THUDM/chatglm2-6b
    • https://huggingface.co/tiiuae/falcon-40b
    • https://huggingface.co/internlm/internlm-chat-7b
    • https://huggingface.co/Qwen/
    • https://huggingface.co/BlinkDL/rwkv-4-raven
    • https://huggingface.co/camel-ai/CAMEL-13B-Combined-Data
    • https://huggingface.co/databricks/dolly-v2-12b
    • https://huggingface.co/h2oai/h2ogpt-gm-oasst1-en-2048-open-llama-7b
    • https://huggingface.co/lmsys/fastchat-t5
    • https://huggingface.co/mosaicml/mpt-7b-chat
    • https://huggingface.co/nomic-ai/gpt4all-13b-snoozy
    • https://huggingface.co/NousResearch/Nous-Hermes-13b
    • https://huggingface.co/Salesforce/codet5p-6b
    • https://huggingface.co/timdettmers/guanaco-33b-merged
    • https://huggingface.co/WizardLM/WizardLM-13B-V1.0
    • https://huggingface.co/WizardLM/WizardCoder-15B-V1.0
    • https://huggingface.co/FlagAlpha/Llama2-Chinese-13b-Chat
    • https://huggingface.co/VMware/open-llama-7b-open-instruct

    Etc.

    • Support API Proxy LLMs
      • https://api.openai.com/
      • https://www.aliyun.com/product/dashscope
      • https://cloud.baidu.com/product/wenxinworkshop?track=dingbutonglan
      • http://open.bigmodel.cn/
  • Privacy and security

    The privacy and security of data are ensured through various technologies, such as privatized large models and proxy desensitization.

  • Support Datasources

DataSourcesupportNotes
https://www.mysql.com/Yes
https://www.postgresql.org/Yes
https://github.com/apache/sparkYes
https://github.com/duckdb/duckdbYes
https://github.com/sqlite/sqliteYes
https://github.com/microsoft/mssql-jdbcYes
https://github.com/ClickHouse/ClickHouseYes
https://github.com/oracleNoTODO
https://github.com/redis/redisNoTODO
https://github.com/mongodb/mongoNoTODO
https://github.com/apache/hbaseNoTODO
https://github.com/apache/dorisNoTODO
https://github.com/IBM/Db2NoTODO
https://github.com/couchbaseNoTODO
https://github.com/elastic/elasticsearchNoTODO
https://github.com/OceanBaseNoTODO
https://github.com/pingcap/tidbNoTODO
https://github.com/StarRocks/starrocksNoTODO

Introduction

The architecture of the entire DB-GPT is shown.

The core capabilities mainly consist of the following parts:

  1. Multi-Models: Support multi-LLMs, such as LLaMA/LLaMA2、CodeLLaMA、ChatGLM, QWen、Vicuna and proxy model ***、Baichuan、tongyi、wenxin etc
  2. Knowledge-Based QA: You can perform high-quality intelligent Q&A based on local documents such as PDF, word, excel, and other data.
  3. Embedding: Unified data vector storage and indexing, Embed data as vectors and store them in vector databases, providing content similarity search.
  4. Multi-Datasources: Used to connect different modules and data sources to achieve data flow and interaction.
  5. Multi-Agents: Provides Agent and plugin mechanisms, allowing users to customize and enhance the system's behavior.
  6. Privacy & Secure: You can be assured that there is no risk of data leakage, and your data is 100% private and secure.
  7. Text2SQL: We enhance the Text-to-SQL performance by applying Supervised Fine-Tuning (SFT) on large language models

RAG-IN-Action

SubModule

  • https://github.com/eosphoros-ai/DB-GPT-Hub Text-to-SQL performance by applying Supervised Fine-Tuning (SFT) on large language models.
  • https://github.com/eosphoros-ai/DB-GPT-Plugins DB-GPT Plugins Can run autogpt plugin directly
  • https://github.com/eosphoros-ai/DB-GPT-Web ChatUI for DB-GPT

Image

🌐 AutoDL Image

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

  • Please run black . before submitting the code. Contributing guidelines, https://github.com/csunny/DB-GPT/blob/main/CONTRIBUTING.md

RoadMap

KBQA RAG optimization

  • Multi Documents

    • PDF
    • Excel, CSV
    • Word
    • Text
    • MarkDown
    • Code
    • Images
  • RAG

  • Graph Database

    • Neo4j Graph
    • Nebula Graph
  • Multi-Vector Database

    • Chroma
    • Milvus
    • Weaviate
    • PGVector
    • Elasticsearch
    • ClickHouse
    • Faiss
  • Testing and Evaluation Capability Building

    • Knowledge QA datasets
    • Question collection [easy, medium, hard]:
    • Scoring mechanism
    • Testing and evaluation using Excel + DB datasets

Multi Datasource Support

  • Multi Datasource Support
    • MySQL
    • PostgreSQL
    • Spark
    • DuckDB
    • Sqlite
    • MSSQL
    • ClickHouse
    • Oracle
    • Redis
    • MongoDB
    • HBase
    • Doris
    • DB2
    • Couchbase
    • Elasticsearch
    • OceanBase
    • TiDB
    • StarRocks

Multi-Models And vLLM

  • https://db-gpt.readthedocs.io/en/latest/getting_started/install/cluster/vms/index.html
  • https://github.com/lm-sys/FastChat
  • https://db-gpt.readthedocs.io/en/latest/getting_started/install/llm/vllm/vllm.html
  • Cloud-native environment and support for Ray environment
  • Service Registry(eg:nacos)
  • Compatibility with OpenAI's interfaces
  • Expansion and optimization of embedding models

Agents market and Plugins

  • multi-agents framework
  • custom plugin development
  • plugin market
  • Integration with CoT
  • Enrich plugin sample library
  • Support for AutoGPT protocol
  • Integration of multi-agents and visualization capabilities, defining LLM+Vis new standards

Cost and Observability

  • https://db-gpt.readthedocs.io/en/latest/getting_started/observability.html
  • Observability
  • cost & budgets

Text2SQL Finetune

  • support llms

    • LLaMA
    • LLaMA-2
    • BLOOM
    • BLOOMZ
    • Falcon
    • Baichuan
    • Baichuan2
    • InternLM
    • Qwen
    • XVERSE
    • ChatGLM2
  • SFT Accuracy

As of October 10, 2023, by fine-tuning an open-source model of 13 billion parameters using this project, the execution accuracy on the Spider evaluation dataset has surpassed that of GPT-4!

nameExecution Accuracyreference
GPT-40.762numbersstation-eval-res
***0.728numbersstation-eval-res
CodeLlama-13b-Instruct-hf_lora0.789sft train by our this project,only used spider train dataset ,the same eval way in this project with lora SFT
CodeLlama-13b-Instruct-hf_qlora0.774sft train by our this project,only used spider train dataset ,the same eval way in this project with qlora and nf4,bit4 SFT
wizardcoder0.610https://github.com/cuplv/text-to-sql-wizardcoder/tree/main
CodeLlama-13b-Instruct-hf0.556eval in this project default param
llama2_13b_hf_lora_best0.744sft train by our this project,only used spider train dataset ,the same eval way in this project

https://github.com/eosphoros-ai/DB-GPT-Hub

Licence

The MIT License (MIT)

eosphorosai/dbgpt Related Documentation

(3 articles)

镜像拉取方式

您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。

轩辕镜像加速拉取命令点我查看更多 dbgpt 镜像标签

docker pull docker.xuanyuan.run/eosphorosai/dbgpt:<标签>

DockerHub 原生拉取命令

docker pull eosphorosai/dbgpt:<标签>
专业版 · 高速稳定拉取镜像
50GB 仅 ¥8/年
高速镜像下载在线技术支持专业版保障服务可用付费会员免广告