Teneo Developers

Localize with multilingual CLU

Include relevant content for branching

It is time to include the relevant content from Longberry Baristas for branching.

Flows and Entities

We will start off with including all of the flows and entities. In Teneo, all dialogs are designed as flows, which contain the logic needed to resolve a specific question of the user.

Language objects are building blocks for language conditions. They capture words, synonyms, or various ways of expressing the same (partial) intent. They make it possible to efficiently write and re-use conditions. Entities are a special kind of language object consisting of one or more entries, which denote what the entity is matching and optionally also which features are assigned to this entry.

  1. Start off by selecting the 'Flows' and 'Language Objects' folder.
  2. Click on 'Include' in the 'Branching' section in the ribbon bar. The buttons in the 'Branching' section look like this:

include content for branching

A more detailed explanation of these steps can be found here.

Classes

These flows use Class Match, which also means that they depend on Classes. Classes are built on training data and are used in the machine learning model of your solution. They are stored in the Class Manager.

  1. Open the 'Class Manager' by selecting the 'Class Manager' button located in the 'Solution' section.
  2. Select all the classes that do not have a 'TDR_' prefix. For example, 'ANOTHER_ONE_PLEASE', 'ORDER_A_COFFEE' and 'TELL_ME_ABOUT_YOUR_COFFEE'.
  3. Finally, click on the 'Include' button in the 'Branching' section.

Variables and listeners

Global variables and listeners are important to be included in branching. Global variables are used to store data and can be accessed from anywhere in the solution. Listeners help your bot pick up relevant pieces of information from user inputs, even when these have not been explicitly prompted for.

  1. Click on the 'Solution' tab.
  2. Click on 'Globals'.
  3. Under 'Variables', select all of the listed Global Variables and click on the 'Include' button.
  4. Under 'Listeners', select all of the listed Listeners and click on the 'Include' button.

Integrations

Finally, make sure to include relevant integrations. Integrations are a reusable set of scripts that can be written once and used many times within flows throughout the solution. Most commonly, they are used to connect to external services.

  1. In the solution backstage, click on 'Resources', followed by 'Integration'.
  2. Select all listed integrations and click on the 'Include' button.
  3. Finally, click on the 'Save All' button located on the sidebar in the solution backstage. This will make sure everything you selected to be included for branching inside the solution will be stored and saved.

Forget something?

Don't worry! It is possible to update your 'Master' solution if you forgot to include something before branching. Simply go back to the 'Master' Longberry Baristas solution, and include it. Then return to your 'Local' solution, go to the Solution backstage, and click on the 'My Work' section. We can now see the changes from the 'Master' solution, where we can either select Update All items to update everything or Update Selected items to only update relevant parts. Once updated, the local solution will pull in the changes from the Master solution.

Next page
Localizing Longberry Baristas
Was this page helpful?