Bot die when input is not a intent

Hi everyone i have some issue with my bot when user chat some thing like: ‘asd;fkjhdsa;kfjhsadpkfhsaoifsa’

Bot die and this is my action server log:

r log:

This is the server log:

How can i fix that

You need a fallback action. For example, in the config.yml:

  - name: "FallbackPolicy"
    nlu_threshold: 0.4
    core_threshold: 0.3
    fallback_action_name: "action_default_fallback"

Add action_default_fallback to your list of actions in the domain.yml file and overwrite it in

class ActionDefaultFallback(Action):
	def name(self):
		return 'action_default_fallback'
	def run(self, dispatcher, tracker, domain):
		return [UserUtteranceReverted()]
1 Like

thank you so much. it’s very helpfull