Now what i want to do is suppose there is a user who is not able to reach any random ip address say, 30.30.30.30. I want to capture the IP address that User tyoed, in this example , it is 30.30.30.30. When I am printing the Ip address that user typed as configured in the domain.yml file
Hi Remy, I guess I have tried that, but it is not at all capturing any values. It will be great if you can please explain a little about it further with any short such example
RegExFeaturizer is a featurizer. It just helps the model in identifying the right values for the entity you’re trying to capture. It can’t do this on its own without any input though. Just think about it like this: If I tell you certain towns in the Netherlands end with ‘stad’ (I’m featurizing town names for you now) but I don’t give any examples of towns you’ll never know if you’re correct in assessing if a word is actually a town name:
is Keistad a town?
is Lelystad?
is Spookstad?
You can only guess
Answers
Nope
Yes
Nope
This means you’ll need a couple of examples in your NLU.md file to give your model an idea of what IP addresses are like so:
## intent: inform_IP
- my IP is [33.33.33.33](IP_adress)
- it's [44.44.44.44](IP_adress)
- oh i believe it's [45.74.12.77](IP_adress)
And then a couple more for good measure.
EDIT: for clarity: You have a sentence like the above in your NLU, but you haven’t tagged it in the [value](entity) notation.