i am getting above error
i am using rasa 1.8.3
doman.yml file contains
name: TwoStageFallbackPolicy
nlu_threshold: 0.4
core_threshold: 0.5
ambiguity_threshold: 0.00
fallback_core_action_name: “action_default_ask_affirmation”
fallback_nlu_action_name: “action_default_ask_affirmation”
deny_suggestion_intent_name: “out_of_scope”
and I have implemented action_default_ask_affirmation as attached
action_default_ask_affirmation.py (3.3 KB)
i am getting why i am getting this error? please help
@MuraliChandran14 , @flore , @monokim , @adrianolsa if you could answer
koaning
(Vincent D. Warmerdam)
August 11, 2020, 7:55am
2
I don’t see an error listed. Could you copy the error (and traceback!) as markdown and add that to this thread?
ohh, i lost the error, i solved that setting more utterances in my intent.
my actual issue was i was getting “An exception occurred while handling user message ‘Did you mean ‘affirm’?’” this error, when rasa NLU couldn’t predict the intent with threshold confidence.
name: TwoStageFallbackPolicy
nlu_threshold: 0.4
core_threshold: 0.5
ambiguity_threshold: 0.00 f
allback_core_action_name: “action_default_ask_affirmation”
fallback_nlu_action_name: “action_default_ask_affirmation”
deny_suggestion_intent_name: “out_of_scope”
with the above in domain file, it should get handled in action_default_ask_affirmation, which I have uploaded already.
but it was not.
koaning
(Vincent D. Warmerdam)
August 13, 2020, 11:05am
4
Without the traceback it is very hard for me to figure out where in the toolchain something went wrong. Happy to hear you’ve figured out a fix though
it was my silly mistake, i did not add the action to domain.yml file.
adding that resolved my issue
1 Like