How to extract entity from user text in action.py

Hi, Instead of doing it yopurself I recommend using Facebook Duckling to do so. It’s a very popular and robust solution:

Hope it helps.