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.
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:
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.