...
Property | Description |
---|---|
| You can select the language accent in which you want the output voice using this property. You can choose from the below: Arabic — |
| You can also choose the gender for the voice output. You can choose from |
| You can try out different variations on how the voice output can be with this property. This property will override the |
| You can choose the audio encoding of your choice from the below mentioned.
|
...
Code Block |
---|
{ "orbitaPayload" : {}, "text" : "", "reprompt" : "", "sessionEnd" : false, "ssml" : "", "waitTime" : "", "ssmlReprompt" : 250, "clearSession" : true, "replaceWord" : {} "waitTimeNoAnimation" : false, "micInput" : true, "validRegexArray" : {}, "keyboardInput" : true, "waitSettings" : { mode: 'dynamic', wpm: 300}, "audio" : false, "keyboardInput" : true } |
Property | Description | ||||
---|---|---|---|---|---|
orbitaPayload | The following payload displays the contents from the Multi-Modal Content editor.
| ||||
text | The following payload displays the content from the Chat Text window in the Text tab from the Multi-Modal Content editor.
| ||||
reprompt | The following payload displays the content from the Reprompt window in the Text tab from the Multi-Modal Content editor.
| ||||
sessionEnd | The following property gives a Boolean value, true or false. If the End Session checkbox is enabled, then the sessionEnd value is true.
| ||||
ssml and ssmlReprompt | The voice tab text when converted to speech is in ssml format. In the Voice tab, the content and corresponding payloads are:
| ||||
waitTime | The time (in milliseconds), the bot must wait before displaying another chat bubble in a sequence. The default value for waitTime is set to 250.
To change the waitTime, use the following JSON code.
| ||||
clearSession | The clearSession gives you a Boolean output, true or false. If this value is true, then the current session details are erased. The default value for clearSession is false.
Use the following sample code to set clearSessionto true.
| ||||
replaceWord | A homophone is a word that is pronounced the same as another word but differs in meaning and/or spelling (such as read, or wind). While giving voice commands to the bot, homophones can be misinterpreted. You can choose to replace such words with the actual words in the context using replaceWord.
The following sample code is for a replaceWord array.
| ||||
waitTimeNoAnimation | The status of wait time animation is shown in the following payload. The default value for waitTimeNoAnimation is false.
The following code sets waitTimeNoAnimation to true.
| ||||
micInput | The status of the microphone input setting is shown in the following payload. The default value for micInput is true. micInput provided in this node will take priority over the Flow Studio Directive.
The following code shows how to set micInput to false.
| ||||
validRegexArray | The status of the mic input setting is shown in the payload below. The default value for validRegexArray is set to true.
The following code sets the validRegexArray array.
| ||||
keyboardInput | The status of the text input field is shown in the following payload. The default value for keyboardInput is true.
If this value is set to false, the text input field will be hidden.
| ||||
audio | Audio output from the chatbot can be controlled using this property.
Setting the property value to true will enable the speaker and generate audio output even if the user has manually disabled the speaker using the speaker icon at the top right corner of the chatbot. Setting the property value to false will hide the speaker icon and will not generate the audio output. Sample Code:
|
Example flow in Experience Designer
...
Refer Orbita Web Chat, to set up Orbita Web Chat in on your website.
Related Articles
...