AI
In the AI tab, you can modify the settings of the Process Advisor. You can modify query samples and query settings to adjust SQL queries, suggested follow up questions, and contextual accuracy in analytics.
The default configuration of the AI tab is sufficient to handle most processes and queries.
Query Samples
In the Query Samples section, you can create, search and edit natural language queries that can be used by the Process Advisor to generate SQL queries automatically. The example queries are used to validate the text-to-SQL behavior of your project. Each sample includes a natural language question, the corresponding SQL query, and the related metadata.
You can use the following features to manage query samples:
- Manually create a meaningful question and SQL query pair.
- Type a natural language prompt to generate an SQL query automatically.
- Edit or update an existing sample.
- Run a test to validate a query before saving.
- Delete existing samples.
- Revert query samples to the default queries.
Process Advisor will execute the query once you use the user prompt from a chosen query sample.
Query Settings
In the Query Settings section, you can define background rules and instructions of Process Advisor. These settings determine how SQL queries are created and formatted, ensuring that the output is consistent, accurate, and aligned with the project’s data structure.
You can define the following information in the Query Settings section:
- SQL conventions and restrictions. You can make sure that it is compatible with your process mining database.
- Rounding and naming standards for numeric or duration values.
- Units of measure, such as time or currency.