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
.env file to configure the Starrise AI model:
3.4 Start the DB-GPT Service
4. Using Starrise AI Models via the DB-GPT Python SDK
4.1 Installation
4.2 Using Starrise AI LLMs
5. Getting Started Guide
- Add a Data Source — Choose a database type (e.g. MySQL, PostgreSQL) and connect.
- Select ChatData Conversation Type — Use natural language to interact with your data.
- Start Data Conversation — Select a Starrise AI model and the corresponding database to begin your data dialogue.

