Rasa username extraction

Hello

I am using to make a chat bot using rasa.i t is going very well. Now i stuck.how can I extract username from chat.

Suppose user say. Find the email address of AhmedSiddiqui1122 ex: AhmedSiddiqui1122 is user name it could be any thing like abc123, abdul234, alex234

How can I extract any username to save the value in slot to send it email using custom actions

1 Like

Hello

You can use a Form with a from_text mapping for the username slot

1 Like

Who is the station head of x station?

i need to store x in slot. x can be any name how can i get this one. can you give any code snippet. please help if you can thank you for reply.

You will need to have lots of examples for this one.

You can use Lookup Tables to help you out by listing station names.

1 Like