Install Rasa Core to get started with the Rasa stack.
You can also get started without installing anything by using this colab notebook.
Install Rasa Core¶
The recommended way to install Rasa Core is using pip:
pip install rasa_core
If you alredy have rasa_core installed and want to update it run:
pip install -U rasa_core
Unless you’ve already got numpy & scipy installed, we highly recommend that you install and use Anaconda.
If you want to use the bleeding edge version of Rasa use github + setup.py:
git clone https://github.com/RasaHQ/rasa_core.git cd rasa_core pip install -r requirements.txt pip install -e .
If you want to change the Rasa Core code and want to run the tests or build the documentation, you need to install the development dependencies:
pip install -r dev-requirements.txt pip install -e .
Add Natural Language Understanding¶
We use Rasa NLU for intent classification & entity extraction. To get it, run
pip install rasa_nlu[spacy]
Also make sure to install a language model for the language you need, e.g.
python -m spacy download en_core_web_md python -m spacy link en_core_web_md en
Full instructions can be found here.
You can also use other NLU services like wit.ai, dialogflow, or LUIS. In fact, you don’t need to use NLU at all, if your messaging app uses buttons rather than free text.