Successfully setting up RASA 2.X on Windows 10

Prerequisites

  1. We will use Anaconda for python distribution management. You can follow the official documentation here to install it in your system.
  2. Download and install Microsoft Visual C++ from the link here.

Installation and Setup

  • Open the Anaconda command prompt.
  • Create a folder for the RASA project and cd into it.
  • Create a new Python environment that will be used for RASA installation.

Installation of Rasa Open Source using pip (requires Python 3.7, or 3.8).

  • Activate the newly created environment rasaEnv
  • Any packages you install now will be only applied to rasaEnv.
  • Let’s install all the dependencies. Both conda and pip can be used to install packages however, not all packages are available in conda.

The command above will upgrade your pip to the latest version. We recommend using pip 21.3 or later due to performance improvements. Previous versions would take long time to resolve dependencies.

  • Optional: You can install rasa X, a new addition to the stack that helps you test your application from browser
  • Initialize the RASA project
  • select all default values and you are all set!

Bonus

  • Training and generating models
  • If you have defined custom actions in actions.py, start the action server with the below command
  • Uncomment the below line in endpoints.yml to enable RASA HTTP endpoints for REST communication with your RASA server.
  • Running RASA shell for testing
  • Running RASA x
  • Running RASA server

A complete list of CLI commands can be found here!

Happy Learning

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store