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

## User Guide

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

## NLU

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

## Core

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

## Conversation Design

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

## API Reference

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

## Migrate from (beta)

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

## Reference

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

## Versions

viewing: 1.10.0

## Policies

### Configuring Policies

The `rasa.core.policies.Policy` class decides which action to take at every step in the conversation. There are different policies to choose from, and you can include multiple policies in a single [`rasa.core.agent.Agent`](https://legacy-docs-v1.rasa.com/1.10.0/api/agent/#rasa.core.agent.Agent).

#### Max History
One important hyperparameter for Rasa Core policies is the `max_history`. This controls how much dialogue history the model looks at to decide which action to take next. You can set the `max_history` by passing it to your policy’s `Featurizer` in the policy configuration yaml file.

#### Data Augmentation
When you train a model, by default Rasa Core will create longer stories by randomly gluing together the ones in your stories files.

### Action Selection
At every turn, each policy defined in your configuration will predict a next action with a certain confidence level. The bot’s next action is then decided by the policy that predicts with the highest confidence.

### Keras Policy
The `KerasPolicy` uses a neural network implemented in Keras to select the next action. The default architecture is based on an LSTM.

### Embedding Policy
> Warning
> `EmbeddingPolicy` was renamed to `TEDPolicy`. Please use [TED Policy](https://legacy-docs-v1.rasa.com/1.10.0/core/policies/#ted-policy) instead of `EmbeddingPolicy` in your policy configuration. The functionality of the policy stayed the same.

### TED Policy
The Transformer Embedding Dialogue (TED) Policy is described in [our paper](https://arxiv.org/abs/1910.00486). This policy has a pre-defined architecture.

### Mapping Policy
The `MappingPolicy` can be used to directly map intents to actions.

### Memoization Policy
The `MemoizationPolicy` just memorizes the conversations in your training data.

### Augmented Memoization Policy
The `AugmentedMemoizationPolicy` remembers examples from training stories for up to `max_history` turns.

### Fallback Policy
The `FallbackPolicy` invokes a fallback action if at least one of the following occurs: The intent recognition has a confidence below `nlu_threshold`.

### Two-Stage Fallback Policy
The `TwoStageFallbackPolicy` handles low NLU confidence in multiple stages by trying to disambiguate the user input.

### Form Policy
The `FormPolicy` is an extension of the `MemoizationPolicy` which handles the filling of forms.
