Skip to content

Commit 4a32db2

Browse files
author
SPRINX0\prochazka
committed
ai assistant
1 parent 3f1fcf2 commit 4a32db2

File tree

4 files changed

+93
-1
lines changed

4 files changed

+93
-1
lines changed

content/blog/2025-02-14-6-2-0-ai-assistant.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,15 @@ This release brings two important highlights:
1616
## AI Assistant (Premium)
1717
AI assistant in DbGate helps you to create and modify SQL queries. It uses internally LLM gpt-4o-mini from OpenAI. Of course, you could open ChhatGPT application and ask for the query directly, but DbGate's integration knows underlying DB model - table and column names, so result query will better fit to your database.
1818

19-
As a first step, DbGate asks you for your consent about sending table and columns names to DbGate's AI service - wihtout this AI assistant will now work. We respect your privacy, which is why DbGate will never send any of your database information anywhere without your consent.
19+
As a first step, DbGate asks you for your consent about sending table and columns names to DbGate's AI service - wihtout this AI assistant will now work. We respect your privacy, which is why DbGate will **never send** any of your database information anywhere **without your consent**.
2020

2121
After this, AI assistant offers 3 jobs:
2222
- **Text to SQL** - you write query in natural language, DbGate will generate SQL query respecting current database schema
2323
- **Complete SQL on cursor** - DbGate will try to generate next fragment of your query
2424
- **Make changes on your SQL** - in case you have already any query, you could write task in natural language and DbGate will generate new query
2525

26+
[More about AI assistant](/features/ai)
27+
2628
<img src="/themeshots/aiassistant-light.png" alt="AI assistant" width="800px" />
2729

2830
## Apache Cassandra support

content/features/ai.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
title: AI Assistant (Premium)
3+
subtitle: Leverage AI to effortlessly generate and refine your SQL queries with ease
4+
description: Context-aware AI assistant will help you to build, complete or change your SQL queries
5+
icon: ai.svg
6+
weight: 14
7+
---
8+
9+
AI assistant in DbGate helps you to create and modify SQL queries. It uses internally LLM gpt-4o-mini from OpenAI.
10+
11+
Of course, you could open ChatGPT and request a query directly. However, because DbGate’s integration knows your underlying database schema—such as table and column names—it can generate queries that are better tailored to your specific database.
12+
13+
As a first step, DbGate will request your permission to share table and column names with its AI service—without this consent, the AI assistant won’t function. We respect your privacy, which is why DbGate will **never transmit** any of your database information without your **explicit approval**.
14+
15+
What information will be sent to DbGate's AI service:
16+
- tables
17+
- name
18+
- comment
19+
- columns
20+
- name
21+
- comment
22+
- data type name
23+
- primary key - column names
24+
- foreign keys - base and referenced table and column names
25+
26+
27+
After that, the AI assistant offers three capabilities:
28+
- **Text to SQL** - You write your query in natural language, and DbGate will generate the corresponding SQL query based on your current database schema.
29+
- **Complete SQL on cursor** - DbGate will attempt to generate the next part of your query.
30+
- **Make changes on your SQL** - If you already have a query, you can describe the modifications in natural language, and DbGate will produce the updated SQL.

data/screenshots.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@
2626
description: Run query on MongoDB database
2727
- name: sqlpreview
2828
description: SQL preview
29+
- feature: ai
30+
items:
2931
- name: aiassistant
3032
description: AI Assistant
3133
- feature: designer

static/img/ai.svg

Lines changed: 58 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)