I am working on a customer relations chatbot. The user can input a greeting, user name, phone number etc.,
I created a few training examples(50+ names) to help the chatbot in nlu.md file. But the problem is the chatbot is not able to recognize an user_name as an entity if it is not specified in the training data (nlu.md) file.
I 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
for example
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 )
What should I do to make the bot understand when a user_name is specified? I saw somewhere that lookup tables can be used. But when I tried using lookup tables, it still did not recognize user_name not part of the training examples.
The below links I referred.
https://forum.rasa.com/t/regex-entity-names/11739/10
How rasa_nlu using lookup_tables for entity extraction?
but no luck for my issue. I am okay with any options also.
Thanks.