These docs are for version 1.x of Rasa Open Source.

## User Guide

- [Installation](https://legacy-docs-v1.rasa.com/1.8.1/user-guide/installation/)
- [Tutorial: Rasa Basics](https://legacy-docs-v1.rasa.com/1.8.1/user-guide/rasa-tutorial/)
- [Tutorial: Building Assistants](https://legacy-docs-v1.rasa.com/1.8.1/user-guide/building-assistants/)
- [Command Line Interface](https://legacy-docs-v1.rasa.com/1.8.1/user-guide/command-line-interface/)
- [Architecture](https://legacy-docs-v1.rasa.com/1.8.1/user-guide/architecture/)
- [Messaging and Voice Channels](https://legacy-docs-v1.rasa.com/1.8.1/user-guide/messaging-and-voice-channels/)
- [Evaluating Models](https://legacy-docs-v1.rasa.com/1.8.1/user-guide/evaluating-models/)
- [Validate Data](https://legacy-docs-v1.rasa.com/1.8.1/user-guide/validate-files/)
- [Configuring the HTTP API](https://legacy-docs-v1.rasa.com/1.8.1/user-guide/configuring-http-api/)
- [Deploying your Rasa Assistant](https://legacy-docs-v1.rasa.com/1.8.1/user-guide/how-to-deploy/)
- [Cloud Storage](https://legacy-docs-v1.rasa.com/1.8.1/user-guide/cloud-storage/)

## NLU

- [About](https://legacy-docs-v1.rasa.com/1.8.1/nlu/about/)
- [Using NLU Only](https://legacy-docs-v1.rasa.com/1.8.1/nlu/using-nlu-only/)
- [Training Data Format](https://legacy-docs-v1.rasa.com/1.8.1/nlu/training-data-format/)
- [Choosing a Pipeline](https://legacy-docs-v1.rasa.com/1.8.1/nlu/choosing-a-pipeline/)
- [Language Support](https://legacy-docs-v1.rasa.com/1.8.1/nlu/language-support/)
- [Entity Extraction](https://legacy-docs-v1.rasa.com/1.8.1/nlu/entity-extraction/)
- [Components](https://legacy-docs-v1.rasa.com/1.8.1/nlu/components/)

## Core

- [About](https://legacy-docs-v1.rasa.com/1.8.1/core/about/)
- [Stories](https://legacy-docs-v1.rasa.com/1.8.1/core/stories/#)
- [Domains](https://legacy-docs-v1.rasa.com/1.8.1/core/domains/)
- [Responses](https://legacy-docs-v1.rasa.com/1.8.1/core/responses/)
- [Actions](https://legacy-docs-v1.rasa.com/1.8.1/core/actions/)
- [Reminders and External Events](https://legacy-docs-v1.rasa.com/1.8.1/core/reminders-and-external-events/)
- [Policies](https://legacy-docs-v1.rasa.com/1.8.1/core/policies/)
- [Slots](https://legacy-docs-v1.rasa.com/1.8.1/core/slots/)
- [Forms](https://legacy-docs-v1.rasa.com/1.8.1/core/forms/)
- [Retrieval Actions](https://legacy-docs-v1.rasa.com/1.8.1/core/retrieval-actions/)
- [Interactive Learning](https://legacy-docs-v1.rasa.com/1.8.1/core/interactive-learning/)
- [Fallback Actions](https://legacy-docs-v1.rasa.com/1.8.1/core/fallback-actions/)
- [Knowledge Base Actions](https://legacy-docs-v1.rasa.com/1.8.1/core/knowledge-bases/)

## Conversation Design

- [Dialogue Elements](https://legacy-docs-v1.rasa.com/1.8.1/dialogue-elements/dialogue-elements/)
- [Small Talk](https://legacy-docs-v1.rasa.com/1.8.1/dialogue-elements/small-talk/)
- [Completing Tasks](https://legacy-docs-v1.rasa.com/1.8.1/dialogue-elements/completing-tasks/)
- [Guiding Users](https://legacy-docs-v1.rasa.com/1.8.1/dialogue-elements/guiding-users/)

## API Reference

- [Action Server](https://legacy-docs-v1.rasa.com/1.8.1/api/action-server/)
- [HTTP API](https://legacy-docs-v1.rasa.com/1.8.1/api/http-api/)
- [Jupyter Notebooks](https://legacy-docs-v1.rasa.com/1.8.1/api/jupyter-notebooks/)
- [Agent](https://legacy-docs-v1.rasa.com/1.8.1/api/agent/)
- [Custom NLU Components](https://legacy-docs-v1.rasa.com/1.8.1/api/custom-nlu-components/)
- [Rasa SDK](https://legacy-docs-v1.rasa.com/1.8.1/api/rasa-sdk/)
- [Events](https://legacy-docs-v1.rasa.com/1.8.1/api/events/)
- [Tracker](https://legacy-docs-v1.rasa.com/1.8.1/api/tracker/)
- [Tracker Stores](https://legacy-docs-v1.rasa.com/1.8.1/api/tracker-stores/)
- [Event Brokers](https://legacy-docs-v1.rasa.com/1.8.1/api/event-brokers/)
- [Lock Stores](https://legacy-docs-v1.rasa.com/1.8.1/api/lock-stores/)
- [Training Data Importers](https://legacy-docs-v1.rasa.com/1.8.1/api/training-data-importers/)
- [Featurization of Conversations](https://legacy-docs-v1.rasa.com/1.8.1/api/core-featurization/)
- [TensorFlow Configuration](https://legacy-docs-v1.rasa.com/1.8.1/api/tensorflow_usage/)
- [Migration Guide](https://legacy-docs-v1.rasa.com/1.8.1/migration-guide/)
- [Rasa Open Source Change Log](https://legacy-docs-v1.rasa.com/1.8.1/changelog/)

## Migrate from (beta)

- [Dialogflow](https://legacy-docs-v1.rasa.com/1.8.1/migrate-from/google-dialogflow-to-rasa/)
- [Wit.ai](https://legacy-docs-v1.rasa.com/1.8.1/migrate-from/facebook-wit-ai-to-rasa/)
- [LUIS](https://legacy-docs-v1.rasa.com/1.8.1/migrate-from/microsoft-luis-to-rasa/)
- [IBM Watson](https://legacy-docs-v1.rasa.com/1.8.1/migrate-from/ibm-watson-to-rasa/)

## Reference

- [Glossary](https://legacy-docs-v1.rasa.com/1.8.1/glossary/)

## Stories

Rasa stories are a form of training data used to train the Rasa’s dialogue management models.

A story is a representation of a conversation between a user and an AI assistant, converted into a specific format where user inputs are expressed as corresponding intents (and entities where necessary) while the responses of an assistant are expressed as corresponding action names.

A training example for the Rasa Core dialogue system is called a **story**. This is a guide to the story data format.

Note

You can also **spread your stories across multiple files** and specify the folder containing the files for most of the scripts (e.g. training, visualization). The stories will be treated as if they would have been part of one large file.

### Format

Here’s an example of a dialogue in the Rasa story format:

```plaintext
## greet + location/price + cuisine + num people    <!-- name of the story - just for debugging -->
* greet
   - action_ask_howcanhelp
* inform{"location": "rome", "price": "cheap"}  <!-- user utterance, in format intent{entities} -->
   - action_on_it
   - action_ask_cuisine
* inform{"cuisine": "spanish"}
   - action_ask_numpeople        <!-- action that the bot should execute -->
* inform{"people": "six"}
   - action_ack_dosearch
```

### What makes up a story?

- A story starts with a name preceded by two hashes `## story_03248462`.
- The end of a story is denoted by a newline, and then a new story starts again with `##`.
- Messages sent by the user are shown as lines starting with `*` in the format `intent{"entity1": "value", "entity2": "value"}`.
- Actions executed by the bot are shown as lines starting with `-` and contain the name of the action.
- Events returned by an action are on lines immediately after that action.

### User Messages

While writing stories, you do not have to deal with the specific contents of the messages that the users send. Instead, you can take advantage of the output from the NLU pipeline, which lets you use just the combination of an intent and entities to refer to all the possible messages the users can send to mean the same thing.

### Actions

While writing stories, you will encounter two types of actions: utterance actions and custom actions. Utterance actions are hardcoded messages that a bot can respond with. Custom actions, on the other hand, involve custom code being executed.

### Events

Events such as setting a slot or activating/deactivating a form have to be explicitly written out as part of the stories. Having to include the events returned by a custom action separately, when that custom action is already part of a story may seem redundant. However, this step is necessary.

### Checkpoints and OR statements

Checkpoints and OR statements should both be used with caution, if at all. There is usually a better way to achieve what you want by using forms and/or retrieval actions.
