Chatlayer 2.0 Release

Last updated 2 months ago

We are releasing a brand new version of Chatlayer! The entire look and feel of the platform has been rebuilt from the ground up to provide you with a more intuitive way of building your bots.

We're also introducing some new features that help you organize and develop your bot easier.

Changes to Chatlayer terminology

  • Dialog states will from now on be known as bot dialogs.

  • Key and all other words that were used as variable are now just variable. A variable has a value.

  • Conditional navigation is now Go To.

  • Static content is now embedded in the Facebook Messenger channel settings.

Organization of bot dialogs

Flows

Did you ever get lost in a huge tree full of dialog states? We did too! That's why we're introducing flows. You can think of flows as a folder in which you can put bot dialogs that are related to the same topic.

Keep in mind that flows, just like the connections between dialog states, are simply a way of organizing your bot. They do not restrict the movement of users across your bot.

  • Users can jump from one flow to another by using intents.

  • Bot builders can set-up a next bot dialog to another flow

Some tips in choosing how to split flows:

  • Group all flows that have a functional relation. In our Choo Choo example, you could group all bot dialogs that are meant to help book a ticket, all general questions about trains, and all support flows (e.g. I lost my bag on the train).

  • Reserve one flow for general questions, such as your offloading settings and your not understood bot dialog.

Bot dialog types

To make things more organized, we are introducing bot dialog types, each with its own color and functionalities.

  • Bot message

    • Everything message that a bot will send to a user is a bot message. This includes text messages, buttons, quick replies, etc.

  • Go to

    • If you want to add rules to determine how a user is routed based on the value of a variable, you can do it with this bot dialog type. This functionality used to be in the conditional navigation plug-in.

  • Action

    • Actions allow you to configure the settings of a user session, such as the language that will be used to reply to your user, or the offloading of a user.

  • Input validation

    • Use this bot dialog type to gather input from your users. This bot dialog type replaces the input plug-in.

Every bot dialog type has a settings and NLP tab, which stay the same throughout the different types.

NLP

Updating the NLP

The train NLP button has been replaced with an Update NLP button on the top right of the screen, visible on all pages. When you see a spinner instead of a brain icon, your NLP model is still training.

NLP import and export

In the expressions tab you can now do easy imports and exports of your NLP model.

Clicking the export button opens a dialog where you can choose which languages and intents you want to export.

Clicking import opens a model that guides you through the steps of importing an NLP model. In the first step you can download a template for your NLP import, and upload your filled in version.

The second step lets you choose between adding to or replacing your existing NLP model. Be very careful with replacing your model, this cannot be undone!

Entities are not yet supported by our NLP import and export. This means that no entities will be included in the csv download of your model.

If you add your import to the existing NLP model, entities will not be overwritten, but if you do completely replace your NLP model, all entities will be lost.

Expression generator

We want to make it easier to quickly generate a lot of expressions, by quickly adding synonyms for the different parts of the expression.

To use the expression generator, add an expression in the input field. Select one or several words and choose en entity type if they're entities or add alternatives by clicking the Add Synonym button.

Make sure you choose the intent you want to add the new expressions to in the top right of the screen.

After defining parts of the expression as synonyms you can enter alternatives in the input fields. The expression generator will combine these synonyms to these results:

If the results are valid sentences, you can add the expressions to the intent you have selected on top of the page.

Updating your bot for Chatlayer 2.0

Some customers will see bot dialogs in red. Red bot dialogs are combinations of several bot dialog types, which was supported in Chatlayer 1.x, but not in Chatlayer 2.0 anymore. We've made this change to make it easier to organize your bot dialogs and improve the experience of creating a new flow.

When you open a bot dialog, you will see that there are multiple items within one bot dialog.

In this case a text message is shown, along with a custom plug-in which is now under the "Action" bot dialog type. To fix this, delete either the message or the plug-in, and add it in another bot dialog. Link the two bot dialogs with a next bot dialog.

All red bot dialogs will be removed in March 2019, so make sure you change your incompatible bot dialogs in time.

Conclusion

That's all for now! We'll be updating this page as new features are released into Chatlayer 2.0 over the coming months.

If you have any questions about the functionality of the new release, or if you encounter any problems, please contact us at support@chatlayer.ai.