Rasa chat bot -- JUICERO please open files in Read_Me folder
demo vedio on youtube: link
start/stop your application with docker:
docker compose down -v
properly shut-down if it was running before.docker compose up --build
. Start application , it may take a some time and space.
Your application will be available at http://localhost:8000 .docker compose down -v
to properly shut-down
- install python 3.7.4
- setup cmds for windows.
-python -m venv myenv
--Install virtual env.
-myenv/scripts/activate
---Activate virtual env.
-pip install --upgrade pip==19.3 setuptools wheel
--Make sure this is done successfully.
-pip install -r requirements.txt
or below cmd -pip install rasa==2.5.1 rasa-sdk==2.5.0 mysql-connector-python==8.0.25
--To install project dependecies. - in ./endpoints.yml and ./actions/actions.py replace 'host.docker.internal' by 'localhost'. make sure you have a mysql db running and apply to it the cmds in ./myrasabot-dump.sql .
follow to save .sql dump file as UTF 8 if mysql server throws similar error link rasa train
-- model will be saved in ./models directory- in terminal 1:
rasa run actions --debug
- in terminal 2:
rasa run -m models --enable-api --cors '*' --debug
- for front end [ use chrome and zoom at 80% for best view ]
either
-simply open ./my_rasa_bot_front_end/index.html via any browser
-orpython -m http.server 8000 --directory ./my_rasa_bot_front_end
and open localhost:8000 in chrome at 80% zoom. - when done exit virtual evn cmd =
deactivate
in windows