RocketChat / rasa-kick-starter

Rocket.Chat connector kick starter for Rasa.AI
8 stars 16 forks source link

test with rasa 2.0 #5

Open cmdares opened 3 years ago

cmdares commented 3 years ago

Rasa 2.0 has been released.it should be test.

adocampo commented 3 years ago

It doesn't work with the current documentation

root@chat:/opt/RC.bots/rasa-kick-starter# docker run -it -v $(pwd)/bot_rasa:/app rasa/rasa train
Failed to write global config. Error: [Errno 13] Permission denied: '/.config'. Skipping.
Failed to write global config. Error: [Errno 13] Permission denied: '/.config'. Skipping.
Failed to write global config. Error: [Errno 13] Permission denied: '/.config'. Skipping.
Failed to write global config. Error: [Errno 13] Permission denied: '/.config'. Skipping.
Failed to write global config. Error: [Errno 13] Permission denied: '/.config'. Skipping.
Failed to write global config. Error: [Errno 13] Permission denied: '/.config'. Skipping.
Failed to write global config. Error: [Errno 13] Permission denied: '/.config'. Skipping.
Failed to write global config. Error: [Errno 13] Permission denied: '/.config'. Skipping.
Failed to write global config. Error: [Errno 13] Permission denied: '/.config'. Skipping.
Failed to write global config. Error: [Errno 13] Permission denied: '/.config'. Skipping.
Failed to write global config. Error: [Errno 13] Permission denied: '/.config'. Skipping.
Failed to write global config. Error: [Errno 13] Permission denied: '/.config'. Skipping.
Failed to write global config. Error: [Errno 13] Permission denied: '/.config'. Skipping.
Failed to write global config. Error: [Errno 13] Permission denied: '/.config'. Skipping.
Matplotlib created a temporary config/cache directory at /tmp/matplotlib-u8hl8rzn because the default path (/.config/matplotlib) is not a writable directory; it is highly recommended to set the MPLCONFIGDIR environment variable to a writable directory, in particular to speed up the import of Matplotlib and to better support multiprocessing.
2020-10-20 16:09:02 INFO     rasa.shared.utils.validation  - The 'version' key is missing in the training data file /app/domain.yml. Rasa Open Source will read the file as a version '2.0' file. See https://rasa.com/docs/rasa/training-data-format.
/opt/venv/lib/python3.7/site-packages/rasa/shared/utils/io.py:89: UserWarning: Action 'utter_greet' is listed as a response action in the domain file, but there is no matching response defined. Please check your domain.
  More info at https://rasa.com/docs/rasa/responses
/opt/venv/lib/python3.7/site-packages/rasa/shared/utils/io.py:89: UserWarning: Action 'utter_cheer_up' is listed as a response action in the domain file, but there is no matching response defined. Please check your domain.
  More info at https://rasa.com/docs/rasa/responses
/opt/venv/lib/python3.7/site-packages/rasa/shared/utils/io.py:89: UserWarning: Action 'utter_did_that_help' is listed as a response action in the domain file, but there is no matching response defined. Please check your domain.
  More info at https://rasa.com/docs/rasa/responses
/opt/venv/lib/python3.7/site-packages/rasa/shared/utils/io.py:89: UserWarning: Action 'utter_happy' is listed as a response action in the domain file, but there is no matching response defined. Please check your domain.
  More info at https://rasa.com/docs/rasa/responses
/opt/venv/lib/python3.7/site-packages/rasa/shared/utils/io.py:89: UserWarning: Action 'utter_goodbye' is listed as a response action in the domain file, but there is no matching response defined. Please check your domain.
  More info at https://rasa.com/docs/rasa/responses
2020-10-20 16:09:02 WARNING  rasa.utils.common  - Failed to write global config. Error: [Errno 13] Permission denied: '/.config'. Skipping.
Training NLU model...
RasaException: You are using a pipeline template. All pipelines templates have been removed in 2.0. Please add the components you want to use directly to your configuration file. https://rasa.com/docs/rasa/migration-guide
cmdares commented 3 years ago

It is necessary to suggest the official upgrade of rasa2.0 and update relevant documents.

infroger commented 2 years ago

The "permission denied" in .config for me was due to the permissions of bot_rasa directory in the host not matching the ID (1001) of the rasa user inside the container. After changing Owner ID of directory bot_rasa in the host to 1001, the permission denied error for .config disappeared.