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 UI Feature ON/OFF speech markers:
- 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:
Dialogflow Example Intent for End Session Speech Marker
Note: In IBM Watson implementations, the “@close” speech marker in the conversation Response must be escaped with a backslash, e.g.: \@close().
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article