I get the following error while running rasa interactive.
Details: I am using the new rasa 1.0.1 version with just the basic files in the project directory that are obtained with the rasa init command. while running the interactive training the training session terminates while displaying the following errors.Can anyone please kindly help me out !Thanks!
Processed Story Blocks: 100%|████████████████████████████████████████████████████████████████████████████████████████████████| 5/5 [00:00<00:00, 2528.21it/s, # trackers=1]
? Your input -> hey
? Your NLU model classified 'hey' with intent 'greet' and there are no entities, is this correct? Yes
WARNING: The TensorFlow contrib module will not be included in TensorFlow 2.0.
For more information, please see:
Chat History
Bot You
────────────────────────────────────────────
1 action_listen
────────────────────────────────────────────
2 hey
intent: greet 0.96
2019-05-24 12:41:15 ERROR rasa.core.training.interactive - An exception occurred while recording messages.
Traceback (most recent call last):
File "c:\users\carolina\documents\rasaxdemo\rasaxbot\venv\lib\site-packages\rasa\core\training\interactive.py", line 1349, in record_messages
endpoint, sender_id, finetune, sender_ids, plot_file
File "c:\users\carolina\documents\rasaxdemo\rasaxbot\venv\lib\site-packages\rasa\core\training\interactive.py", line 883, in _predict_till_next_listen
sender_ids, plot_file, endpoint, unconfirmed=[ActionExecuted(action_name)]
File "c:\users\carolina\documents\rasaxdemo\rasaxbot\venv\lib\site-packages\rasa\core\training\interactive.py", line 1274, in _plot_trackers
event_sequences[-1], event_sequences, output_file=None, max_history=2
File "c:\users\carolina\documents\rasaxdemo\rasaxbot\venv\lib\site-packages\rasa\core\training\visualization.py", line 467, in visualize_neighborhood
else sanitize(message.get("intent", {})).get("name", " ? "),
File "c:\users\carolina\documents\rasaxdemo\rasaxbot\venv\lib\site-packages\rasa\core\training\visualization.py", line 364, in sanitize
return re.sub(r"""[&\<>"'%();+]""", "", s)
File "c:\users\carolina\documents\rasaxdemo\rasaxbot\venv\lib\re.py", line 191, in sub
return _compile(pattern, flags).sub(repl, string, count)
TypeError: expected string or bytes-like object
2019-05-24 12:41:15 ERROR asyncio - Task exception was never retrieved
future: <Task finished coro=<_serve_application..run_interactive_io() done, defined at c:\users\carolina\documents\rasaxdemo\rasaxbot\venv\lib\site-packages\rasa\core\training\interactive.py:1391> exception=TypeError('expected string or bytes-like object',)>
Traceback (most recent call last):
File "c:\users\carolina\documents\rasaxdemo\rasaxbot\venv\lib\site-packages\rasa\core\training\interactive.py", line 1399, in run_interactive_io
sender_id=uuid.uuid4().hex,
File "c:\users\carolina\documents\rasaxdemo\rasaxbot\venv\lib\site-packages\rasa\core\training\interactive.py", line 1349, in record_messages
endpoint, sender_id, finetune, sender_ids, plot_file
File "c:\users\carolina\documents\rasaxdemo\rasaxbot\venv\lib\site-packages\rasa\core\training\interactive.py", line 883, in _predict_till_next_listen
sender_ids, plot_file, endpoint, unconfirmed=[ActionExecuted(action_name)]
File "c:\users\carolina\documents\rasaxdemo\rasaxbot\venv\lib\site-packages\rasa\core\training\interactive.py", line 1274, in _plot_trackers
event_sequences[-1], event_sequences, output_file=None, max_history=2
File "c:\users\carolina\documents\rasaxdemo\rasaxbot\venv\lib\site-packages\rasa\core\training\visualization.py", line 467, in visualize_neighborhood
else sanitize(message.get("intent", {})).get("name", " ? "),
File "c:\users\carolina\documents\rasaxdemo\rasaxbot\venv\lib\site-packages\rasa\core\training\visualization.py", line 364, in sanitize
return re.sub(r"""[&\<>"'%();+]""", "", s)
File "c:\users\carolina\documents\rasaxdemo\rasaxbot\venv\lib\re.py", line 191, in sub
return _compile(pattern, flags).sub(repl, string, count)
TypeError: expected string or bytes-like object