Skip to main content

Utterances

With Botium, you can separate conversation structure from conversation content using Utterances. This promotes cleaner and more manageable test cases by distinguishing the "what" (content) from the "how" (conversation structure) of your bot's responses. Utterances also enable you to create multilingual conversations or alternative messages (like ‘bye’ and ‘goodbye’).

Note: There are two views available when creating utterance lists. The UTTERANCE EDITOR (User Interface) and the SOURCE EDITOR (Code). You can easily switch between the button interface and the scripting interface at anytime. This flexibility ensures that both new and experienced users can create chatbot conversations effectively.

Example Utterance - UTTERANCE EDITOR



Understanding the UI

Let's break down the sections step by step:
  1. UTT_NAME: The name of the utterance list is shown top-left of the editor and can be updated at any time by simply clicking anywhere on the text.

  2. User Examples # Click the + button to add user examples.

    Note:
    • Click the Pencil Icon to edit the utterance name
    • Click the Trash Icon to delete any utterance
  3. PARAPHRASE IT! Use the Botium paraphraser tool if you would like Botium to create additional utterances based on the examples you have given. You can then choose to use or discard any of the suggestions as you wish. After you make your decision click the ADD or CANCEL button to return to the main editor.



  4. Save: Click the SAVE button to finalize your list.

Example Utterance - SOURCE EDITOR (Botium Script)

USER_HELLO
hi
hello
nice day
To use this utterance named USER_HELLO:
#me
USER_HELLO

#bot
Hi!

#me
bye

#bot
Goodbye!

Was this article helpful?

0 out of 0 found this helpful