> ## Documentation Index
> Fetch the complete documentation index at: https://rasa.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Conversation Patterns

> Learn more about how to use the conversation lifecycle to ensure seamless conversations.

Real conversations are rarely linear—users switch topics, correct themselves, and ask follow-up questions.
**Conversation patterns** are reusable system flows that are **provided by CALM** and enable your AI assistant to handle these non-linear interactions cooperatively,
and repair the conversation when customers don’t follow the path you expect them to.

## 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:**

| **Category** | **Conversation Patterns** |
| - | - |
| **Conversation Repair** | Correct mistakes and misunderstandings with **correction**, **clarification**, and **interruption** patterns. |
| **Conversation Navigation** | Navigate conversations helping users to **cancel** , **restart**, or **complete** a process. |
| **External Support** | Provide external support with **search**, **human handoff**, or **chitchat** patterns. |
| **Voice** | Prepare to **repeat** something and handle scenarios where the user remains **silent**. |
| **System Error** | Inform the user of unexpected system issues, like an **internal error** or **code change**. Activate **cannot handle** (fallback) pattern if no flow or relevant documents apply. |

## Conversation Patterns in Action

Here is an example of a conversation pattern in each category listed above:

1. **Correction (repair pattern)**: Update and correct previously stored conversational information.

Example showcasing corrections

Example showcasing corrections

2. **Cancellation (navigation pattern)**: Allows a user to stop a task in the middle of one topic or task.

Example showcasing error handling

Example showcasing error handling

3. **Start a conversation (navigation pattern)**: Conversations can be initiated by either your assistant or the user.

Example showcasing a simple assistant greeting

Example showcasing a simple assistant greeting

4. **Search (external support pattern)**:
   Enables your assistant to query data from your knowledge base with Rasa's enterprise search feature and provide helpful answers.

Example showcasing enterprise search

Example showcasing enterprise search

5. **Repeat (voice pattern)**:
   Enables your assistant to repeat a previous message.

Example showcasing a user asking the assistant to repeat the last message

Example showcasing a user asking the assistant to repeat the last message

6. **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.

Example showcasing error handling

Example showcasing error handling

## Customizing Conversation Patterns

Rasa provides a default structure for each pattern, but you are free to [customize](https://rasa.com/docs/pro/customize/patterns.md) 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](https://rasa.com/docs/reference/primitives/contextual-response-rephraser.md) 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](https://rasa.com/docs/reference/primitives/patterns.md)
* Use Rasa Studio to [edit conversation patterns](https://rasa.com/docs/studio/build/flow-building/system-flows.md)


## Related topics

- [Customizing Patterns](https://rasa.com/docs/pro/customize/patterns.md)
- [Assistant Tone](https://rasa.com/docs/pro/customize/assistant-tone.md)
- [Writing Flows](https://rasa.com/docs/pro/build/writing-flows.md)
- [Designing the Logic Behind Conversations](https://rasa.com/docs/learn/concepts/dialogue-management.md)
- [How to Edit System Flows](https://rasa.com/docs/studio/build/flow-building/system-flows.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.