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

- [Docs for the new version 2.0 can be found here.](/content/docs/rasa/index.html)

## User Guide

- [Installation](https://legacy-docs-v1.rasa.com/1.10.17/user-guide/installation/)
- [Tutorial: Rasa Basics](https://legacy-docs-v1.rasa.com/1.10.17/user-guide/rasa-tutorial/)
- [Tutorial: Building Assistants](https://legacy-docs-v1.rasa.com/1.10.17/user-guide/building-assistants/)
- [Command Line Interface](https://legacy-docs-v1.rasa.com/1.10.17/user-guide/command-line-interface/#)
- [Architecture](https://legacy-docs-v1.rasa.com/1.10.17/user-guide/architecture/)
- [Messaging and Voice Channels](https://legacy-docs-v1.rasa.com/1.10.17/user-guide/messaging-and-voice-channels/)
- [Testing Your Assistant](https://legacy-docs-v1.rasa.com/1.10.17/user-guide/testing-your-assistant/)
- [Setting up CI/CD](https://legacy-docs-v1.rasa.com/1.10.17/user-guide/setting-up-ci-cd/)
- [Validate Data](https://legacy-docs-v1.rasa.com/1.10.17/user-guide/validate-files/)
- [Configuring the HTTP API](https://legacy-docs-v1.rasa.com/1.10.17/user-guide/configuring-http-api/)
- [Deploying Your Rasa Assistant](https://legacy-docs-v1.rasa.com/1.10.17/user-guide/how-to-deploy/)
- [Cloud Storage](https://legacy-docs-v1.rasa.com/1.10.17/user-guide/cloud-storage/)

## NLU

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

## Core

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

## Conversation Design

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

## API Reference

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

## Migrate from (beta)

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

## Reference

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

---

## Versions

viewing: 1.10.17

## Command Line Interface

The command line interface (CLI) gives you easy-to-remember commands for common tasks.

| Command | Effect |
| --- | --- |
| `rasa init` | Creates a new project with example training data, actions, and config files. |
| `rasa train` | Trains a model using your NLU data and stories, saves trained model in `./models`. |
| `rasa interactive` | Starts an interactive learning session to create new training data by chatting. |
| `rasa shell` | Loads your trained model and lets you talk to your assistant on the command line. |
| `rasa run` | Starts a Rasa server with your trained model. See the [Configuring the HTTP API](https://legacy-docs-v1.rasa.com/1.10.17/user-guide/configuring-http-api/#configuring-http-api) docs for details. |
| `rasa run actions` | Starts an action server using the Rasa SDK. |
| `rasa visualize` | Visualizes stories. |
| `rasa test` | Tests a trained Rasa model using your test NLU data and stories. |
| `rasa data split nlu` | Performs a split of your NLU data according to the specified percentages. |
| `rasa data convert nlu` | Converts NLU training data between different formats. |
| `rasa export` | Export conversations from a tracker store to an event broker. |
| `rasa x` | Launch Rasa X locally. |
| `rasa -h` | Shows all available commands. |

## Create a new project

A single command sets up a complete project for you with some example training data.

```
rasa init
```

This creates the following files:

```
.
├── __init__.py
├── actions.py
├── config.yml
├── credentials.yml
├── data
│   ├── nlu.md
│   └── stories.md
├── domain.yml
├── endpoints.yml
└── models
    └── <timestamp>.tar.gz
```

The `rasa init` command will ask you if you want to train an initial model using this data. If you answer no, the `models` directory will be empty.

## Train a Model

The main command is:

```
rasa train
```

This command trains a Rasa model that combines a Rasa NLU and a Rasa Core model. If you only want to train an NLU or a Core model, you can run `rasa train nlu` or `rasa train core`. However, Rasa will automatically skip training Core or NLU if the training data and config haven’t changed.

`rasa train` will store the trained model in the directory defined by `--out`. The name of the model is per default `<timestamp>.tar.gz`. If you want to name your model differently, you can specify the name using `--fixed-model-name`.
