Let's take a look at a sample conversation to help you get started on your Data Governance and Catalog data quality rule generation journey in CLAIRE GPT.
As a data steward working in a retail organization, you want to generate rule specifications to define clear standards and policies to govern your customer data. You have a file that contains rule descriptions, and you ask the agent to generate rule specifications from the rule descriptions.
To achieve the goal, perform the following steps:
1Log in to CLAIRE GPT.
2Start a conversation to identify how the data quality agent can generate data quality rules from the rule descriptions saved in a file.
Enter the following prompt:
I want to generate rules from a file. How can you help me?
The following image shows the response displaying a detailed plan on how the agent can generate rules from a file.
3Upload the demo_rules_spec4.xlsx file that contains rule descriptions.
The following image shows the response displaying some sample rules from the file along with the generation of a detailed plan for data quality rules by the agent.
4If you are happy with the proposed rule generation plan, enter the following prompt:
Yes, proceed with the plan.
The data quality rule generation skill of the agent validates the rules and checks for existing rules with the same logic in Data Quality. The agent groups rules with logically identical descriptions into clusters and creates a single rule for each cluster in the file. The agent then generates rule scripts and corresponding test data for each rule, executes tests for each rule, and provides a comprehensive summary of the generated rule specifications.
The following image shows the data quality rules that the agent generated from the uploaded file.
You can switch to Detail View to see the details of each generated rule specification.
You can download the data as a CSV file or copy the data to another file.
5To view a summary of rule specifications that the agent generated, you can click the card named Data Quality Rules Agent Log.
The following image shows the canvas with a summary of the rule specifications that the agent generated.
6If you are happy with the rule specifications that the agent generated and want to publish them in Data Quality, enter the following prompt:
Publish Rules
To view the published rule specifications, you can click the card named Published DQ Rules.
The following image shows the canvas with a view of the rule specifications that the agent published.
You can open the rule specifications in Data Quality and view them in the CLAIRE folder within the CLAIRE project.
Using the data quality rule generation skill of the data quality agent, CLAIRE GPT has analyzed the rule description in an uploaded file, extracted rules from the file, generated rule specifications, and published them in Data Quality.