Finalizing Your Intent
With the custom entity configured you now need to finalize the intent’s training phrase. You will need to update the misidentified account number to be correctly identified. This will involve changing the parameter’s entity type and expanding the capture group.
Click Intents on the left side of the screen.
Click on the text of the intent check_account_balance.
Clicking on the left of the intent will open up the bulk action options used to copy and delete intents in bulk. You should instead be selecting the text directly.
Click on the highlighted text to activate the entity-type dropdown.
You will need to change this to the account_number entity type.
Find and click on @account_number:account_number from the list.
Ideally, this will select the whole range as the account number but you need to ensure that you have captured the letter on the end as well, which does not always automatically get pulled in.
Hover over the highlighted text and click-and-drag the blue line over the letter at the end of the account number.
Note: The little blue bulb at the end of the line is the easiest to click although this blue bulb may not appear on all browsers.
Validate that the Resolved Value is equal to 32460a
In this lab step, you finalized the creation of your first Intent. You are now able to detect what a user is asking for and parse key variables.