The recent breakthroughs in large language models (LLMs) are positioned to transition many areas of software. The technologies of interacting with data particularly have an important entanglement with LLMs as efficient and intuitive data interactions are paramount. In this paper, we present DB-GPT, a revolutionary and product-ready Python library that integrates LLMs into traditional data interaction tasks to enhance user experience and accessibility. DB-GPT is designed to understand data interaction tasks described by natural language and provide context-aware responses powered by LLMs, making it an indispensable tool for users ranging from novice to expert. Its system design supports deployment across local, distributed, and cloud environments. Beyond handling basic data interaction tasks like Text-to-SQL with LLMs, it can handle complex tasks like generative data analysis through a Multi-Agents framework and the Agentic Workflow Expression Language (AWEL). The Service-oriented Multi-model Management Framework (SMMF) ensures data privacy and security, enabling users to employ DB-GPT with private LLMs. Additionally, DB-GPT offers a series of product-ready features designed to enable users to integrate DB-GPT within their product environments easily. The code of DB-GPT is available at Github(https://github.com/eosphoros-ai/DB-GPT) which already has over 10.7k stars. Please install DB-GPT for your own usage with the instructions(https://github.com/eosphoros-ai/DB-GPT#install) and watch a 5-minute introduction video on Youtube(https://youtu.be/n_8RI1ENyl4) to further investigate DB-GPT.
翻译:近年来大语言模型(LLMs)的突破性进展正推动软件诸多领域的转型。数据交互技术因其高效直观的特性,与LLMs形成了尤为重要的关联。本文提出DB-GPT——一个革命性且可产品化的Python库,通过将LLMs融入传统数据交互任务,提升用户体验与可访问性。DB-GPT能够理解自然语言描述的数据交互任务,并基于LLMs提供上下文感知的响应,使其成为从新手到专家级用户的不可或缺工具。其系统设计支持本地、分布式及云端环境部署。除处理基于LLMs的Text-to-SQL等基本数据交互任务外,还能通过多智能体框架与智能体工作流表达式语言(AWEL)执行生成式数据分析等复杂任务。面向服务的多模型管理框架(SMMF)保障数据隐私与安全,使用户能够将DB-GPT与私有LLMs结合使用。此外,DB-GPT提供一系列产品级就绪功能,助用户轻松将其集成至自身产品环境中。DB-GPT代码已开源至GitHub(https://github.com/eosphoros-ai/DB-GPT),收获超过1.07万星标。请按照安装指南(https://github.com/eosphoros-ai/DB-GPT#install)自行部署使用,并观看YouTube上的5分钟介绍视频(https://youtu.be/n_8RI1ENyl4)以进一步探索DB-GPT。