question

sanm-7576 avatar image
0 Votes"
sanm-7576 asked romungi-MSFT answered

How to return NA as topintnent if LUIS uttrances is not matched

I need to retrun topintnent as NA if user ask any irrelevant question (which are not trained or completly out of scope).

currently i am getting my same LUIS intnent with less score (if user ask any irrelevant question) instead i want topintent name as NA

azure-cognitive-servicesazure-language-understanding
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

romungi-MSFT avatar image
0 Votes"
romungi-MSFT answered

@sanm-7576 LUIS provides None intent which cannot be renamed or deleted, for scenarios where the user utterance does not match the domain knowledge you can train your app with none intent utterances that do not match the domain. This basically helps LUIS to not skew your scores by not forcing irrelevant utterances into one of the domain intents.

Using a scenario where the top intent is NA is not the right choice for LUIS application, I would advise to use None intent for any irrelevant questions and handle this in your client application by asking more questions back to the user or providing them with a list of valid choices.


· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Understod. Thank you so much.

0 Votes 0 ·