Whilst building and testing your conversational AI application in UI Builder, there will be times where you'd like to inspect the contents of variables to verify logic is behaving as expected.

The Watch Panel in UI Builder provides this capability. You can use the Watch Panel to track multiple variables at various scopes whilst testing your chatbot via the built-in web chat.

In this How To you'll learn how to use the Watch Panel. You'll see how it can be used to examine the contents of a variable that gets processed within a dialog. You'll also learn how to use the Watch Panel to identify the confidence score associated with the AI NLP capability.

Prerequisites

This How To Assumes you are familiar with UI Builder Fundamentals such as Dialogs, Intents and Triggers. It assumes you have completed the Dialogs, Triggers and Intents. and leverages this to illustrate the debugging capabilities of UI Builder.

Debugging Dialogs Triggers and Intents

Open the Dialogs, Triggers and Intents sample. UI Builder will display the following actions in the designer canvas:


Untitled

  1. Click on Test.

Untitled

  1. The webchat test window will be displayed and the bot will greet you with a welcome message: