Use conversation patterns for smarter AI assistants
You can’t predict everything a user will say—and with conversation patterns, you don’t have to. Conversation patterns make your assistant more flexible and effective by:- Keeping conversations on track: Handle unexpected inputs seamlessly, leading to more successful outcomes and a better user experience.
- Simplifying design and development: Helps the team focus on crafting great user journeys and business logic instead of accounting for every possible detour.
How Conversation Patterns work
Here’s an overview of the different types of conversation patterns:Conversation Patterns in Action
Here is an example of a conversation pattern in each category listed above:- Correction (repair pattern): Update and correct previously stored conversational information.
- Cancellation (navigation pattern): Allows a user to stop a task in the middle of one topic or task.
- Start a conversation (navigation pattern): Conversations can be initiated by either your assistant or the user.
- Search (external support pattern): Enables your assistant to query data from your knowledge base with Rasa’s enterprise search feature and provide helpful answers.
- Repeat (voice pattern): Enables your assistant to repeat a previous message.
- Errors (system pattern): Invalid responses or technical issues might require apologies or alternative actions. In these scenarios, you might need to re-ask questions, confirm intent, or escalate to a human agent.
Customizing Conversation Patterns
Rasa provides a default structure for each pattern, but you are free to customize them to fit your use case. Since patterns are system flows, you can edit them like any other flow in Rasa Pro or Rasa Studio. We recommend keeping the contextual response rephraser enabled for pattern flows as it helps your assistant sound more natural, especially when repairing dynamic interactions.Learn more about Patterns
- Read the complete pattern reference documentation
- Use Rasa Studio to edit conversation patterns