AI Assistant

Setup

Enable AI Assistant. Afterward, an OpenAI icon will appear on the SQL Editor. Clicking the icon will toggle the AI Assistant sidebar.

sql-editor-text-to-sql

Bytebase sends the following info to the configured OpenAI endpoint:

  • Tables and column names of the current database schema.

Text2SQL

Use natural language to compose SQL and execute.

sql-editor-text-to-sql

Explain SQL

For complex statements like stored procedures, you can ask AI Assistant to explain.

explain-sql

Find problem

AI Assistant can spot SQL problems.

find-problem

Edit this page on GitHub

Subscribe toΒ Newsletter

By subscribing, you agree with Bytebase's Terms of Service and Privacy Policy.