- Python 3.8 - 3.10 (Rasa doesn't support Python 3.11+ yet)
pip install -r requirements.txtollama pull llama2
export OLLAMA_URL="http://localhost:11434" # Default URLrasa trainYou need to run two processes:
rasa run actionsrasa shellFor REST API:
rasa run --enable-api --cors "*"-
Use 2 terminals :
-
In the first terminal : change the envirment to run python <= 3.10 as follows
conda activate env_name cd 'to the same directory as the project' rasa run actions
-
In the second terminal (optional if you want to interact with chat directly from terminal)
conda activate env_name cd 'to the same directory as the project' rasa train rasa shell