Auto generate rule expression for pass conditions using AI

Data Integrity Suite

Product
Spatial_Analytics
Data_Integration
Data_Enrichment
Data_Governance
Precisely_Data_Integrity_Suite
geo_addressing_1
Data_Observability
Data_Quality
dis_core_foundation
Services
Spatial Analytics
Data Integration
Data Enrichment
Data Governance
Geo Addressing
Data Observability
Data Quality
Core Foundation
ft:title
Data Integrity Suite
ft:locale
en-US
PublicationType
pt_product_guide
copyrightfirst
2000
copyrightlast
2025

The auto rule expression generation feature lets you set advanced pass conditions in Quality Rules and Pipelines by describing their logic in plain English. This AI-powered capability interprets user intent and dynamically generates precise expressions, streamlining the rule creation process and reducing manual effort.

This feature is available in the Basic and Advanced tab of the Pass conditions, Add Evaluated Rows Filter section in Create Rule page, and Condition tab in Step Configuration of a Data Quality pipeline and is powered by the AI Assist button. The button is designed to support expression generation.

Note: To use the auto generate rule expressions feature on the rules page, ensure that the Generate Rule Expression functionality is enabled at the workspace level under the AI tab. If it isn't enabled, the AI Assist button will not be visible within the rule creation interface. For further guidance, refer to the AI manager documentation.

Benefits

  • Simplified expression creation: You can describe your logic in natural language, and the application converts it into a valid expression using field names and data types.
  • Reduces manual effort: You don't need to write complex scripts as the AI handles the conversion, saving time and minimizing mistakes
  • Consistent and accurate output: Expressions are generated using standardized grammar and metadata, ensuring uniformity across rules and pipelines.
    Tip: To ensure your expression is generated accurately, follow the instructions below:
    • Use valid field names from your dataset. The application uses these names and their associated data types to construct accurate expressions.
    • Avoid unsupported keywords, such as Value alias, which can prevent the application from generating a valid expression.
    • Verify prompt accuracy. If your prompt references the fields that do not exist, expression generation may fail.
    • Refine unclear prompts. When needed, revise your input using valid field names and supported syntax.
Important: Expressions are generated in-session and only saved when you click Create or Update.

To generate the expressions in the pass conditions:

  1. On the main navigation menu, click Quality and navigate to Rules.
  2. On the Rules page, click on the Create Rule button
  3. Select the target assets that have to be evaluated by the rule and proceed to define the pass conditions.
  4. Click the AI Assist button present beside the pass conditions section to open the expression generation panel.
  5. In the description box, enter your logic in plain English. Ensure the details of the relevant datasets or fields are added to the logic.
  6. Click Generate. The application will automatically generate an expression for the pass condition based on the inputs.
    Tip: If the generated pass condition doesn't produce the desired outcome, you may revise the prompt and select Generate to create a new pass condition based on the specified parameters. Once the expression meets your requirements, you can either copy the generated expression or select Apply to implement the pass condition within the rule.
  7. Click Create to save the rule with the generated expression and other details.
Note: The application will generate an appropriate exception if invalid prompts are entered, such as those that are overly generic or not recognizable within the context of the established rule. In addition, exceptions will be triggered in cases of errors relating to the LLM connection or server issues.