Handling out of scope with threshold values

Hi all, I was working on my first chatbot using rasa. How can I enable an out of scope intent if the confidence level of the model is low say less than 60%?

Hi @en-ashay,

I think what you are looking for is the Fallback Classifier. You can tune the confidence threshold to 60% by adding the following component to the NLU pipeline in your config.yml file:


pipeline:
# other components
- name: FallbackClassifier
  threshold: 0.6

Thanks, @kearnsw for the help.

1 Like