botframework-sdk icon indicating copy to clipboard operation
botframework-sdk copied to clipboard

Training LUIS: programmatic API vs UI

Open cnrudd opened this issue 10 years ago • 5 comments

Hi,

If I train a LUIS app via the programmatic API described here: https://dev.projectoxford.ai/docs/services/56d95961e597ed0f04b76e58/operations/56f8a55119845511c81de483

I find that the app never appears as trained in the UI here: https://www.luis.ai/applicationlist

Only when I train an app via the GUI does the GUI reflect that it has been trained.

Other actions done via programmatic API, such creating a new app, adding labeled examples, do reflect in the UI. I would have expected the same for training.

Thanks, Colin

cnrudd avatar Dec 04 '16 21:12 cnrudd

Thanks for reporting this. We have plans to show the last training and publishing date through the portal.

cahann avatar Dec 05 '16 15:12 cahann

i also noticed that issuing a POST to /apps/{appId}/train does not actually perform the training. however, issuing a GET to the same URL starts the training. i reached this conclusion by checking the LastTrainedDate and IsTrained attributes in the response from GET /apps/{appId} which is null and false respectively in first case and shows current time and true in second case. tested using postman and curl

nagarajasr avatar Dec 06 '16 13:12 nagarajasr

is there a better place to report LUIS programmatic API issues? this repository is for the BotBuilder which assumes a trained model is already available

nagarajasr avatar Dec 06 '16 13:12 nagarajasr

Yes, please reach out to use on [email protected] or open a ticket on uservoice through our website.

To ensure the training was successful please call GetTrainStatus API

cahann avatar Dec 06 '16 17:12 cahann

Closing this issue as we've covered all of the open questions.

dandriscoll avatar Dec 21 '16 22:12 dandriscoll