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

## User Guide

- [Installation](https://legacy-docs-v1.rasa.com/1.2.9/user-guide/installation/)
- [Rasa Tutorial](https://legacy-docs-v1.rasa.com/1.2.9/user-guide/rasa-tutorial/)
- [Command Line Interface](https://legacy-docs-v1.rasa.com/1.2.9/user-guide/command-line-interface/)
- [Architecture](https://legacy-docs-v1.rasa.com/1.2.9/user-guide/architecture/)
- [Messaging and Voice Channels](https://legacy-docs-v1.rasa.com/1.2.9/user-guide/messaging-and-voice-channels/)
- [Evaluating Models](https://legacy-docs-v1.rasa.com/1.2.9/user-guide/evaluating-models/)
- [Validate Data](https://legacy-docs-v1.rasa.com/1.2.9/user-guide/validate-files/)
- [Running the Server](https://legacy-docs-v1.rasa.com/1.2.9/user-guide/running-the-server/)
- [Running Rasa with Docker](https://legacy-docs-v1.rasa.com/1.2.9/user-guide/running-rasa-with-docker/)
- [Cloud Storage](https://legacy-docs-v1.rasa.com/1.2.9/user-guide/cloud-storage/)

## NLU

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

## Core

- [About](https://legacy-docs-v1.rasa.com/1.2.9/core/about/)
- [Stories](https://legacy-docs-v1.rasa.com/1.2.9/core/stories/)
- [Domains](https://legacy-docs-v1.rasa.com/1.2.9/core/domains/)
- [Responses](https://legacy-docs-v1.rasa.com/1.2.9/core/responses/)
- [Actions](https://legacy-docs-v1.rasa.com/1.2.9/core/actions/)
- [Policies](https://legacy-docs-v1.rasa.com/1.2.9/core/policies/)
- [Slots](https://legacy-docs-v1.rasa.com/1.2.9/core/slots/)
- [Forms](https://legacy-docs-v1.rasa.com/1.2.9/core/forms/)
- [Interactive Learning](https://legacy-docs-v1.rasa.com/1.2.9/core/interactive-learning/)
- [Fallback Actions](https://legacy-docs-v1.rasa.com/1.2.9/core/fallback-actions/)

## Conversation Design

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

## API Reference

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

## Migrate from (beta)

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

## Reference

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

## Versions

viewing: 1.2.9

**Warning:** This document is for an old version of Rasa. The latest version is 1.10.26.

# Training Data Format

## Data Formats

You can provide training data as Markdown or as JSON, as a single file or as a directory containing multiple files. Note that Markdown is usually easier to work with.

### Markdown Format

Markdown is the easiest Rasa NLU format for humans to read and write. Examples are listed using the unordered list syntax.

```
## intent:check_balance
- what is my balance <!-- no entity -->
- how much do I have on my [savings](source_account) <!-- entity "source_account" has value "savings" -->
```

The training data for Rasa NLU is structured into different parts:

- common examples
- synonyms
- regex features and
- lookup tables

### JSON Format

The JSON format consists of a top-level object called `rasa_nlu_data`, with the keys `common_examples`, `entity_synonyms` and `regex_features`.

```
{
    "rasa_nlu_data": {
        "common_examples": [],
        "regex_features" : [],
        "lookup_tables"  : [],
        "entity_synonyms": []
    }
}
```

### Improving Intent Classification and Entity Recognition

Common examples have three components: `text`, `intent`, and `entities`. The first two are strings while the last one is an array.
