wit icon indicating copy to clipboard operation
wit copied to clipboard

Issue in identifing out of scope inputs

Open prajisha opened this issue 4 years ago • 3 comments

Hi,

We are facing an issue that Khmer workspace identifies english input which is not trained and it returning correct intent. 'Hi' returning 'greeting' intent in khmer workspace. 'Job' returning 'static_intent_job' intent in khmer workspace. We expect english input to return out of scope response in khmer workspace. Is there any way to solve it?

Thanks image image image image

prajisha avatar Feb 03 '22 05:02 prajisha

Hi @prajisha! Thank you for bringing this to our attention. Can you please share the app ID so we can investigate this further?

nishsinghal20 avatar Feb 03 '22 18:02 nishsinghal20

Hi @prajisha! Thank you for bringing this to our attention. Can you please share the app ID so we can investigate this further?

App ID : 468448841441795

prajisha avatar Feb 04 '22 11:02 prajisha

Hi @prajisha,

The current scope for a Wit.ai app is per-language. For inputs from another language, the behavior is undetermined. I'd recommend to call GET /language to filter inputs for the supported languages, and route to the relevant Wit.ai app.

Hope this helps.

patapizza avatar Feb 04 '22 19:02 patapizza