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
After configuring the OpenAI key, an OpenAI icon will appear on the SQL Editor. Clicking the icon will toggle between the SQL and natural language mode.
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.