I need to extract the name of a city and store it in a slot from a one word reply from the user. Ex.: Bot: Please specify the city. User: Moscow I need the bot to extract this reply and store it in a slot. Help.
Hey @Vikrant1395, You could Use a pre_trained Spacy Model for it. spaCy has excellent pre-trained named-entity recognizers for a few different languages Entity Extraction. if You want to extract manually from the user’s message you could also use tracker.latest_message.entities and extract desired details about entities like type, text and etc.