My model is not trained for this query and the prediction score is 0.50 (as seen below). So, as per Rule policy, It should predict ‘utter_default’ but it has perdicted ‘greet’
Here is the output:
rasa.core.processor - Received user message 'can you help me?' with intent '{'id': -3112698601225084444, 'name': 'greet', 'confidence': 0.5097352862358093}' and entities '[]'
@nik202 Yes, I have utter_default in domain.yml
why the threshold is 0.4 and not 0.7?
greet was being predicted with 0.50 accuracy. (with my configuration)
@Sajjadmanal you can set any threshold value, for my use case it’s giving me the default message on these values, so I just shared with you, please do try with different values and check the response.
@Sajjadmanal do even check this input text “can you help me?” have some example mentioned in the greet intent?
@Sajjadmanal its basically the confidence score values, we tried to mention the values between .4-.6 for the best case scenarios, but it can vary as per the use case. In one of my project I set the value to 5 or 6 even.
@nik202 Then what does this mean? When i take threshold= 0.7
2021-12-13 19:43:30 DEBUG rasa.core.processor - Received user message 'can you help me?' with intent '{'id': -1385349519514546219, 'name': 'out_of_scope', 'confidence': 0.47837963700294495}' and entities '[]'
@Sajjadmanal ok, as you see first screenshot you have shared the intent name is greet and now its out of scope. It means your model is confused and for that you need to provide a good amount of training examples. How many training examples you are mentioned in per intents for your project?