Store Variables

I would like to store the age of the user and in order to repeat it, however my bot will always take the full answer of the user as value of age. For example, if he replies “i am 30 years old”, the Bot will say: “I am 30 years old is a great age”. How could I change this so that the Bot will only take the number as value in {{event.payload.text}}?

Thank you,

I suggest you to take a look at Entity Extraction and Slots in the documentation and adapt it to your needs

1 Like

Thank you! I was able to solve the problem using the Slot skill!

1 Like

Also please take a look at Slot Skill. To help with your slot filling in the future :slight_smile:

1 Like

Hi, could you show us how you configured your nlu intents and entities and your slot skill?

Thanks in advance.


Please find attached screenshots of my intents, entity extraction as well as the slot skill. I hope this is helpful. Please let me know if you have any further questions. I have to split my answer into several messages.

1 Like

1 Like

1 Like

1 Like

I’m struggling with the entity pattern setup.

I’m trying to make my intents like this:

my name is Jordan B Peterson
i’m called Caio Reis Guimarães
my mother calls me by Albert Einstein

How should i write patterns for this?

[A-Z]+ ??

[A-Z]+ [A-Z]+ ??

I have no idea