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

# NLU

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

# Core

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

# Conversation Design

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

# API Reference

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

# Migrate from (beta)

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

# Reference

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

# Versions

viewing: 1.9.7

# Agent

Class `rasa.core.agent.Agent`

The Agent class provides a convenient interface for the most important Rasa functionality.

This includes training, handling messages, loading a dialogue model, getting the next action, and handling a channel.

### Methods
- `create_processor(preprocessor=None)`  
- `execute_action(sender_id, action, output_channel, policy, confidence)`  
- `handle_channels(channels, http_port=5005, route='/webhooks/', cors=None)`  
- `handle_message(message, message_preprocessor=None, **kwargs)`  
- `handle_text(text_message, message_preprocessor=None, output_channel=None, sender_id='default')`  
- `is_core_ready()`  
- `is_ready()`  
- `load(model_path, interpreter=None, generator=None, tracker_store=None, lock_store=None, action_endpoint=None, model_server=None, remote_storage=None, path_to_model_archive=None)`  
- `load_data(training_resource, remove_duplicates=True, unique_last_num_states=None, augmentation_factor=50, tracker_limit=None, use_story_concatenation=True, debug_plots=False, exclusion_percentage=None)`  
- `log_message(message, message_preprocessor=None, **kwargs)`  
- `parse_message_using_nlu_interpreter(message_data, tracker=None)`  
- `persist(model_path)`  
- `predict_next(sender_id, **kwargs)`  
- `toggle_memoization(activate)`  
- `train(training_trackers, **kwargs)`  
- `trigger_intent(intent_name, entities, output_channel, tracker)`
