Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to import utterances into LUIS.ai

The old version of the LUIS console used to have an "import utterances" function. The new console does not seem to have this function anymore.

In addition, the API (I think) used to have this option, but now it does not seem to be there.

Am I missing something, or is this a feature that is being added back-in at a later stage?

In addition, just querying the published endpoint doesn't seem to reliably 'import' the utterances into a pool. We can assume they have been imported and will eventually surface via the 'suggested' tab, but this really isn't good enough. We need to be able to import utterances in batch and then label them.

like image 291
JPThorne Avatar asked Mar 20 '17 13:03

JPThorne


People also ask

How do I add utterances in Luis?

Sign in to the LUIS portal, and select your Subscription and Authoring resource to see the apps assigned to that authoring resource. Open your app by selecting its name on My Apps page. On the Intents list page, select the intent name of the example utterance you want to create a template utterance from.

What is utterance Luis?

Utterances are inputs from users that your app needs to interpret. To train LUIS to extract intents and entities from these inputs, it's important to capture various different example utterances for each intent.


1 Answers

The LUIS V2 API currently has an API for batch importing JSON representing the utterance and labels within the utterance which is documented here.

I'm taking it however that you're looking for a way to just upload a list of undecorated utterances and then label them in the UI?

Regarding the comment about querying the endpoint; LUIS will only show suggested utterances that it feels will help improve the model if you label them. If you label all utterances that come into the system you risk over-fitting the model to common queries.

like image 152
Jim Lewallen Avatar answered Oct 10 '22 21:10

Jim Lewallen