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

## User Guide

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

## NLU

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

## Core

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

## Conversation Design

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

## API Reference

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

## Migration from (beta)

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

## Reference

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

## Versions

viewing: 1.10.1

# Policies

- [Configuring Policies](https://legacy-docs-v1.rasa.com/1.10.1/core/policies/#configuring-policies)
    - [Max History](https://legacy-docs-v1.rasa.com/1.10.1/core/policies/#max-history)
    - [Data Augmentation](https://legacy-docs-v1.rasa.com/1.10.1/core/policies/#data-augmentation)
- [Action Selection](https://legacy-docs-v1.rasa.com/1.10.1/core/policies/#action-selection)
- [Keras Policy](https://legacy-docs-v1.rasa.com/1.10.1/core/policies/#keras-policy)
- [Embedding Policy](https://legacy-docs-v1.rasa.com/1.10.1/core/policies/#embedding-policy)
- [TED Policy](https://legacy-docs-v1.rasa.com/1.10.1/core/policies/#ted-policy)
- [Mapping Policy](https://legacy-docs-v1.rasa.com/1.10.1/core/policies/#mapping-policy)
- [Memoization Policy](https://legacy-docs-v1.rasa.com/1.10.1/core/policies/#memoization-policy)
- [Augmented Memoization Policy](https://legacy-docs-v1.rasa.com/1.10.1/core/policies/#augmented-memoization-policy)
- [Fallback Policy](https://legacy-docs-v1.rasa.com/1.10.1/core/policies/#fallback-policy)
- [Two-Stage Fallback Policy](https://legacy-docs-v1.rasa.com/1.10.1/core/policies/#two-stage-fallback-policy)
- [Form Policy](https://legacy-docs-v1.rasa.com/1.10.1/core/policies/#form-policy)

## 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.1/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.

### 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. For more information about how each policy makes its decision, read into the policy’s description below.

### Keras Policy

The `KerasPolicy` uses a neural network implemented in [Keras](http://keras.io/) to select the next action.

### Embedding Policy

> Warning
> `EmbeddingPolicy` was renamed to `TEDPolicy`. Please use [TED Policy](https://legacy-docs-v1.rasa.com/1.10.1/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).

### 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](https://legacy-docs-v1.rasa.com/1.10.1/core/fallback-actions/#fallback-actions) if at least one of the following occurs:

1. The intent recognition has a confidence below `nlu_threshold`.
2. The highest ranked intent differs in confidence with the second highest ranked intent by less than `ambiguity_threshold`.
3. None of the dialogue policies predict an action with confidence higher than `core_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. Once a `FormAction` is called, the `FormPolicy` will continually predict the `FormAction` until all required slots in the form are filled.
