How to Install Rasa NLU on Windows 11

What is Rasa?

Rasa NLU is a natural language understanding framework for building interactive chatbots. The special thing about Rasa is that it lets you define actions that should be taken based on user input, effectively letting you make your own voice assistants.

Installation

To start off, Rasa has an installation guide on their website but it didn’t work very well for me, hence me making this guide. However, if you’d like to view Rasa’s online installation guide, I’ll link it here. If you’d like to view the video installation guide, which this tutorial will be based on, I’ll link that here.

Step 1: Install TensorFlow redistributable

First off, since Rasa is based off of TensorFlow, you’ll need to have the TensorFlow C++ Redistributable installed on your machine. Just go to this link and download the version that is compatible with you’re CPU architecture.

If you’re not sure what your architecture is, follow this link for some help

Step 2: Install Anaconda

This step isn’t technically required, but for the purposes of this tutorial we’re gonna be using the Anaconda interpreter. If you’d like to see how to complete this process without having to do that, the aforementioned Rasa tutorial is the place to go.

Step 3: Creating a Virtual Environment

Creating a virtual environment is also not required, however it is very useful. Rasa is a big package and requires a lot of external dependencies. Initializing a Rasa project in your local computer could cause conflicting versions of dependencies to be downloaded and cause obscure errors. However, if you’d like to install Rasa directly on your machine, go ahead and skip this step.

I called my [env_name] demo

Step 4: Installing Rasa

Now that you are in your virtual environment, we can finally install Rasa’s python package. First we need to make sure that we’re using the latest version of Pip by running this command.

You’re all done!

After completing all of those steps, you should be able to make new chatbots and cool assistants using Rasa. If you want more guidance on how to actually get started after installation, check out Rasa’s YouTube playlist on using Rasa Open Source 3.x for some in-depth tutorials.

--

--

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
Aidan Tilgner

Aidan Tilgner

50 Followers

Software Developer working my way through the world and sharing what I learn with all of you. Personal Site — www.aidantilgner.dev