When should I use this Studio action?

This is used to "make the bot learn" a list of elements (the entity values) corresponding to a category (the entity)

We can therefore recognise a value in an intent by adding utterances: "I would like a {fruit}" and the bot will include "I would like a kiwi" where kiwi is the value taken by the entity {fruit}. It is therefore necessary to add a transition with for example the intent Wish[fruit].

This studio action is necessary in order to use the "add custom entity to context" action

The value taken by the entity is then contained in the context key {entityName} and can be used in transitions and Say Actions for example, thanks to an "add custom entity to context" action.

Refers to:

SA - add parsed entity to context

How to parse an entity and use it in the bot ?

<aside> 💩 Do NOT add accent in the custom entity parser. Thank you Louis

</aside>

<aside> 🤡 But apostrophe is ok

</aside>

CallDesk Dashboard

Bot HOW TO

Why should you need to do it ?

Sometimes it is necessary to create a small database in order to recognize several very distinct elements, for example :