Aqua Data Studio version 25.0 introduces AI Assist, an advanced Artificial Intelligence (AI) feature designed to streamline query development. Users can now ask questions in natural language, and AI Assist will generate SQL queries based on session-specific pre-prompt information and metadata. These queries can be executed directly in the Query Analyzer window, allowing users to see and use Aqua Data Studio’s result set tools seamlessly.
AI Assist is accessible to both standard and ultimate licensed users.
Aqua Data Studio adds a Multi-AI framework with a unified interface to integrate OpenAI. The framework aims to provide a secure API, with AI engine specifications, and ensure efficient prompt management and session handling.
The new feature focuses on OpenAI Interface to include AI interaction, process natural language queries, and handle responses.
It defines response formats, such as SQL and Text responses, based on predefined prompts.
MongoDB and variations are not supported in v25.0. |
AI Assist in Aqua Data Studio is available by default when you install v25.0.
To access its properties, navigate to the main menu and select File > Options, then choose AI Configuration. These options are required to enable and use the AI Assist function.
AI Assist configuration properties include:
Enable AI: Default selection to have the feature available.
Engine: Default Open AI is available.
Model: Select AI Model to be used, GPT-3.5 Turbo, GPT-4o or GPT-4o mini.
API Key: Create and export an API key from OpenAI.
Format AI Generated SQL: Automatically format SQL scripts generated by AI Assist.
Log all AI Conversation: Messages from AI Assist are logged.
The AI Chat Window enables seamless communication with AI using natural language. This feature is designed to enhance user interaction and streamline workflows. Below are the key features and functionalities:
If AI Assist is configured, meaning the AI properties are filled out with a valid OpenAI key, then the window will be available and ready to receive queries on the right side of the window.
If it’s not connected to a Database, the AI Assist window will not be enabled and it will be grayed out.
The Toolbar options for AI Assist include:
Share Database Metadata: When using Query Analyzer, you can access the database structure you are connected to, allowing you to explore its schema and configuration. This helps share information about the structure, schema, or configuration of a database without exposing the actual data stored.
Set Message Limits: Allows users to define restrictions on the Conversation Limit and History Limit. The Conversation Limit sets the maximum number of previous messages included in the context when sending queries to the AI engine, affecting response time and cost. The History Limit determines the maximum number of messages retained in the AI Assist chat session, with older messages being removed once the limit is exceeded.
Settings: Takes you to the AI configuration under Options.
Delete All Messages: To delete all messages displayed.
If you want to delete messages or add metadata, you’ll need to reload the metadata when loading tables. If you later need to add another table, you’ll have to reload the metadata, previously selected, add the new table, and select all the Objects again. |
In the Settings icon, on the top right side of the AI Assist window, you can select different ways to view the window. Check our Panels page for more information on each view.
Here's an example of how you can use the AI Assist chat window and the AI integration within Query Analyzer, connecting to a MySQL database.