Debugging Chat

The primary testing and debugging tool you will use while writing a voice script is the Debugging Chat in Alan Studio. The Debugging Chat lets you quickly see the output for voice commands, diagnose problems and check how short conversational branches work.

You can test voice commands with voice or type them:

  • To test a command with voice, in the Debugging Chat, click the Alan button and say the command.

  • Alternatively, you can type the command in the text area and click the Send button or press ENTER on the keyboard.

In the Debugging Chat, commands and responses are displayed as speech bubbles. Every bubble is titled with the name of the voice script to which the command or response belongs and the number of the line in the voice script. To jump to the necessary code block in the code editor, click the link at the top of the bubble.

To let you quickly analyze the output for voice commands, the Debugging Chat highlights slots in the user input as colored blocks and shows commands sent to the app from the voice script.

Note

If your dialog requires some data from the client app, you can use Alan Studio tools to make sure your voice assistant functionality is thoroughly tested.

../../../_images/test-chat.png