To Previous State
Navigating Unexpected Inputs to Maintain Conversation Continuity
Last updated
Navigating Unexpected Inputs to Maintain Conversation Continuity
Last updated
The To Previous State block enables you to manage unexpected user inputs effectively. By allowing the conversation to revert to the last interaction, it offers users a chance to rephrase or provide new input without disrupting the flow of the dialog.
State Restoration: When invoked, this block reverts the conversation to the previous state. This is particularly useful when the caller has provided an input that the system cannot understand or categorize within the expected responses.
User-Centric Approach: The block is equipped to prompt the caller to rephrase or provide new input, maintaining a user-centric conversation without causing frustration or confusion.
The block can contains a list of response pathways such as "Repeat Prompt", "Bad Mood" and "Wait", which can be configured to handle various scenarios that necessitate reverting to a previous state.
One of the key features is context variable previousPrompt
where the AI can repeat the last prompt, allowing the caller to understand the context and respond appropriately.
Configure the specific responses tailored to different scenarios that might require the conversation to roll back to a previous state.
Integrate this block within your conversational flow where there is potential for unclear or unexpected responses.
Ensure that transitions into and out of the "To Previous State" block are smooth and logical within the conversation flow.