|
1 | 1 | # Quick Start
|
2 | 2 |
|
3 |
| -<iframe width="100%" height="500" src="https://www.youtube.com/embed/bsg3yF7al_I?si=60QprvANg_nd1U-8" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe> |
| 3 | +<iframe width="100%" height="500" src="https://www.youtube.com/embed/ds6fWZrA6lc?si=ZDua5BZltoFPTIoM&start=2" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe> |
4 | 4 |
|
5 | 5 |
|
6 | 6 | ## 📖 Introduction
|
@@ -75,31 +75,55 @@ Different databases on the client need to download different drivers. If you nee
|
75 | 75 |
|
76 | 76 | Click the test button in the lower left corner to test whether the connection is normal. If the connection is normal, the connection will be successful. Otherwise, the connection will be failed. You can adjust the connection information according to the error message. Finally click Save.
|
77 | 77 |
|
78 |
| -## Step 5: Set Up AI data collection |
| 78 | +## Step 5: Use Chat2DB database development |
79 | 79 |
|
80 |
| -After creating the link, a pop-up window will ask if you want to set up AI data collection now. |
| 80 | +After the connection is successful, you can double-click the connection or right-click to enter the connection. Then you can add, delete, modify, and query the database in Chat2DB. You can also use our AIGC capability to directly query the database using natural language, or use SQL to convert to natural language. |
81 | 81 |
|
82 |
| -Setting up AI data collection can better help the AI understand your database table structure, generating more accurate answers. This is also one of the major highlights of Chat2DB. |
| 82 | +### Database management |
| 83 | +Double-click the newly created connection to enter the database management interface, where you can add, delete, modify, and query the database. |
| 84 | + |
83 | 85 |
|
84 |
| -Click **'affirm'** to start the setup. |
| 86 | +### Query Data with AI Copilot |
85 | 87 |
|
86 |
| - |
| 88 | +Click the AI copilot button on the right, or press Ctrl/Cmd+K to activate your AI copilot: |
87 | 89 |
|
88 |
| -1. Select the database for which you need to create the AI data collection in the upper right corner. |
| 90 | + |
89 | 91 |
|
90 |
| -2. Check the database tables you need to sync on the left side. |
| 92 | +1. Select your data source |
91 | 93 |
|
92 |
| -3. Click 'Sync to AI data collection' to complete the creation. |
| 94 | +2. Select your favorite model |
93 | 95 |
|
94 |
| - |
| 96 | +3. Input the natural language to query data. |
95 | 97 |
|
96 |
| -## Step 6: Use Chat2DB database development |
| 98 | +#### Run SQL and get result in AI Copilot |
97 | 99 |
|
98 |
| -After the connection is successful, you can double-click the connection or right-click to enter the connection. Then you can add, delete, modify, and query the database in Chat2DB. You can also use our AIGC capability to directly query the database using natural language, or use SQL to convert to natural language. |
| 100 | +You can run the generated SQL directly in ai copilot to view the results directly: |
99 | 101 |
|
100 |
| -### Database management |
101 |
| -Double-click the newly created connection to enter the database management interface, where you can add, delete, modify, and query the database. |
102 |
| - |
| 102 | + |
| 103 | + |
| 104 | +#### Paste SQL into the console |
| 105 | + |
| 106 | +You can also click the button next to Run to paste the SQL into the console on the left for secondary editing. |
| 107 | + |
| 108 | + |
| 109 | + |
| 110 | +#### Invoke AI in the console |
| 111 | + |
| 112 | +You can press '/' in the editor to invoke AI and easily generate SQL through natural language: |
| 113 | + |
| 114 | + |
| 115 | + |
| 116 | +#### Format SQL |
| 117 | + |
| 118 | +After selecting SQL, click the format button above or right-click Format SQL to format and beautify your SQL. |
| 119 | + |
| 120 | + |
| 121 | + |
| 122 | +#### Fix SQL Error with AI |
| 123 | + |
| 124 | +If an error occurs after SQL running, you can directly click ‘fix in chat’ to get the correct sql result: |
| 125 | + |
| 126 | + |
103 | 127 |
|
104 | 128 | ### Data table management
|
105 | 129 |
|
@@ -165,12 +189,14 @@ After that, you can choose to create the data report manually or AI generated re
|
165 | 189 |
|
166 | 190 | #### 1. AI generates charts
|
167 | 191 |
|
168 |
| -Click “AI Chart”, enter the report information you want to generate in natural language in the input box that pops up in the upper right corner, and select the AI data collection you just created to generate the visualization chart: |
169 |
| - |
170 |
| - |
| 192 | +Click the AI Copilot on the right up corner, enter the chart information you want to generate in natural language in the input box, and select the corresponding data source to generate a visual chart: |
171 | 193 |
|
172 | 194 | 
|
173 | 195 |
|
| 196 | +You can then add the chart to your dashboard: |
| 197 | + |
| 198 | + |
| 199 | + |
174 | 200 | #### 2. Creating charts manually
|
175 | 201 |
|
176 | 202 | 1. New Chart
|
|
0 commit comments