Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

App Settings enable you to control some of the customizable chatbot features such as setting waitTime between bubbles, loading the chatbot from the bottom or top, changing the banner content, customizing the menu options, and so on.

All the properties listed below should be used under the property msg.payload.<App Settings property>. For example, to change waitTime to 500 ms, you have to use msg.payload.waitTime: "500"

Property

Description

speechToText: "native"

Defines the Speech-to-Text converter to be used by the chatbot application and it takes values such as native, default, and google.

headerLogo : "<Imageurl>"

Specifies an image file to show it in the chatbot header.

waitTime: "250"

Defines the time (in milliseconds) the bot waits before showing the next bubble. Also, see How do I delay delivering bubbles in Chatbot using waitTime?

micMode: "push"

push and auto

animationTime: "500"

Defines the time (in milliseconds) the

startAlignmentTop: true

When this property value is set to true, the chatbubbles are loaded from the top of the chatbot first.

enablePreviousOptions: true

When this property value is set to true.

waitSettings: {
mode: 'dynamic',
wpm: 165
}

This property introduces dynamic wait time based on the text in the previous chat bubble.
The mode can be dynamic or static.

  • If set to dynamic, the duration of wait time animation will be calculated based on the number of words rendered on the previous bubble. ((#of words in the last bubble ) / (Word Per Minute) ) * 1000

  • If set to static, the duration of wait time animation is taken from the property msg.payload.waitTime

More information at How do I delay delivering bubbles in Chatbot using waitTime?

logoutUtterance: “utterance“

when the logout button is clicked, this utterance will be passed.

logoutUrls: “URL“

This URL will be called when clicked on logout button.

logoutText: “text“

when the logout button is clicked, you will get this text as response from the chatbot.

mapKey

keyboardPlaceholderText: "Placeholder text"

rePromptWaitTime: “500“

Defines the time (in milliseconds)

offlineMessage : 'You lost your Internet connectivity'

The message that is displayed when the chatbot user is offline. You cannot do any action in the chatbot when offline.

onlineMessage : 'You are online'

The message that is displayed when the chatbot user is back online.

  • No labels