I am trying to create a simple bot which can tell me the price and offers on a car. It run’s fine while I do interactive training but fails afterwords (when model loaded in memory on a console) with the following error -
ERROR:main:Failed to validate slot car with action offer_form
I was under the assumption that in case of a form if NLU is not able to detect an entity it would repeat the question, but instead it throws an exception and takes a random path.
I am attaching the logs, the generated story’s and my action class for the same. Any help would be highly appreciated.actions.py (1.1 KB)
error.log (8.9 KB)
storys.md (2.3 KB)
@Juste@harsh07patni was this ever resolved? I am having the exact same problem
2019-03-04 11:11:28 DEBUG rasa_core.actions.action - Failed to validate slot vehicleCount with action count_episode
2019-03-04 11:11:28 DEBUG rasa_core.policies.form_policy - There is an active form 'count_episode'
2019-03-04 11:11:28 DEBUG rasa_core.policies.memoization - Current tracker state [{'prev_utter_hello': 1.0, 'intent_hello': 1.0}, {'active_form_count_episode': 1.0, 'intent_hello': 1.0, 'prev_count_episode': 1.0}, {'active_form_count_episode': 1.0, 'prev_action_listen': 1.0, 'intent_inform_countTime': 1.0}]
2019-03-04 11:11:28 DEBUG rasa_core.policies.memoization - There is no memorised next action
2019-03-04 11:11:28 DEBUG rasa_core.policies.ensemble - Predicted next action using policy_2_KerasPolicy
2019-03-04 11:11:28 DEBUG rasa_core.processor - Predicted next action 'action_restart' with prob 0.97.
2019-03-04 11:11:28 DEBUG rasa_core.processor - Action 'action_restart' ended with events '['Restarted()']'
2019-03-04 11:11:28 DEBUG rasa_core.processor - Predicted next action 'action_listen' with prob 1.00.
2019-03-04 11:11:28 DEBUG rasa_core.processor - Action 'action_listen' ended with events '[]'
For each of my stories, I had added “action_restart” at the end so that the conversation would reset after a happy path. However, this has caused failed validations to take random paths, including restarting the whole conversation. Please help!