Name is not working on Regex in Rasa

Hi All,

I’m working on capturing the user names. I wrote almost 50+ different names in nlu.md file for training, wrote a regex as well but still if I give a new name the nlu engine is not able to recognise it.

I’m using rasa 1.0.7 and I have pipeline: supervised_embeddings


nlu.md file:


##regex.names
- [a-zA-Z\s]+$


##intent:inform
- John
- Roshan
- Sanvi
–> have few more

If User is giving any new names means, my entity is empty. attaching the rasa interactive message also.


Your input -> John
Is the intent ‘inform’ correct for [John] (name) and are all entities labeled correctly? (Y/n)
Your input -> adrena
Your NLU model classified ‘adrena’ with intent ‘inform’ and there are no entities, is this correct? (Y/n )

Thanks.

Hi @ramyaps. Please provide a solution, if you did solve it.