Input your natural language and Bytebase will convert it into SQL.
Add the API key
Go to Bytebase console, click Settings > General. Scroll down to AI Augmentation, and fill in OpenAI API Key field.
Query in SQL Editor
- Go to home, and click SQL Editor on the left bar.
- Input in the natural language field and press Enter.
- You'll see the generated SQL on the left. Click the play icon and the SQL will execute.
In order to convert your request into an SQL query, Bytebase must provide the OpenAI platform with the tables and column names of the current database schema. However, Bytebase does not transmit any data from the tables.