Reputation: 67
I'm trying to make a DialogFlow bot which returns the height weight of a person, given the policy number. Policy Number is an alphanumeric string on 10 characters with "AA" (2 A's) in the start and then 8 random digits.
I've made a regex entity for the same.
^(?i)a{2}\d{8}$
But in the training phrase whenever I type a policy number it is not being mapped to the policyNumber entity. I'm fairly new to DialogFlow and this is the first time I'm making a bot.
So, can anybody guide me with what I'm doing wrong.
Here are some of the screenshots.
Training Phrases:
Here are some of the warnings:
policyNumber Regex Entity:
Upvotes: 2
Views: 2092
Reputation: 67
The problem was solved after adding 10 training phrases and manually mapping the "regex entity".
Upvotes: 2