End session
The @close()
speech marker command enables the user to tell the Digital Person to end the session during a conversation without the need for manual input, e.g. using the sidebar menu to select the end session option.
Note: The End Session speech marker implementation:
Is applicable only for the Default UI
Requires Soul Machines SDK 12 or above.
When the user verbally requests to end the session, the Digital Person acknowledges and a “Goodbye” page is displayed to confirm the conversation session was ended intentionally and offers the opportunity for another conversation. This is the same page displayed when the user manually ends the session from the sidebar menu.
Conversation Engineers/Writers can use the “@close” speech marker in the NLP conversation scripts to end the session when the conversation has reached a natural conclusion.
This speech marker will end the conversation session immediately without requiring any manual input from the user.
Example NLP Conversation Usage:
Thanks, it was nice talking to you. Goodbye! @close()
Thanks. See you later! @close()
Sample Dialogflow Intent:
Note: In IBM Watson implementations, the “@close” speech marker in the conversation Response must be escaped with a backslash, e.g.: \@close().