I started to migrate my bots to Rasa 2.x. but some work and other don’t. Here is one bot which fails
docker run docker run -it --rm --user 1003 -v $(pwd):/app rasa/rasa:2.2.0-full shell --debug
Matplotlib created a temporary config/cache directory at /tmp/matplotlib-ulw98hkw 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.
2021-05-18 14:48:29.283720: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'libcudart.so.10.1'; dlerror: libcudart.so.10.1: cannot open shared object file: No such file or directory
2021-05-18 14:48:29.283776: I tensorflow/stream_executor/cuda/cudart_stub.cc:29] Ignore above cudart dlerror if you do not have a GPU set up on your machine.
2021-05-18 14:48:31 DEBUG rasa.telemetry - Could not read telemetry settings from configuration file: Configuration 'metrics' key not found.
2021-05-18 14:48:31 WARNING rasa.utils.common - Failed to write global config. Error: [Errno 13] Permission denied: '/.config'. Skipping.
2021-05-18 14:48:31 INFO rasa.model - Loading model models/20210518-133211.tar.gz...
2021-05-18 14:48:31 DEBUG rasa.model - Extracted model to '/tmp/tmpyskiaua2'.
2021-05-18 14:48:31 DEBUG rasa.cli.utils - Parameter 'endpoints' not set. Using default location 'endpoints.yml' instead.
2021-05-18 14:48:31 DEBUG rasa.cli.utils - Parameter 'credentials' not set. Using default location 'credentials.yml' instead.
2021-05-18 14:48:31 INFO rasa.model - Loading model models/20210518-133211.tar.gz...
2021-05-18 14:48:31 DEBUG rasa.model - Extracted model to '/tmp/tmpptg2qszu'.
2021-05-18 14:48:31 INFO root - Connecting to channel 'cmdline' which was specified by the '--connector' argument. Any other channels will be ignored. To connect to all given channels, omit the '--connector' argument.
2021-05-18 14:48:31 DEBUG sanic.root - CORS: Configuring CORS with resources: {'/*': {'origins': [''], 'methods': 'DELETE, GET, HEAD, OPTIONS, PATCH, POST, PUT', 'allow_headers': ['.*'], 'expose_headers': 'filename', 'supports_credentials': True, 'max_age': None, 'send_wildcard': False, 'automatic_options': True, 'vary_header': True, 'resources': {'/*': {'origins': ''}}, 'intercept_exceptions': True, 'always_send': True}}
2021-05-18 14:48:31 DEBUG rasa.core.utils - Available web server routes:
/webhooks/rest GET custom_webhook_CmdlineInput.health
/webhooks/rest/webhook POST custom_webhook_CmdlineInput.receive
/ GET hello
2021-05-18 14:48:31 INFO root - Starting Rasa server on http://localhost:5005
2021-05-18 14:48:31 DEBUG rasa.core.utils - Using the default number of Sanic workers (1).
2021-05-18 14:48:31 INFO root - Enabling coroutine debugging. Loop id 94532465281424.
2021-05-18 14:48:31 INFO rasa.model - Loading model models/20210518-133211.tar.gz...
2021-05-18 14:48:32 DEBUG rasa.model - Extracted model to '/tmp/tmplqn5490b'.
2021-05-18 14:48:32 DEBUG rasa.utils.tensorflow.models - Loading the model from /tmp/tmplqn5490b/nlu/component_5_DIETClassifier.tf_model with finetune_mode=False...
2021-05-18 14:48:32.406953: W tensorflow/stream_executor/platform/default/dso_loader.cc:59] Could not load dynamic library 'libcuda.so.1'; dlerror: libcuda.so.1: cannot open shared object file: No such file or directory
2021-05-18 14:48:32.407001: W tensorflow/stream_executor/cuda/cuda_driver.cc:312] failed call to cuInit: UNKNOWN ERROR (303)
2021-05-18 14:48:32.407045: I tensorflow/stream_executor/cuda/cuda_diagnostics.cc:156] kernel driver does not appear to be running on this host (5544504fd417): /proc/driver/nvidia/version does not exist
2021-05-18 14:48:32.407377: I tensorflow/core/platform/cpu_feature_guard.cc:142] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN)to use the following CPU instructions in performance-critical operations: AVX2 AVX512F FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2021-05-18 14:48:32.415560: I tensorflow/core/platform/profile_utils/cpu_utils.cc:104] CPU Frequency: 2095175000 Hz
2021-05-18 14:48:32.416615: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x55fa0dd43a60 initialized for platform Host (this does not guarantee that XLA will be used). Devices:
2021-05-18 14:48:32.416660: I tensorflow/compiler/xla/service/service.cc:176] StreamExecutor device (0): Host, Default Version
2021-05-18 14:48:32 DEBUG rasa.nlu.classifiers.diet_classifier - Following metrics will be logged during training:
2021-05-18 14:48:32 DEBUG rasa.nlu.classifiers.diet_classifier - t_loss (total loss)
2021-05-18 14:48:32 DEBUG rasa.nlu.classifiers.diet_classifier - i_acc (intent acc)
2021-05-18 14:48:32 DEBUG rasa.nlu.classifiers.diet_classifier - i_loss (intent loss)
2021-05-18 14:48:33 DEBUG rasa.utils.tensorflow.models - Finished loading the model.
2021-05-18 14:48:33 DEBUG rasa.utils.tensorflow.models - Building tensorflow prediction graph...
2021-05-18 14:48:37 DEBUG rasa.utils.tensorflow.models - Finished building tensorflow prediction graph.
2021-05-18 14:48:37 DEBUG rasa.nlu.classifiers.diet_classifier - Failed to load model for 'ResponseSelector'. Maybe you did not provide enough training data and no model was trained or the path '/tmp/tmplqn5490b/nlu' doesn't exist?
2021-05-18 14:48:37 DEBUG rasa.core.tracker_store - Connected to InMemoryTrackerStore.
2021-05-18 14:48:37 DEBUG rasa.core.lock_store - Connected to lock store 'InMemoryLockStore'.
2021-05-18 14:48:37 DEBUG rasa.model - Extracted model to '/tmp/tmpww1jjmj3'.
2021-05-18 14:48:37 DEBUG rasa.utils.tensorflow.models - Loading the model from /tmp/tmpww1jjmj3/core/policy_1_TEDPolicy/ted_policy.tf_model with finetune_mode=False...
2021-05-18 14:48:38 DEBUG rasa.utils.tensorflow.models - Finished loading the model.
2021-05-18 14:48:38 DEBUG rasa.utils.tensorflow.models - Building tensorflow prediction graph...
2021-05-18 14:48:41 DEBUG rasa.utils.tensorflow.models - Finished building tensorflow prediction graph.
2021-05-18 14:48:41 DEBUG rasa.core.nlg.generator - Instantiated NLG to 'TemplatedNaturalLanguageGenerator'.
2021-05-18 14:48:41 INFO root - Rasa server is up and running.
Bot loaded. Type a message and press enter (use '/stop' to exit):
Your input -> aloita
2021-05-18 14:48:47 DEBUG rasa.core.lock_store - Issuing ticket for conversation '801f0af77b1741f0aa363181e8901da2'.
2021-05-18 14:48:47 DEBUG rasa.core.lock_store - Acquiring lock for conversation '801f0af77b1741f0aa363181e8901da2'.
2021-05-18 14:48:47 DEBUG rasa.core.lock_store - Acquired lock for conversation '801f0af77b1741f0aa363181e8901da2'.
2021-05-18 14:48:47 DEBUG rasa.core.tracker_store - Could not find tracker for conversation ID '801f0af77b1741f0aa363181e8901da2'.
2021-05-18 14:48:47 DEBUG rasa.core.processor - Starting a new session for conversation ID '801f0af77b1741f0aa363181e8901da2'.
2021-05-18 14:48:47 DEBUG rasa.core.processor - Policy prediction ended with events '[]'.
2021-05-18 14:48:47 DEBUG rasa.core.processor - Action 'action_session_start' ended with events '[<rasa.shared.core.events.SessionStarted object at 0x7f4814af6810>, ActionExecuted(action: action_listen, policy: None, confidence: None)]'.
2021-05-18 14:48:47 DEBUG rasa.nlu.classifiers.diet_classifier - There is no trained model for 'ResponseSelector': The component is either not trained or didn't receive enough training data.
2021-05-18 14:48:47 DEBUG rasa.nlu.selectors.response_selector - Adding following selector key to message property: default
2021-05-18 14:48:47 DEBUG rasa.core.processor - Received user message 'aloita' with intent '{'id': 1183446679815257438, 'name': 'aloita', 'confidence': 0.9562854766845703}' and entities '[]'
2021-05-18 14:48:47 DEBUG rasa.core.processor - Logged UserUtterance - tracker now has 4 events.
2021-05-18 14:48:47 DEBUG rasa.core.policies.memoization - Current tracker state:
[state 1] user intent: aloita | previous action name: action_listen
2021-05-18 14:48:47 DEBUG rasa.core.policies.memoization - There is a memorised next action 'utter_ask_kysymys01'
2021-05-18 14:48:47 DEBUG rasa.core.policies.rule_policy - Current tracker state:
[state 1] user text: aloita | previous action name: action_listen
2021-05-18 14:48:47 DEBUG rasa.core.policies.rule_policy - There is no applicable rule.
2021-05-18 14:48:47 DEBUG rasa.core.policies.rule_policy - Current tracker state:
[state 1] user intent: aloita | previous action name: action_listen
2021-05-18 14:48:47 DEBUG rasa.core.policies.rule_policy - There is no applicable rule.
2021-05-18 14:48:47 DEBUG rasa.core.policies.ensemble - Made prediction using user intent.
2021-05-18 14:48:47 DEBUG rasa.core.policies.ensemble - Added `DefinePrevUserUtteredFeaturization(False)` event.
2021-05-18 14:48:47 DEBUG rasa.core.policies.ensemble - Predicted next action using policy_0_MemoizationPolicy.
2021-05-18 14:48:47 DEBUG rasa.core.processor - Predicted next action 'utter_ask_kysymys01' with confidence 1.00.
2021-05-18 14:48:47 DEBUG rasa.core.processor - Policy prediction ended with events '[<rasa.shared.core.events.DefinePrevUserUtteredFeaturization object at 0x7f4814a7d510>]'.
2021-05-18 14:48:47 DEBUG rasa.core.processor - Action 'utter_ask_kysymys01' ended with events '[BotUttered('Question 1/20 The water pump raises 50 liters of water per minute. How long does it take to fill a 10,000 liter tank?', {"elements": null, "quick_replies": null, "buttons": [{"title": "20 min", "payload": "/vaara_vastaus01"}, {"title": "2 h", "payload": "/vaara_vastaus01"}, {"title": "3 h 20 min", "payload": "/oikea_vastaus01"}], "attachment": null, "image": null, "custom": null}, {"template_name": "utter_ask_kysymys01"}, 1621349327.2876856)]'.
2021-05-18 14:48:47 DEBUG rasa.core.policies.memoization - Current tracker state:
[state 1] user intent: aloita | previous action name: action_listen
[state 2] user intent: aloita | previous action name: utter_ask_kysymys01
2021-05-18 14:48:47 DEBUG rasa.core.policies.memoization - There is a memorised next action 'action_listen'
2021-05-18 14:48:47 DEBUG rasa.core.policies.rule_policy - Current tracker state:
[state 1] user intent: aloita | previous action name: action_listen
[state 2] user intent: aloita | previous action name: utter_ask_kysymys01
2021-05-18 14:48:47 DEBUG rasa.core.policies.rule_policy - There is no applicable rule.
2021-05-18 14:48:47 DEBUG rasa.core.policies.ensemble - Predicted next action using policy_0_MemoizationPolicy.
2021-05-18 14:48:47 DEBUG rasa.core.processor - Predicted next action 'action_listen' with confidence 1.00.
2021-05-18 14:48:47 DEBUG rasa.core.processor - Policy prediction ended with events '[]'.
2021-05-18 14:48:47 DEBUG rasa.core.processor - Action 'action_listen' ended with events '[]'.
2021-05-18 14:48:47 DEBUG rasa.core.lock_store - Deleted lock for conversation '801f0af77b1741f0aa363181e8901da2'.
? Question 1/20 The water pump raises 50 liters of water per minute. How long does it take to fill a 10,000 liter tank? 3: 3 h 20 min (/oikea_vastaus01)
2021-05-18 14:48:53 DEBUG rasa.core.lock_store - Issuing ticket for conversation '801f0af77b1741f0aa363181e8901da2'.
2021-05-18 14:48:53 DEBUG rasa.core.lock_store - Acquiring lock for conversation '801f0af77b1741f0aa363181e8901da2'.
2021-05-18 14:48:53 DEBUG rasa.core.lock_store - Acquired lock for conversation '801f0af77b1741f0aa363181e8901da2'.
2021-05-18 14:48:53 DEBUG rasa.core.tracker_store - Recreating tracker for id '801f0af77b1741f0aa363181e8901da2'
2021-05-18 14:48:53 DEBUG rasa.core.processor - Received user message '/oikea_vastaus01' with intent '{'name': 'oikea_vastaus01', 'confidence': 1.0}' and entities '[]'
2021-05-18 14:48:53 DEBUG rasa.core.processor - Logged UserUtterance - tracker now has 9 events.
2021-05-18 14:48:53 DEBUG rasa.core.policies.memoization - Current tracker state:
[state 1] user intent: aloita | previous action name: action_listen
[state 2] user intent: aloita | previous action name: utter_ask_kysymys01
[state 3] user intent: oikea_vastaus01 | previous action name: action_listen
2021-05-18 14:48:53 DEBUG rasa.core.policies.memoization - There is a memorised next action 'utter_oikea_vastaus01'
2021-05-18 14:48:53 DEBUG rasa.core.policies.rule_policy - Current tracker state:
[state 1] user intent: aloita | previous action name: action_listen
[state 2] user intent: aloita | previous action name: utter_ask_kysymys01
[state 3] user text: /oikea_vastaus01 | previous action name: action_listen
2021-05-18 14:48:53 DEBUG rasa.core.policies.rule_policy - There is no applicable rule.
2021-05-18 14:48:53 DEBUG rasa.core.policies.rule_policy - Current tracker state:
[state 1] user intent: aloita | previous action name: action_listen
[state 2] user intent: aloita | previous action name: utter_ask_kysymys01
[state 3] user intent: oikea_vastaus01 | previous action name: action_listen
2021-05-18 14:48:53 DEBUG rasa.core.policies.rule_policy - There is no applicable rule.
2021-05-18 14:48:53 DEBUG rasa.core.policies.ensemble - Made prediction using user intent.
2021-05-18 14:48:53 DEBUG rasa.core.policies.ensemble - Added `DefinePrevUserUtteredFeaturization(False)` event.
2021-05-18 14:48:53 DEBUG rasa.core.policies.ensemble - Predicted next action using policy_0_MemoizationPolicy.
2021-05-18 14:48:53 DEBUG rasa.core.processor - Predicted next action 'utter_oikea_vastaus01' with confidence 1.00.
2021-05-18 14:48:53 DEBUG rasa.core.processor - Policy prediction ended with events '[<rasa.shared.core.events.DefinePrevUserUtteredFeaturization object at 0x7f481427be90>]'.
2021-05-18 14:48:53 DEBUG rasa.core.processor - Action 'utter_oikea_vastaus01' ended with events '[BotUttered('Answer is right', {"elements": null, "quick_replies": null, "buttons": null, "attachment": null, "image": null, "custom": null}, {"template_name": "utter_oikea_vastaus01"}, 1621349333.6558952)]'.
2021-05-18 14:48:53 DEBUG rasa.core.policies.memoization - Current tracker state:
[state 1] user intent: aloita | previous action name: action_listen
[state 2] user intent: aloita | previous action name: utter_ask_kysymys01
[state 3] user intent: oikea_vastaus01 | previous action name: action_listen
[state 4] user intent: oikea_vastaus01 | previous action name: utter_oikea_vastaus01
2021-05-18 14:48:53 DEBUG rasa.core.policies.memoization - There is a memorised next action 'utter_ask_kysymys02'
2021-05-18 14:48:53 DEBUG rasa.core.policies.rule_policy - Current tracker state:
[state 1] user intent: aloita | previous action name: action_listen
[state 2] user intent: aloita | previous action name: utter_ask_kysymys01
[state 3] user intent: oikea_vastaus01 | previous action name: action_listen
[state 4] user intent: oikea_vastaus01 | previous action name: utter_oikea_vastaus01
2021-05-18 14:48:53 DEBUG rasa.core.policies.rule_policy - There is no applicable rule.
2021-05-18 14:48:53 DEBUG rasa.core.policies.ensemble - Predicted next action using policy_0_MemoizationPolicy.
2021-05-18 14:48:53 DEBUG rasa.core.processor - Predicted next action 'utter_ask_kysymys02' with confidence 1.00.
2021-05-18 14:48:53 DEBUG rasa.core.processor - Policy prediction ended with events '[]'.
2021-05-18 14:48:53 DEBUG rasa.core.processor - Action 'utter_ask_kysymys02' ended with events '[BotUttered('Question 2/20 Which of the following numbers is different from the others?', {"elements": null, "quick_replies": null, "buttons": [{"title": "0,285", "payload": "/vaara_vastaus02"}, {"title": "285/100", "payload": "/oikea_vastaus02"}, {"title": "28,5%", "payload": "/vaara_vastaus02"}], "attachment": null, "image": null, "custom": null}, {"template_name": "utter_ask_kysymys02"}, 1621349333.6664736)]'.
2021-05-18 14:48:53 DEBUG rasa.core.policies.memoization - Current tracker state:
[state 0] user intent: aloita | previous action name: action_listen
[state 1] user intent: aloita | previous action name: utter_ask_kysymys01
[state 2] user intent: oikea_vastaus01 | previous action name: action_listen
[state 3] user intent: oikea_vastaus01 | previous action name: utter_oikea_vastaus01
[state 4] user intent: oikea_vastaus01 | previous action name: utter_ask_kysymys02
2021-05-18 14:48:53 DEBUG rasa.core.policies.memoization - There is a memorised next action 'action_listen'
2021-05-18 14:48:53 DEBUG rasa.core.policies.rule_policy - Current tracker state:
[state 1] user intent: aloita | previous action name: action_listen
[state 2] user intent: aloita | previous action name: utter_ask_kysymys01
[state 3] user intent: oikea_vastaus01 | previous action name: action_listen
[state 4] user intent: oikea_vastaus01 | previous action name: utter_oikea_vastaus01
[state 5] user intent: oikea_vastaus01 | previous action name: utter_ask_kysymys02
2021-05-18 14:48:53 DEBUG rasa.core.policies.rule_policy - There is no applicable rule.
2021-05-18 14:48:53 DEBUG rasa.core.policies.ensemble - Predicted next action using policy_0_MemoizationPolicy.
2021-05-18 14:48:53 DEBUG rasa.core.processor - Predicted next action 'action_listen' with confidence 1.00.
2021-05-18 14:48:53 DEBUG rasa.core.processor - Policy prediction ended with events '[]'.
2021-05-18 14:48:53 DEBUG rasa.core.processor - Action 'action_listen' ended with events '[]'.
2021-05-18 14:48:53 DEBUG rasa.core.lock_store - Deleted lock for conversation '801f0af77b1741f0aa363181e8901da2'.
Answer is right
? Question 2/20 Which of the following numbers is different from the others? 2: 285/100 (/oikea_vastaus02)
2021-05-18 14:48:55 DEBUG rasa.core.lock_store - Issuing ticket for conversation '801f0af77b1741f0aa363181e8901da2'.
2021-05-18 14:48:55 DEBUG rasa.core.lock_store - Acquiring lock for conversation '801f0af77b1741f0aa363181e8901da2'.
2021-05-18 14:48:55 DEBUG rasa.core.lock_store - Acquired lock for conversation '801f0af77b1741f0aa363181e8901da2'.
2021-05-18 14:48:55 DEBUG rasa.core.tracker_store - Recreating tracker for id '801f0af77b1741f0aa363181e8901da2'
2021-05-18 14:48:55 DEBUG rasa.core.processor - Received user message '/oikea_vastaus02' with intent '{'name': 'oikea_vastaus02', 'confidence': 1.0}' and entities '[]'
2021-05-18 14:48:55 DEBUG rasa.core.processor - Logged UserUtterance - tracker now has 16 events.
2021-05-18 14:48:55 DEBUG rasa.core.policies.memoization - Current tracker state:
[state 0] user intent: aloita | previous action name: utter_ask_kysymys01
[state 1] user intent: oikea_vastaus01 | previous action name: action_listen
[state 2] user intent: oikea_vastaus01 | previous action name: utter_oikea_vastaus01
[state 3] user intent: oikea_vastaus01 | previous action name: utter_ask_kysymys02
[state 4] user intent: oikea_vastaus02 | previous action name: action_listen
2021-05-18 14:48:55 DEBUG rasa.core.policies.memoization - There is no memorised next action
2021-05-18 14:48:55 DEBUG rasa.core.policies.rule_policy - Current tracker state:
[state 1] user intent: aloita | previous action name: action_listen
[state 2] user intent: aloita | previous action name: utter_ask_kysymys01
[state 3] user intent: oikea_vastaus01 | previous action name: action_listen
[state 4] user intent: oikea_vastaus01 | previous action name: utter_oikea_vastaus01
[state 5] user intent: oikea_vastaus01 | previous action name: utter_ask_kysymys02
[state 6] user text: /oikea_vastaus02 | previous action name: action_listen
2021-05-18 14:48:55 DEBUG rasa.core.policies.rule_policy - There is no applicable rule.
2021-05-18 14:48:55 DEBUG rasa.core.policies.rule_policy - Current tracker state:
[state 1] user intent: aloita | previous action name: action_listen
[state 2] user intent: aloita | previous action name: utter_ask_kysymys01
[state 3] user intent: oikea_vastaus01 | previous action name: action_listen
[state 4] user intent: oikea_vastaus01 | previous action name: utter_oikea_vastaus01
[state 5] user intent: oikea_vastaus01 | previous action name: utter_ask_kysymys02
[state 6] user intent: oikea_vastaus02 | previous action name: action_listen
2021-05-18 14:48:55 DEBUG rasa.core.policies.rule_policy - There is no applicable rule.
2021-05-18 14:48:55 DEBUG rasa.core.policies.ensemble - Made prediction using user intent.
2021-05-18 14:48:55 DEBUG rasa.core.policies.ensemble - Added `DefinePrevUserUtteredFeaturization(False)` event.
2021-05-18 14:48:55 DEBUG rasa.core.policies.ensemble - Predicted next action using policy_2_RulePolicy.
2021-05-18 14:48:55 DEBUG rasa.core.processor - Predicted next action 'action_default_fallback' with confidence 0.30.
2021-05-18 14:48:55 DEBUG rasa.core.processor - Policy prediction ended with events '[<rasa.shared.core.events.DefinePrevUserUtteredFeaturization object at 0x7f4814118f10>]'.
2021-05-18 14:48:55 DEBUG rasa.core.processor - Action 'action_default_fallback' ended with events '[<rasa.shared.core.events.UserUtteranceReverted object at 0x7f4814d44050>]'.
2021-05-18 14:48:55 DEBUG rasa.core.policies.memoization - Current tracker state:
[state 0] user intent: aloita | previous action name: action_listen
[state 1] user intent: aloita | previous action name: utter_ask_kysymys01
[state 2] user intent: oikea_vastaus01 | previous action name: action_listen
[state 3] user intent: oikea_vastaus01 | previous action name: utter_oikea_vastaus01
[state 4] user intent: oikea_vastaus01 | previous action name: utter_ask_kysymys02
2021-05-18 14:48:55 DEBUG rasa.core.policies.memoization - There is a memorised next action 'action_listen'
2021-05-18 14:48:55 DEBUG rasa.core.policies.rule_policy - Current tracker state:
[state 1] user intent: aloita | previous action name: action_listen
[state 2] user intent: aloita | previous action name: utter_ask_kysymys01
[state 3] user intent: oikea_vastaus01 | previous action name: action_listen
[state 4] user intent: oikea_vastaus01 | previous action name: utter_oikea_vastaus01
[state 5] user intent: oikea_vastaus01 | previous action name: utter_ask_kysymys02
2021-05-18 14:48:55 DEBUG rasa.core.policies.rule_policy - There is no applicable rule.
2021-05-18 14:48:55 DEBUG rasa.core.policies.ensemble - Predicted next action using policy_0_MemoizationPolicy.
2021-05-18 14:48:55 DEBUG rasa.core.processor - Predicted next action 'action_listen' with confidence 1.00.
2021-05-18 14:48:55 DEBUG rasa.core.processor - Policy prediction ended with events '[]'.
2021-05-18 14:48:55 DEBUG rasa.core.processor - Action 'action_listen' ended with events '[]'.
2021-05-18 14:48:55 DEBUG rasa.core.lock_store - Deleted lock for conversation '801f0af77b1741f0aa363181e8901da2'.
Your input ->
NLU
version: "2.0"
nlu:
- intent: juu_vastaus
examples: |
- kyllä osaan
- osaan hyvin
- osaan kaikki
- osaan kaikki hyvin
- intent: ei_vastaus
examples: |
- en osaa
- en osaa ollenkaan
- en osaa mitään
- ei, en osaa mitään
- intent: aloita
examples: |
- aloitetaan
- aloitetaan vain
- aloitus
- aloitetaan nyt
- intent: vaara_vastaus01
examples: |
- vaara_vastaus01
- vaara vastaus01
- vaara vastaus 01
- intent: vaara_vastaus02
examples: |
- vaara_vastaus02
- vaara vastaus02
- vaara vastaus 02
- intent: vaara_vastaus03
examples: |
- vaara_vastaus03
- vaara vastaus03
- vaara vastaus 03
- intent: vaara_vastaus04
examples: |
- vaara_vastaus04
- vaara vastaus04
- vaara vastaus 04
- intent: vaara_vastaus05
examples: |
- vaara_vastaus05
- vaara vastaus05
- vaara vastaus 05
- intent: vaara_vastaus06
examples: |
- vaara_vastaus06
- vaara vastaus06
- vaara vastaus 06
- intent: vaara_vastaus07
examples: |
- vaara_vastaus07
- vaara vastaus07
- vaara vastaus 07
- intent: vaara_vastaus08
examples: |
- vaara_vastaus08
- vaara vastaus08
- vaara vastaus 08
- intent: vaara_vastaus09
examples: |
- vaara_vastaus09
- vaara vastaus09
- vaara vastaus 09
- intent: vaara_vastaus10
examples: |
- vaara_vastaus10
- vaara vastaus10
- vaara vastaus 10
- intent: oikea_vastaus11
examples: |
- vaara_vastaus11
- vaara vastaus11
- vaara vastaus 11
- intent: oikea_vastaus12
examples: |
- vaara_vastaus12
- vaara vastaus12
- vaara vastaus 12
- intent: vaara_vastaus13
examples: |
- vaara_vastaus13
- vaara vastaus13
- vaara vastaus 13
- intent: vaara_vastaus14
examples: |
- vaara_vastaus14
- vaara vastaus14
- vaara vastaus 14
- intent: vaara_vastaus15
examples: |
- vaara_vastaus15
- vaara vastaus15
- vaara vastaus 15
- intent: vaara_vastaus16
examples: |
- vaara_vastaus16
- vaara vastaus16
- vaara vastaus 16
- intent: vaara_vastaus17
examples: |
- vaara_vastaus17
- vaara vastaus17
- vaara vastaus 17
- intent: vaara_vastaus18
examples: |
- vaara_vastaus18
- vaara vastaus18
- vaara vastaus 18
- intent: vaara_vastaus19
examples: |
- vaara_vastaus19
- vaara vastaus19
- vaara vastaus 19
- intent: vaara_vastaus20
examples: |
- vaara_vastaus20
- vaara vastaus20
- vaara vastaus 20
- intent: oikea_vastaus01
examples: |
- oikea_vastaus01
- oikea vastaus01
- oikea vastaus 01
- intent: oikea_vastaus02
examples: |
- oikea_vastaus02
- oikea vastaus02
- oikea vastaus 02
- intent: oikea_vastaus03
examples: |
- oikea_vastaus03
- oikea vastaus03
- oikea vastaus 03
- intent: oikea_vastaus04
examples: |
- oikea_vastaus04
- oikea vastaus04
- oikea vastaus 04
- intent: oikea_vastaus05
examples: |
- oikea_vastaus05
- oikea vastaus05
- oikea vastaus 05
- intent: oikea_vastaus06
examples: |
- oikea_vastaus06
- oikea vastaus06
- oikea vastaus 06
- intent: oikea_vastaus07
examples: |
- oikea_vastaus07
- oikea vastaus07
- oikea vastaus 07
- intent: oikea_vastaus08
examples: |
- oikea_vastaus08
- oikea vastaus08
- oikea vastaus 08
- intent: oikea_vastaus09
examples: |
- oikea_vastaus09
- oikea vastaus09
- oikea vastaus 09
- intent: oikea_vastaus10
examples: |
- oikea_vastaus10
- oikea vastaus10
- oikea vastaus 10
- intent: oikea_vastaus11
examples: |
- oikea_vastaus11
- oikea vastaus11
- oikea vastaus 11
- intent: oikea_vastaus12
examples: |
- oikea_vastaus12
- oikea vastaus12
- oikea vastaus 12
- intent: oikea_vastaus13
examples: |
- oikea_vastaus13
- oikea vastaus13
- oikea vastaus 13
- intent: oikea_vastaus14
examples: |
- oikea_vastaus14
- oikea vastaus14
- oikea vastaus 14
- intent: oikea_vastaus15
examples: |
- oikea_vastaus15
- oikea vastaus15
- oikea vastaus 15
- intent: oikea_vastaus16
examples: |
- oikea_vastaus16
- oikea vastaus16
- oikea vastaus 16
- intent: oikea_vastaus17
examples: |
- oikea_vastaus17
- oikea vastaus17
- oikea vastaus 17
- intent: oikea_vastaus18
examples: |
- oikea_vastaus18
- oikea vastaus18
- oikea vastaus 18
- intent: oikea_vastaus19
examples: |
- oikea_vastaus19
- oikea vastaus19
- oikea vastaus 19
- intent: oikea_vastaus20
examples: |
- oikea_vastaus20
- oikea vastaus20
- oikea vastaus 20
Stories
version: "2.0"
stories:
- story: kysely happy path
steps:
- intent: aloita
- action: utter_ask_kysymys01
- intent: oikea_vastaus01
- action: utter_oikea_vastaus01
- action: utter_ask_kysymys02
- intent: vaara_vastaus01
- action: utter_vaara_vastaus01
- action: utter_ask_kysymys02
- intent: oikea_vastaus02
- action: utter_oikea_vastaus02
- action: utter_ask_kysymys03
- intent: vaara_vastaus02
- action: utter_vaara_vastaus02
- action: utter_ask_kysymys03
- intent: oikea_vastaus03
- action: utter_oikea_vastaus03
- action: utter_ask_kysymys04
- intent: vaara_vastaus03
- action: utter_vaara_vastaus03
- action: utter_ask_kysymys04
- intent: oikea_vastaus04
- action: utter_oikea_vastaus04
- action: utter_ask_kysymys05
- intent: vaara_vastaus04
- action: utter_vaara_vastaus04
- action: utter_ask_kysymys05
- intent: oikea_vastaus05
- action: utter_oikea_vastaus05
- action: utter_ask_kysymys06
- intent: vaara_vastaus05
- action: utter_vaara_vastaus05
- action: utter_ask_kysymys06
- intent: oikea_vastaus06
- action: utter_oikea_vastaus06
- action: utter_ask_kysymys07
- intent: vaara_vastaus06
- action: utter_vaara_vastaus06
- action: utter_ask_kysymys07
- intent: oikea_vastaus07
- action: utter_oikea_vastaus07
- action: utter_ask_kysymys08
- intent: vaara_vastaus07
- action: utter_vaara_vastaus07
- action: utter_ask_kysymys08
- intent: oikea_vastaus08
- action: utter_oikea_vastaus08
- action: utter_ask_kysymys09
- intent: vaara_vastaus08
- action: utter_vaara_vastaus08
- action: utter_ask_kysymys09
- intent: oikea_vastaus09
- action: utter_oikea_vastaus09
- action: utter_ask_kysymys10
- intent: vaara_vastaus09
- action: utter_vaara_vastaus09
- action: utter_ask_kysymys10
- intent: oikea_vastaus10
- action: utter_oikea_vastaus10
- action: utter_ask_kysymys11
- intent: vaara_vastaus10
- action: utter_vaara_vastaus10
- action: utter_ask_kysymys11
- intent: oikea_vastaus11
- action: utter_oikea_vastaus11
- action: utter_ask_kysymys12
- intent: vaara_vastaus11
- action: utter_vaara_vastaus11
- action: utter_ask_kysymys12
- intent: oikea_vastaus12
- action: utter_oikea_vastaus12
- action: utter_ask_kysymys13
- intent: vaara_vastaus12
- action: utter_vaara_vastaus12
- action: utter_ask_kysymys13
- intent: oikea_vastaus13
- action: utter_oikea_vastaus13
- action: utter_ask_kysymys14
- intent: vaara_vastaus13
- action: utter_vaara_vastaus13
- action: utter_ask_kysymys14
- intent: oikea_vastaus14
- action: utter_oikea_vastaus14
- action: utter_ask_kysymys15
- intent: vaara_vastaus14
- action: utter_vaara_vastaus14
- action: utter_ask_kysymys15
- intent: oikea_vastaus15
- action: utter_oikea_vastaus15
- action: utter_ask_kysymys16
- intent: vaara_vastaus15
- action: utter_vaara_vastaus15
- action: utter_ask_kysymys16
- intent: oikea_vastaus16
- action: utter_oikea_vastaus16
- action: utter_ask_kysymys17
- intent: vaara_vastaus16
- action: utter_vaara_vastaus16
- action: utter_ask_kysymys17
- intent: oikea_vastaus17
- action: utter_oikea_vastaus17
- action: utter_ask_kysymys18
- intent: vaara_vastaus17
- action: utter_vaara_vastaus17
- action: utter_ask_kysymys18
- intent: oikea_vastaus18
- action: utter_oikea_vastaus18
- action: utter_ask_kysymys19
- intent: vaara_vastaus18
- action: utter_vaara_vastaus18
- action: utter_ask_kysymys19
- intent: oikea_vastaus19
- action: utter_oikea_vastaus19
- action: utter_ask_kysymys20
- intent: vaara_vastaus19
- action: utter_vaara_vastaus19
- action: utter_ask_kysymys20
- intent: oikea_vastaus20
- action: utter_oikea_vastaus20
- intent: vaara_vastaus20
- action: utter_vaara_vastaus20
and domain
version: "2.0"
intents:
- oikea_vastaus01
- vaara_vastaus01
- oikea_vastaus02
- vaara_vastaus02
- oikea_vastaus03
- vaara_vastaus03
- oikea_vastaus04
- vaara_vastaus04
- oikea_vastaus05
- vaara_vastaus05
- oikea_vastaus06
- vaara_vastaus06
- oikea_vastaus07
- vaara_vastaus07
- oikea_vastaus08
- vaara_vastaus08
- oikea_vastaus09
- vaara_vastaus09
- oikea_vastaus10
- vaara_vastaus10
- oikea_vastaus11
- vaara_vastaus11
- oikea_vastaus12
- vaara_vastaus12
- oikea_vastaus13
- vaara_vastaus13
- oikea_vastaus14
- vaara_vastaus14
- oikea_vastaus15
- vaara_vastaus15
- oikea_vastaus16
- vaara_vastaus16
- oikea_vastaus17
- vaara_vastaus17
- oikea_vastaus18
- vaara_vastaus18
- oikea_vastaus19
- vaara_vastaus19
- oikea_vastaus20
- vaara_vastaus20
- aloita
responses:
utter_ask_kysymys01:
- text: "Question 1/20 The water pump raises 50 liters of water per minute. How long does it take to fill a 10,000 liter tank?"
buttons:
- title: "20 min"
payload: "/vaara_vastaus01"
- title: "2 h"
payload: "/vaara_vastaus01"
- title: "3 h 20 min"
payload: "/oikea_vastaus01"
utter_ask_kysymys02:
- text: "Question 2/20 Which of the following numbers is different from the others?"
buttons:
- title: "0,285"
payload: "/vaara_vastaus02"
- title: "285/100"
payload: "/oikea_vastaus02"
- title: "28,5%"
payload: "/vaara_vastaus02"
utter_ask_kysymys03:
- text: "Question 3/20 Which statements is true?"
buttons:
- title: "250 ml = 0,25 dl "
payload: "/vaara_vastaus03"
- title: "250 ml = 25 cl "
payload: "/oikea_vastaus03"
- title: "250 ml = 2,5 l"
payload: "/vaara_vastaus03"
utter_ask_kysymys04:
- text: "Question 4/20 The cyclist drives at a speed of 12 km/h from point A to point B. The pedestrian travels the same distance from A to B, walking at an average speed of 5.0 km/h. The distance between A and B is 3.0 kilometers. The walker leaves at exactly nine in the morning. What time does a cyclist have to leave to be there at the same time as a walker?"
buttons:
- title: "at 9.35 "
payload: "/vaara_vastaus04"
- title: "At the same time as the walker is halfway through the journey."
payload: "/vaara_vastaus04"
- title: "About 20 minutes later than the walker."
payload: "/oikea_vastaus04"
utter_ask_kysymys05:
- text: "Question 5/20 Solve x from the equation: 120/480 = 18/x"
buttons:
- title: "x = 4 1/2 "
payload: "/vaara_vastaus05"
- title: "x = 72 "
payload: "/oikea_vastaus05"
- title: "x = 1/72"
payload: "/vaara_vastaus05"
utter_ask_kysymys06:
- text: "Question 6/20 The concentration of the morphine solution is 20 mg/ml. The patient has been prescribed morphine 6 mg. How many milliliters of solution should be given?"
buttons:
- title: "0,3 ml "
payload: "/oikea_vastaus06"
- title: "0,33 ml "
payload: "/vaara_vastaus06"
- title: "3,33 ml "
payload: "/vaara_vastaus06"
utter_ask_kysymys07:
- text: "Question 7/20 Children may be given a medicine up to a maximum of 15 mg per kilogram body weight. Each tablet contains 50 mg of this medicine. How many tablets can a maximum of 11 kg be given to a child?"
buttons:
- title: "2 tablets "
payload: "/vaara_vastaus07"
- title: "3 tablets "
payload: "/oikea_vastaus07"
- title: "3 1/2 tablets "
payload: "/vaara_vastaus07"
utter_ask_kysymys08:
- text: "Question 8/20 In the hospital, a patient has been prescribed to drop 1,500 ml of saline evenly over 12 hours. The nurse sets the so-called infusion rate suitable for the infusion set. Which of the following speeds is appropriate for the situation?"
buttons:
- title: "125 ml/h"
payload: "/oikea_vastaus08"
- title: "180 ml/h "
payload: "/vaara_vastaus08"
- title: "250 ml/h "
payload: "/vaara_vastaus08"
utter_ask_kysymys09:
- text: "Question 9/20 The nurse dilutes the 10 mg / ml solution by taking 25 ml of that solution and 475 ml of sterile water for a total of 500 ml of the diluted solution. What is the strength of the diluted solution?"
buttons:
- title: "0,02 mg/ml "
payload: "/vaara_vastaus09"
- title: "0,05 mg/ml "
payload: "/vaara_vastaus09"
- title: "0,5 mg/ml "
payload: "/oikea_vastaus09"
utter_ask_kysymys10:
- text: "Question 10/20 Interpret the following statements based on the attached BMI chart. The chart is designed to monitor BMI in both men and women. Which statement is true from the chart?"
buttons:
- title: "kuva"
payload: "/vaara_vastaus10"
- title: "According to the chart, a 164 cm tall person is significantly obese if he or she weighs 77 kg."
payload: "/vaara_vastaus10"
- title: "According to the diagram, the normal weight of a 168 cm tall person is about 52–70 kg."
payload: "/oikea_vastaus10"
utter_ask_kysymys11:
- text: "Kysmys 11/20 The patient is taking 100 mg acetylsalicylic acid (aspirin) tablets. How many tablets do you take at a time when he needs to take 400 mg a day in two equal doses?"
buttons:
- title: " 2 tablets "
payload: "/oikea_vastaus11"
- title: " 4 tablets "
payload: "/vaara_vastaus11"
- title: " 8 tablets "
payload: "/vaara_vastaus11"
utter_ask_kysymys12:
- text: "Question 12/20 Your patient has 50 mg of antihypertensive medication at home. So far, the dosage has been 1 tablet in the morning. However, your doctor has changed the dose to 25 mg in the morning. How many tablets should a patient take in the morning for antihypertensive drugs?"
buttons:
- title: "2 tablets "
payload: "/vaara_vastaus12"
- title: "1 tablets "
payload: "/vaara_vastaus12"
- title: "1/2 tablets"
payload: "/oikea_vastaus12"
utter_ask_kysymys13:
- text: "Question 13/20 The patient has been prescribed paracetamol 1g three times a day for pain relief. However, the ward only has paracetamol tablets of 500 mg. How many tablets do you give to a patient at one time?"
buttons:
- title: "1 tablet"
payload: "/vaara_vastaus13"
- title: " 2 tablets"
payload: "/oikea_vastaus13"
- title: "6 tablets"
payload: "/vaara_vastaus13"
utter_ask_kysymys14:
- text: "Question 14/20 A pregnant patient has been prescribed insulin 20 IU in the morning for gestational diabetes. The patient does not have their own antidiabetic medicines. How much insulin do you give at a strength of 100 IU/ml?"
buttons:
- title: "5 ml "
payload: "/vaara_vastaus14"
- title: " 2000 ml "
payload: "/vaara_vastaus14"
- title: " 0,2 ml "
payload: "/oikea_vastaus14"
utter_ask_kysymys15:
- text: "Question 15/20 The patient has been prescribed an allergy medicine at a strength of 2 mg/tablet. The dose is one tablet every six hours to treat allergies. How long is a pack of 30 tablets?t"
buttons:
- title: "15 days"
payload: "/vaara_vastaus15"
- title: " 71/2 days "
payload: "/oikea_vastaus15"
- title: " 5 days "
payload: "/vaara_vastaus15"
utter_ask_kysymys16:
- text: "Question 16/20 Your surgical patient has been prescribed morphine 5 mg every six hours or less. How many milliliters of 20 mg/ml solution do you give at one time?"
buttons:
- title: " 0,25 ml "
payload: "/oikea_vastaus16"
- title: " 1 ml "
payload: "/vaara_vastaus16"
- title: " 4 ml "
payload: "/vaara_vastaus16"
utter_ask_kysymys17:
- text: "Question 17/20 The child receives salbutamol 0.4 mg/ml solution orally for asthma symptoms. He has been prescribed 2mg every six hours. How much solution do you give your child at one time?"
buttons:
- title: "0,2 ml"
payload: "/vaara_vastaus17"
- title: "2 ml"
payload: "/vaara_vastaus17"
- title: "5 ml "
payload: "/oikea_vastaus17"
utter_ask_kysymys18:
- text: "Question 18/20 The pediatric patient should be given a 0.2 mg / kg bronchodilator with a nebuliser. The child weighs 10 kg. How much do you need a nebuliser solution with a concentration of 5 mg / ml?"
buttons:
- title: "2 ml "
payload: "/vaara_vastaus18"
- title: "0,5 ml "
payload: "/vaara_vastaus18"
- title: " 0,4 ml "
payload: "/oikea_vastaus18"
utter_ask_kysymys19:
- text: "Question 19/20 A mental health patient receives 500µg (micrograms) of solution for injection three times a day to treat tension. How much do you give him a solution for injection of 2 mg / ml at a time? "
buttons:
- title: " 0,25 ml "
payload: "/oikea_vastaus19"
- title: " 0,75 ml "
payload: "/vaara_vastaus19"
- title: " 250 ml "
payload: "/vaara_vastaus19"
utter_ask_kysymys20:
- text: "Question 20/20 The client receives a penicillin 1,000,000 IU / ml solution to treat the inflammation. How much solution will you give him at a time when the dose is set at 50,000 IU / kg / day divided into two equal doses? The customer weighs 20 kg."
buttons:
- title: " 0,5 ml "
payload: "/oikea_vastaus20"
- title: " 1 ml "
payload: "/vaara_vastaus20"
- title: " 2 ml "
payload: "/vaara_vastaus20"
utter_oikea_vastaus01:
- text: "Answer is right"
utter_oikea_vastaus02:
- text: "Answer is right"
utter_oikea_vastaus03:
- text: "Answer is right"
utter_oikea_vastaus04:
- text: "Answer is right"
utter_oikea_vastaus05:
- text: "Answer is right"
utter_oikea_vastaus06:
- text: "Answer is right"
utter_oikea_vastaus07:
- text: "Answer is right"
utter_oikea_vastaus08:
- text: "Answer is right"
utter_oikea_vastaus09:
- text: "Answer is right"
utter_oikea_vastaus10:
- text: "Answer is right"
utter_oikea_vastaus11:
- text: "Answer is right"
utter_oikea_vastaus12:
- text: "Answer is right"
utter_oikea_vastaus13:
- text: "Answer is right"
utter_oikea_vastaus14:
- text: "Answer is right"
utter_oikea_vastaus15:
- text: "Answer is right"
utter_oikea_vastaus16:
- text: "Answer is right"
utter_oikea_vastaus17:
- text: "Answer is right"
utter_oikea_vastaus18:
- text: "Answer is right"
utter_oikea_vastaus19:
- text: "Answer is right"
utter_oikea_vastaus20:
- text: "Answer is right"
utter_vaara_vastaus01:
- text: "Answer is wrong"
utter_vaara_vastaus02:
- text: "Answer is wrong"
utter_vaara_vastaus03:
- text: "Answer is wrong"
utter_vaara_vastaus04:
- text: "Answer is wrong"
utter_vaara_vastaus05:
- text: "Answer is wrong"
utter_vaara_vastaus06:
- text: "Answer is wrong"
utter_vaara_vastaus07:
- text: "Answer is wrong"
utter_vaara_vastaus08:
- text: "Answer is wrong"
utter_vaara_vastaus09:
- text: "Answer is wrong"
utter_vaara_vastaus10:
- text: "Answer is wrong"
utter_vaara_vastaus11:
- text: "Answer is wrong"
utter_vaara_vastaus12:
- text: "Answer is wrong"
utter_vaara_vastaus13:
- text: "Answer is wrong"
utter_vaara_vastaus14:
- text: "Answer is wrong"
utter_vaara_vastaus15:
- text: "Answer is wrong"
utter_vaara_vastaus16:
- text: "Answer is wrong"
utter_vaara_vastaus17:
- text: "Answer is wrong"
utter_vaara_vastaus18:
- text: "Answer is wrong"
utter_vaara_vastaus19:
- text: "Answer is wrong"
utter_vaara_vastaus20:
- text: "Answer is wrong"
session_config:
session_expiration_time: 5
carry_over_slots_to_new_session: false