botframework
botframework copied to clipboard
how can i catch the no match found
i have a requirement to catch all the unanswered questions. please suggest me an idea to find unanswered questions. i have to store unanswered questions into a database.
You can override the NoMatchHandler and log your unanswered questions in there. Check the readme out for an example. If you are still struggling let me know.
im getting an error. no suitable method found to override.
Hello, firstly I would like to say thank you Gary for this library, it is great and very useful to us.
Unfortunately, my override for the no match handler is not getting called and the default no match found message is being passed back form the QnA service. "No good match found in KB".
Do you have any ideas?
I did not ice that the way this is checked and called is the following in the QnAMakerDialog HandleMessage method:
if (response.Answers.Any() && response.Answers.First().QnaId == -1)
Could it be that the service now returns the default message as an answer?
Hi. I think that there must have been a change, as you say, to the way the service indicates no answer has been found. I'll try and take a look today and get a fix in.
my bot doesn't show icon...what can i do for this?