wit icon indicating copy to clipboard operation
wit copied to clipboard

Issue in identifing intent which has no relation with keyword

Open prajisha opened this issue 4 years ago • 15 comments

Hi

We are facing an issue with the wit workspaces. If we input a random text "aaa" or "bbb" or "test", we are getting an intent which has no relation with the keyword. Can you please look into the issue with high priority, as it is affecting our business. 'aaa' returning 'hi' intent. 'test' returning 'tentative' intent. We are facing this issue with all worspaces and here is the app id of one of the workspace. App ID : 4344353432292657

Thanks

image image image image

prajisha avatar Feb 04 '22 05:02 prajisha

@prajisha Yes sure, we'll take a look into this. Thank you for your patience!

nishsinghal20 avatar Feb 04 '22 19:02 nishsinghal20

Hi @prajisha,

The confidence level for the provided inputs is very low. While we do provide the confidence and auto-populate the intent to speed up the annotation, we don't return them under 50% confidence in the API runtime. The 50% confidence threshold would optimize for recall over precision. For higher quality, I encourage you to use the model insights on the intent page to find the best confidence threshold for your use case using precision/recall, and ignore API predictions below that threshold. Most apps should probably use at least a 85% confidence threshold, but again that depends from one product to another one.

Hope this helps.

patapizza avatar Feb 04 '22 19:02 patapizza

Hi

When i tried random inputs via API am getting intents in the response even if the confidence level is too low.Below are two examples,

wit_response {"_text":"test","entities":{"intent":[{"confidence":0.22642825830761,"value":"tentative"}]},"WARNING":"DEPRECATED","msg_id":"03pVd4dOzh6iurirG"}

wit_response {"text": "xxxx","intents": [{"id": "381104606705616","name": "authenticate","confidence": 0.215}],"entities": {},"traits": {}}

Till earlier last week, we were not getting the intents in response if its confidence level is too low. The issue seems to occur from thursday.

Thanks

prajisha avatar Feb 07 '22 05:02 prajisha

@prajisha Oh indeed. Thanks for reporting. Let me look into this.

patapizza avatar Feb 07 '22 17:02 patapizza

We have the same issue here..

People names has been identified with "curse" without any correlation.

Client names like "Guilherme" or "Marinalda" have 90% to 99% of confidence. Equally with randoms: https://api.wit.ai/message?q=adwefaefsdf

Our AppId: 4151339554959163

Thanks!

GuilhermeXlab avatar Feb 07 '22 23:02 GuilhermeXlab

@prajisha Oh indeed. Thanks for reporting. Let me look into this.

Hi @patapizza, Do you have any updates on this? This is badly affecting our customers.

prajisha avatar Feb 08 '22 11:02 prajisha

@prajisha Oh indeed. Thanks for reporting. Let me look into this.

Hi @patapizza, Any update on this?

prajisha avatar Feb 09 '22 07:02 prajisha

@prajisha Oh indeed. Thanks for reporting. Let me look into this.

Hi @patapizza, Any update on this?

We're working on the fix now. Will keep you updated.

doggeral avatar Feb 09 '22 22:02 doggeral

@prajisha Oh indeed. Thanks for reporting. Let me look into this.

Hi @patapizza, Any update on this?

We're working on the fix now. Will keep you updated.

Hi @patapizza Any update on this issue? This is badly affecting our customers for more than a week.

prajisha avatar Feb 11 '22 13:02 prajisha

@prajisha verified on wit.ai, your issue has been fixed!

doggeral avatar Feb 11 '22 17:02 doggeral

Hi @doggeral

We are currently facing this issue in the following AppId: 623134488936494. We are getting intents with high confidence for non trained inputs.

Can you please check.

anjaly avatar Feb 24 '22 14:02 anjaly

Please, our app have the same issue: https://api.wit.ai/message?q=marinalda = (99,1% confidence) Our AppId: 4151339554959163

Thanks!

GuilhermeXlab avatar Feb 24 '22 22:02 GuilhermeXlab

Hi @doggeral

We are currently facing this issue in the following AppId: 623134488936494. We are getting intents with high confidence for non trained inputs.

Can you please check.

@doggeral @patapizza Any update on this.

anjaly avatar Feb 25 '22 04:02 anjaly

@GuilhermeXlab @anjaly You can add the the utterance as out of scope and retrain the app.

doggeral avatar Feb 25 '22 06:02 doggeral

we have already done this for many cases, however, it is impossible to predict all possible words that may be used. every day many phrases are identified as out of scope and categorized, and this behavior is new to us.

All these examples have high confidence without any explanation:

https://api.wit.ai/message?q=ambulancia https://api.wit.ai/message?q=amendoim https://api.wit.ai/message?q=mauricio https://api.wit.ai/message?q=tulio

Our AppId: 4151339554959163

In a restart attempt, we cloned the app and it behaved the same for a while. Soon after the fix announced here, it stopped working sending us the return 500: { "error": "Something went wrong. We've been notified", "code": "unknown" }

new AppId: 661807068294184

GuilhermeXlab avatar Feb 26 '22 14:02 GuilhermeXlab