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

## User Guide

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

## NLU

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

## Core

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

## Conversation Design

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

## API Reference

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

## Migrate from (beta)

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

## Reference

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

## Versions

viewing: 1.7.0

## 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. |
| `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 x` | Launch Rasa X locally. |
| `rasa -h` | Shows all available commands. |

## To Create a new project

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

```bash
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.

## Training 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`.

## Interactive Learning

To start an interactive learning session with your assistant, run

```
rasa interactive
```

If you provide a trained model using the `--model` argument, the interactive learning process is started with the provided model. If no model is specified, `rasa interactive` will train a new Rasa model with the data located in `data/` if no other directory was passed to the `--data` flag.

## Talk to your Assistant

To start a chat session with your assistant on the command line, run:

```
rasa shell
```

## Start a Server

To start a server running your Rasa model, run:

```
rasa run
```

## Start an Action Server

To run your action server run

```
rasa run actions
```

## Visualize your Stories

To open a browser tab with a graph showing your stories:

```
rasa visualize
```

## Evaluate a Model on Test Data

To evaluate your model on test data, run:

```
rasa test
```

## Create a Train-Test Split

To create a split of your NLU data, run:

```
rasa data split nlu
```

## Convert Data Between Markdown and JSON

To convert NLU data from LUIS data format, WIT data format, Dialogflow data format, JSON, or Markdown to JSON or Markdown, run:

```
rasa data convert nlu
```

## Start Rasa X

Rasa X is a toolset that helps you leverage conversations to improve your assistant.
You can start Rasa X locally by executing

```
rasa x
```
