Skip to main content
Back to NLP Topics Talk to Bot is a real-time chat interface for testing your app as an end user. Use it to validate recognition, NLP performance, and conversation flow.
The Test icon is not available until at least one task is created.

Start a Test Session

  1. Click the Test icon on the top-right of the platform.
  2. Select Voice or Chat (this article covers Chat).
  3. Enter a message in the Message field to begin. Example: Book a flight.
  4. The NLP interpreter processes the input, authenticates, prompts for required fields, and executes the task.
Try varied phrasings and synonyms to validate NLP coverage. If the app returns unexpected results, add or update synonyms and patterns. See Natural Language Processing.

Debug Window

Click the Debug icon on the top-right of the chat window to open the debug panel. It has three tabs:

Debug Log

Shows the sequential execution of dialog task components (Script Node, Service Node, Webhook Node) with timestamps. Grouped by user inputs and app responses. Statuses:
StatusDescription
initiatedNode execution started (script, service, webhook).
executionNode execution in progress.
execution successfulNode completed successfully.
process completedFull execution process for the node is done.
parsingPlatform is parsing the user prompt.
parsing successfulPrompt parsed successfully.
waitingForUserInputUser was prompted for input.
pauseCurrent dialog paused while another task runs.
resumePaused dialog continues after the other task completes.
waitingForServerResponsePending async server response.
errorError occurred (loop limit, server/script failure).
endDialog reached the end of the flow.
Expand any node entry and click JSON to view detailed log data. You can copy or view the script in full-screen.

NL Analysis

Shows intent detection and recognition scores for each utterance. Covers tone analysis, intent detection, and entity detection across ML, FM, and KG engines. See Utterance Testing for score details.

Session Context and Variables

Displays the Context object and session variables updated at each dialog component. See Using Session and Context Variables and Context Object.

System Commands

System Commands let you control the conversation during evaluation. They can also be injected via JavaScript. See System Commands.

Record Session

Use the Record option to capture conversations for regression testing.
  1. Click Record to start capturing the session. A notification appears at the top of the chat window.
  2. Click STOP to end the recording.
  3. After stopping, click Create Test Case to save the conversation as a conversation test case.
  4. Optionally, download the recording as a JSON file.