Problem while storing the slot value


Premise: I have created a slot where I ask for users name and in my nlu file while writing intents for name I’ve also defined entities.

Problem: when user types something like call me “name” or my name is “name” the bot stores the whole sentence instead of name.

I only want to store the name so, how should I do it ?

any help would be appreciated!

There’s a blog post on this subject here. The flowchart there gives a good overview of how to approach entity extraction and the following paragraph address extracting names:

The spaCy library offers pretrained entity extractors. As with the word embeddings, only certain languages are supported. If your language is supported, the component ner_spacy is the recommended option to recognise entities like organization names, people’s names, or places. You can try out the recognition in the interactive demo of spaCy.

Thanks for the help:)