Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Disable microphone and chat window
Status
colourPurple
titleDEFAULT 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. 

Info

Note: The UI Feature ON/OFF speech markers:

  • Is applicable only for the Default UI

  • Requires Soul Machines SDK 12 or above.

Image Modified

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:

Image Modified

Info

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
Status
colourGreen
titleWIDGET

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)

Info

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

widget-toggle-video.mp4Image Added

Info

Note: If you put these markers ahead of other text response, widget will change the layout first, then the Digital Person will start talking. If you place them at the end of the sentence, DP will talk first and then update the layout.

Contents

Table of Contents