Publish your bot

Is your bot ready to go live and start talking to your users? Great, on this page we'll tell you how to push your bot live and make changes without breaking it.

Understanding the DRAFT version

When you're building your bot, you do so in the DRAFT version of that bot. When you surf to app.chatlayer.ai, you always start building in DRAFT.

The DRAFT version is the one you use to build your bot. It's where you can make changes to the bot, test out flows, and work on the NLP. Once you're happy with your bot and want to push it towards your customers, you need to publish a LIVE version of your bot.

As part of the latest update, you now have the convenience of switching between live and draft mode using a simple button located on the top navigation bar.

Understanding the LIVE version

After publishing your bot, you can view the published version under the 'History' tab to keep track of all the changes made and when they were published.

Switching to the live version provides you with immediate access to the latest version of your bot, including all the flows you have just published. This version of your bot users will interact with, and any changes made to it will have an immediate impact.

We recommend not changing any data or configurations directly in your LIVE environment as this can break the bot that your customers are actively using.

Publishing options

There are three distinct publishing options:

  1. Publish: This action releases both flows and NLP to the live version.

  2. Publish Selected Flows: Use this option to publish specific flows only. NLP will remain unaffected.

  3. Publish NLP: Select this option when you want to publish only your NLP, leaving the flows unchanged.

1. Publish

  • Once your changes are complete, simply click on the 'Publish' button located next to the live/draft switcher button and select the 'Publish' option to make your updates live and visible to the live version.

  • Before publishing your chatbot, it is important to ensure that your NLP model is up-to-date. To make this process easier, we have added an 'Update NLP' button which can be found in the 'Publish' menu. Don't forget to update your NLP model to ensure that your chatbot provides the best possible experience for your users.

  • When creating a new version of your bot, you can add notes to help you keep track of the changes made in that specific version. This is especially handy when multiple people are working on the same bot.

Depending on the size of your bot, publishing could take a while. Relax, your bot is on its way!

2. Publish selected flow

Now you can select a specific flow to publish. This can be useful if you only want to make updates to a specific flow and don’t want to publish the entire project. Please read the full documentation here.

3. Publish NLP

Publishing your NLP model has never been easier. Simply click the 'Publish' button and select 'Publish NLP' to make your NLP model live.

Take into account that:

  • You must have published to the live version at least once.

  • The NLP needs to be trained before publishing it.

  • You cannot publish just the NLP if no NLP changes have been made since the last publish.

  • You cannot publish just the NLP if intents have been removed from your DRAFT version since the last publish. This is to avoid showing flows that are linked to intents that no longer exist. That means that removing intents from the LIVE version is only possible through 'Publish full bot'. Adding new intents to LIVE with 'Publish NLP Only' on the other hand, is possible.

Different NLP models in different environments will never be 100% identical. There are random factors inherent to this kind of machine learning that create different results, even with the same data. These differences are usually small, but in some cases where intents are very similar, the differences can be more apparent and lead to significant differences in confidence or entirely different classifications.

Maintaining the bot

Once your bot is live and users are talking to it, you can keep making changes to your bot in the DRAFT version. Once your changes are final, you can publish a new LIVE version of your bot. The existing version of your LIVE bot will then be overwritten with your current DRAFT version.

Last updated