python -m venv env # create virtual environment
# venv\Scripts\activate
source .env/bin/activate # activate environment
pip install -r requirements.txt # install package
rasa train # Trains a Rasa model using your NLU data and stories.
rasa interactive # Starts an interactive learning session to create new training data for a Rasa model by chatting.
rasa run # Starts a Rasa server with your trained model.
rasa shell # Loads your trained model and lets you talk to your assistant on the command line
On Debian you need the build-essential package:
sudo apt install build-essential
sudo apt install libpq-dev
I)installing rasa
conda deactivate conda create -n rasaenv conda activate rasaenv pip install rasa rasa init (install in current directory)
II)to communicate with rasa in cmd
rasa shell
II)running rasa end points: (rasaenv) E:\Automation\Bots\PersonalBot\Rasa>rasa run --cors "*" --enable-api
(rasaenv) E:\Automation\Bots\PersonalBot\Rasa>rasa run actions rasa run -m models --enable-api --cors "*" --debug uvicorn main:app --host 0.0.0.0 --port 5001