Advanced Search SQL Helper
You can use FortiAI to generate an Advanced Search (SQL) Query from natural language question, fix SQL errors and summarize Query results.
To generate a Query:
-
Go to Analytics > Advanced Search.
-
Click the FortiAI (
) drop-down and select Generate SQL. -
In the dialog box, enter your desired query and click Generate.
-
In the FortiAI Chat window, FortiAI will show the generated SQL Query. You have two options from the FortiAI dialogue header:
-
Click Replace Original Query (
) to replace the existing query with the generated query. -
Click Copy Query to Clipboard (
). You can paste the query later.
-
-
Click Run to execute the query.
To fix a Query syntax error:
-
Click the FortiAI (
) drop-down and select Fix Errors. -
In the FortiAI Chat window, FortiAI will show the generated SQL Query. You have two options from the FortiAI dialogue header:
-
Click Replace Original Query (
) to replace the existing query with the generated query. -
Click Copy Query to Clipboard (
). You can paste the query later.
-
-
Click Run to execute the query.
To summarize query results,
-
Make sure you have successfully run a query and Query Results are showing.
-
Click the FortiAI (
) drop-down and select Summarize Results. -
In the FortiAI Chat window, the results will be summarized.