Triggered after the conversation restarts, before a new session begins. Use this event for displaying specific UI elements, sending an initial message, or resetting application state when a new session starts.Documentation Index
Fetch the complete documentation index at: https://developer.watson-orchestrate.ibm.com/llms.txt
Use this file to discover all available pages before exploring further.
Event properties
Always
'restartConversation'.Indicates the source of the restart conversation action. Possible values:
-
'restart_button'Restart triggered by clicking the Restart button in the chat header. -
'new_chat_button'Restart triggered by clicking the New Chat button in the sidebar. -
'instance_method'Restart triggered programmatically through therestartConversation()method. This value is automatically set when callingrestartConversation().
Examples
This example shows how to handle the restart after it’s triggered by the Restart button in the chat header:restartConversation() method:
Do you need practical examples?
Learn how to apply the features available for embedded chat into your implementation with guidance and examples.

