Skip to main content

1. About DB-GPT

DB-GPT is an open-source AI-native data application development framework that provides capabilities including multi-model management, Text2SQL optimization, a RAG framework, and Multi-Agent collaboration.

2. Get Your API Key

Open the Starrise AI Console and register an account (or log in if you already have one). After registering, go to API Keys, create a new API key, and copy it for later use.

3. Deploy DB-GPT

3.1 Clone the DB-GPT Repository

3.2 Create a Virtual Environment and Install Dependencies

3.3 Configure Environment Variables

Edit the .env file to configure the Starrise AI model:

3.4 Start the DB-GPT Service

Open http://127.0.0.1:5670/ in your browser to access the interface.

4. Using Starrise AI Models via the DB-GPT Python SDK

4.1 Installation

4.2 Using Starrise AI LLMs

5. Getting Started Guide

  1. Add a Data Source — Choose a database type (e.g. MySQL, PostgreSQL) and connect.
  2. Select ChatData Conversation Type — Use natural language to interact with your data.
  3. Start Data Conversation — Select a Starrise AI model and the corresponding database to begin your data dialogue.