/
Configuring verbal commands

Configuring verbal commands

Disable microphone and chat window DEFAULT UI

The @feature speech marker enables the user to tell the Digital Person to switch (ON/OFF) the Microphone or the Chat/Transcript Window during a conversation. 

Note: The UI Feature ON/OFF speech markers:

  • Is applicable only for the Default UI

  • Requires Soul Machines SDK 12 or above.

Example of UI Feature Toggle - Microphone OFF

Conversation Engineers/Writers can use the “@feature” speech marker in the NLP conversation scripts that directs the Digital Person to deactivate or activate a UI feature in response to a user’s verbal request.

Example NLP conversation usage:
Sure, let me turn on your microphone. @feature(microphone, on)

Okay, @feature(microphone, off) I've turned off your microphone.

Sure, let me close the transcript @feature(transcript, off) for you.

 

Sample Dialogflow Intent:

Dialogflow Example Intent for UI Feature Toggle Speech Marker

 

Note: In IBM Watson implementations, the “@feature” speech marker in the conversation Response must be escaped with a backslash, e.g.: \@feature(microphone, on).

Toggle widget layout WIDGET

Using layout feature markers you can trigger widget to change layout based on the arguments. The first argument layout means to toggle widget layout, the second argument can be float or fullFrame , widget will change to the layout specified, and any other argument will be ignored.

Example NLP conversation usage:
Changing to float layout @feature(layout, float)
Changing to full frame @feature(layout, fullFrame)

Note: The widget layout speech markers is applicable only for the Widget.

 

Related content

Native Conversational AI Integrations
Native Conversational AI Integrations
More like this
Displaying Content Cards
Displaying Content Cards
Read with this
Optimising your Conversation
Optimising your Conversation
More like this
Skill - Generative Conversation
Skill - Generative Conversation
Read with this
Building Content Cards for Custom UIs
Building Content Cards for Custom UIs
More like this