I follow a tutorial and created two modules for training my chatbot based in a domain and stories, but when I running the online training module, the follow errors appears:
/env/rasa/lib/python3.6/site-packages/sklearn/preprocessing/label.py:151: DeprecationWarning: The truth value of an empty array is ambiguous. Returning False, but in future this will result in an error. Use `array.size > 0` to check that an array is not empty.
if diff:
But it is possible ignore this and continue executing, but in the final steps of my storie, crashs and show this:
ERROR:rasa_core.training.interactive:An exception occurred while recording messages.
Traceback (most recent call last):
File "/home/henrique/Documents/env/rasa/lib/python3.6/site-packages/rasa_core/training/interactive.py", line 1286, in record_messages
finetune, sender_ids, plot_file)
File "/home/henrique/Documents/env/rasa/lib/python3.6/site-packages/rasa_core/training/interactive.py", line 863, in _predict_till_next_listen
unconfirmed=[ActionExecuted(action_name)])
File "/home/henrique/Documents/env/rasa/lib/python3.6/site-packages/rasa_core/training/interactive.py", line 1220, in _plot_trackers
max_history=2)
File "/home/henrique/Documents/env/rasa/lib/python3.6/site-packages/rasa_core/training/visualization.py", line 453, in visualize_neighborhood
_merge_equivalent_nodes(graph, max_history)
File "/home/henrique/Documents/env/rasa/lib/python3.6/site-packages/rasa_core/training/visualization.py", line 204, in _merge_equivalent_nodes
_nodes_are_equivalent(graph, i, j, max_history):
File "/home/henrique/Documents/env/rasa/lib/python3.6/site-packages/rasa_core/training/visualization.py", line 148, in _nodes_are_equivalent
_fingerprint_node(graph, node_a, max_history) ==
File "/home/henrique/Documents/env/rasa/lib/python3.6/site-packages/rasa_core/training/visualization.py", line 115, in _fingerprint_node
for continuation in continuations}
File "/home/henrique/Documents/env/rasa/lib/python3.6/site-packages/rasa_core/training/visualization.py", line 115, in <setcomp>
for continuation in continuations}
TypeError: sequence item 1: expected str instance, dict found
Searching in forums a solution is update the numpy but it’s don’t work. Sorry, but I cannot expose more details because I don’t have experience with Rasa before.