Kore.ai’s Universal Bots facilitate a scalable, modular approach to Bot building by helping you link several Bots into one.
Universal Bot is a container bot that can be linked with one or more Standard Bots. When a user interacts with the Universal Bots, it routes the user utterance to the appropriate linked bot for intent detection or task fulfillment.
Note: A universal Bot doesn’t own the linked bots, but it interprets the user utterances and maps them to the correct linked bots. The changes that you make to a linked bot task from inside the universal bot, such as training the task, are saved directly to the linked bot. Also, you cannot create any task for the universal bots except for customizing a default dialog task that gets created automatically with every universal bot.
Implementation
The following flow chart shows the working of a Universal bot:
The following is the explanation for the above process flow:
- Universal Bot checks id any eligible bots are defined.
- If defined, then the list of eligible bots is obtained, else the user intent is checked against any Small Talk, etc.
- If eligible bots not defined then all the linked bots are considered as eligible.
- Once the linked eligible bots list is there, Universal Bot identifies the bots that qualify using the invocation phrases. (See the bot training page for details)
- The user utterance is sent to the scoped bots and the results are processed by the Universal Bot’s Ranking and Resolver engine.
Universal Bot – upgrade
Post ver7.3 release of the platform, new Universal Bots would be versioned as 2.0.
We recommend you upgrade since the older version of universal bot will be deprecated soon. The previous version of Universal bot has the following limitations:
- Training – you cannot train the universal bot, need to depend upon the training of the linked bots for proper functioning.
- There are performance issues with the older version if the number of linked bots exceeds 5 or the total number of intents exceeds 100.
- Variable Management is not possible from the older version of Universal bot.
Older version universal bots will prompt you to Upgrade when:
- you open the universal bot; or
- when from the left navigation menu you access Natural Language -> Training.
Once you upgrade, follow these steps to ensure that the user utterances are routed to the relevant linked bots:
- Train the Universal Bot to identify the linked bots by providing Training Utterances or Invocation Names. The Universal Bot will route the user utterances only to the identified linked bots.
- Mark linked bots as Fallback Bots. The utterances are routed to the Fallback bots when no other linked bots are qualified from the training provided. A maximum of 15 linked bots can be marked as Fallback bots.
- Review the linked bot identification flow from the Utterance Testing module.
Refer here for more on training the Universal Bot.