Regular expressions

intent:update_details

  • my new date of birth is 10223

  • my updated date of birth is 10223

  • my updated birth date is 10223

  • my new birth date is 10223

I have a intent like this. I want to update my date of birth. When user is giving his date of birth I am doing some action in back end using rasa core. But rasa NLU is taking only 10223 as I have trained it by giving 10223. If I am giving some other value it is not considering. Can someone help me replacing 10223 with regular expressions or any other thing so that it will work for all the values other than 10223.

You should have a few more examples, and then you can also add a regex: Entity Extraction

Or consider using ner_duckling_http