Dealing with multiple entities of the same type
Some of the bots you build might require the ability to recognise entities of the same type while trying to fulfil an intent. A bot telling you what bus you need to catch to go from point A to point B is an example of such a bot. It will in fact need to recognises two different sys.places entities (one for your origin location, and one for your destination).
Enabling this scenario is simple with Hu:toma. All you need to do is add the variables you need and set the ‘label’ attribute so you can distinguish them when processing your webbook.
Here’s how the entity section of the ‘Bus bot’ intent mentioned earlier would look like