Dealing with multiple entities of the same type
Some of the bots you build might require the ability to recognize entities of the same type while trying to fulfill 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 recognize 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