State
Crafting Responses and Setting Up Intent-Driven User Interactions
Last updated
Was this helpful?
Crafting Responses and Setting Up Intent-Driven User Interactions
Last updated
Was this helpful?
The State block is a fundamental unit of dialog within Parloa. It is designed to handle specific topics or user queries, such as asking for an address. State blocks interpret user input, define responses, and manage the flow of conversation based on the user's intent.
Response Definition: Define the chatbot’s verbal and text responses to users.
Intent Recognition: Configure specific user intents that the chatbot should recognize at different points in the conversation.
Use the Responses tab to input the chatbot's verbal and textual communication. Start by crafting a primary prompt that is clear and direct, effectively asking for the user's address.
Single and Multiple Prompts: If only one prompt is placed above the dividing line and no prompts are placed below it, this prompt will be used by default in interactions. However, if multiple prompts are placed below the line, they are activated sequentially in the same call when triggered multiple times, ensuring a dynamic conversation flow.
SSML Integration: Incorporate Speech Synthesis Markup Language (SSML) to make the bot sound more natural and engaging. This can significantly improve the user's experience by providing a voice that is more relatable and easier to understand.
Handling Varied Scenarios: Add additional prompts to manage different scenarios, such as lack of user input or misunderstandings. This ensures the chatbot can handle unexpected user responses gracefully.
Response Priority: When both cross-platform and platform-specific responses are used, the platform-specific response takes precedence, allowing for a tailored user experience depending on the platform used.
Autocomplete Features: Utilize our autocomplete features within the SSML section to streamline your response creation process. These features can help generate high-quality responses efficiently.
In the Intents tab, define the intents the chatbot should recognize. For example, in an “Ask for address” State block, you can include intents such as tellAddress
, provideAddress
, and fallback intents like else
or misunderstood
.
Each intent should account for a variety of possible user utterances to ensure comprehensive recognition. For example:
"yes" intent: Accept variations like "yeah," "yep," and "yes."
"no" intent: Accept responses such as "no" and "nope."