How to eliminate negative utterances while using LUIS/WIT Intent
Asked Answered
H

3

1

I have an intent "BookTicket". I have few utterances for the same: "book a ticket", "book my ticket".....it works fine.

It also works with "do not book a ticket", "book my show". My question is: How can I eliminate these negative searches to search for the intent mentioned above and return an error message instead of invoking the intent.

Right now, I am trying this with LUIS framework.

thanks

Harrelson answered 21/7, 2016 at 7:39 Comment(0)
M
1

In case of LUIS, use the None intent to mark the negative examples you want to eliminate, this way your model will learn to associate these negative utterances with None intent not "BookTicket"

Margie answered 21/7, 2016 at 14:35 Comment(2)
Thanks. Is there any in-built functionality to identity these negative utterances.Harrelson
URW. There's no builtin functionality at the current time, but you can use the suggest tab (if the API is already released) to detect these negative utterances and mark them with the None intent.Margie
M
1

My be you can try this https://azure.microsoft.com/en-in/documentation/articles/machine-learning-apps-text-analytics/ . Set the threshold as required to your project so that only positive will come out.

Marta answered 24/7, 2016 at 18:53 Comment(0)
P
0

Google brought me here so I'm posting this for anyone who finds it useful.

Microsoft documentation states: "you can create two intents (one positive, and one negative) and add appropriate utterances for each. Or you can create a single intent and mark the two different positive and negative terms as an entity."

Prologue answered 17/2, 2021 at 9:29 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.