This guide will walk you through the steps to set up the projects.ai chatbot on your local machine using Rasa.
- Ensure you have Python version 3.8.0 installed. If not, you can download it from the official Python website.
- Install Python version 3.8.0.
# Download and install from https://www.python.org/downloads/release/python-380/- Create a new virtual environment.
python -m venv venv_rasa- Activate the virtual environment. For Windows:
.\venv_rasa\Scripts\activateFor Linux/Mac:
source venv_rasa/bin/activate- Install Rasa.
pip install rasa- Train the chatbot model.
rasa train- Test the trained model.
rasa shell- To run the website:
rasa run --enable-api --cors "*"- To run the actions:
rasa run actionsFor a deeper dive and more configurations, refer to the official Rasa documentation: https://rasa.com/docs/rasa/.