Rasa Chatbot in Fedora
Table of Contents
Rasa is an open source framework for building text- and voice-based applications.
I was introduced with Rasa last year when I was doing Industrial Internet of Things Intership of 2 weeks. Now I guess let’s play with it!
The main website leads to:
Documentation: https://rasa.com/docs/rasa/
Learing Rasa: https://learning.rasa.com/
Community: https://rasa.community/join/
- Where there is Community Showcase: https://rasa.community/showcase/
- Github repo: https://github.com/RasaHQ/rasa/
Rasa Pro
Found a great project using Rasa: https://github.com/sid321axn/rasa_ml_bot
Seems like the repo is huge! 900MB+
Setting up the env:
https://rasa.com/docs/rasa/installation/environment-set-up
$ python3 -m venv ./rasa-env
$ source ./rasa-env/bin/activate
Installing Rasa:
Updating pip:
$ pip3 install -U pip
$ pip3 install rasa
Error:
RuntimeError: Python version 2.7 or 3.4+ is required.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
Solution:
https://developer.fedoraproject.org/tech/languages/python/multiple-pythons.html
Installing lower version of Python.
https://linuxconfig.org/how-to-switch-between-python-versions-on-fedora-linux
Didn’t work!
Installing under conda didn’t work either.
- Restart the system
- Create new environment.
- Install python3.7
- Run the install for rasa
Telemetry reporting
When you run Rasa Open Source for the first time, you’ll see a message notifying you about anonymous usage data that is being collected. You can read more about how that data is pulled out and what it is used for in the telemetry documentation.
To disable:
$ rasa telemetry disable
Initialize the Rasa project
rasa init