Muggle
Muggle

Reputation: 79

How does LUIS determine intent from inputs?

I recently did up a basic chat bot and let my friend tested it. She entered many different gibberish, and the results from LUIS confuses me.

For example, she would enter )(*)($*#)(!*#&$*#&$*#&)$(*)(!*)(!@*09837$)(@*#||||, and LUIS would identify this as one of my intent that checks a database status. The only thing that I can think of is that it contains 09837, a number, and triggers the particular intent from there. However, number entities used in the intent for checking database status is part of a composite entity (issue id). This doesn't make sense to me.

To eliminate the number entity, I shortened the query to )(*)($*#)(!*#&$*#&$*#&)$(*)(!*)(!@*, but it still triggers the same intent, just with no entities now.

May I understand how does LUIS determine intents from user inputs? Do I have to add that particular user input in the None intent? If so, wouldn't there be too many gibberish inputs to think of to prevent such cases from happening?

Please let me know if you need more information to answer the question! :)

Upvotes: 0

Views: 273

Answers (1)

DFBerry
DFBerry

Reputation: 2008

LUIS is a natural language processor. Your example isn't natural language so you would need to either provide processing before using LUIS to turn it into natural language or use abilities in LUIS that it is not meant for -- at this time.

The NONE intent trains LUIS for all utterances that are outside the domain/scope of the app. The best place to find these are in your current utterances from customers.

Upvotes: 2

Related Questions