Skip to content

Commit

Permalink
Merge pull request #690 from CluedIn-io/feature/how-to-tag-records-co…
Browse files Browse the repository at this point in the history
…pilot

Using Copilot for tagging invalid data formatting update
  • Loading branch information
SolomiiaSnihur authored Feb 17, 2025
2 parents 2312be8 + b8a9171 commit 06f3b6f
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion docs/200-kb/how-to/020-tag-records-with-data-quality-issues.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,17 @@ To tag records with such data quality issues, [create](/management/rules/create-

![validate-email-action.png](../../assets/images/kb/how-to/validate-email-action.png)

Alternatively, you can use [CluedIn Copilot](/microsoft-integration/copilot-integration) to create a data part rule. First, ask Copilot to generate a common regular expression that would check for valid email format. For example, you can use the following prompt: `Write a common regular expression that would check for valid email format and shortly describe it.` Then, instruct Copilot to create a data part rule using the prompt similar to the following: `Create a data part rule named "User email format validation" for the TrainingContact entity type. This rule should use CluedIn AI action on the trainingcontact.email vocabulary key to tag with "Invalid email format" any email with a pattern that doesn't match the above regex.`
Alternatively, you can use [CluedIn Copilot](/microsoft-integration/copilot-integration) to create a data part rule. First, ask Copilot to generate a common regular expression that would check for valid email format. For example, you can use the following prompt.

```
Write a common regular expression that would check for valid email format and shortly describe it.
```

Then, instruct Copilot to create a data part rule using the prompt similar to the following.

```
Create a data part rule named "User email format validation" for the TrainingContact entity type. This rule should use CluedIn AI action on the trainingcontact.email vocabulary key to tag with "Invalid email format" any email with a pattern that doesn't match the above regex.
```

![validate-email-copilot.png](../../assets/images/kb/how-to/validate-email-copilot.png)

Expand Down

0 comments on commit 06f3b6f

Please sign in to comment.