Skip to content

AI command

Note

This feature is available in Enterprise, AWS, and Team editions only.

The AI command lets you run natural language requests directly in the SQL Editor. Just type @ai with your question, and CloudBeaver will generate and execute the SQL for you.

Using AI command

To use the AI command:

  1. Activate the AI assistant.
  2. Open the SQL Editor.
  3. Type your request using the @ai command.

    Example

    @ai show all customers with invoices in the last month

  4. Execute the AI command. The results will appear in the Result panel.

Important

The AI command shows a confirmation for any risky query, including UPDATE, DELETE, and any DROP TABLE operation. These commands always prompt you before execution.