LUIS Publish - microsoft-campus-community/workshop-shopping-list-bot GitHub Wiki
the steps to train LUIS first.
Prerequisite: This page assumes that you have a trained LUIS application. If you have not trained your LUIS application yet, followNow you can publish the LUIS application to an endpoint so that you can use it from your code. Click on the 'Publish' button in the top right corner. A 'Choose your publishing slot, and settings' panel opens. You should select the 'Production Slot'. The functionality of the 'Staging slot' and 'Production slot' do not differ. However, their meaning does. You would use the 'Staging slot' in a scenario where you have a separate environment for an application in development than the one running in production and would like to try a newer version of your LUIS application without wiring up your production application. You can also leave 'Sentiment Analysis' and 'Speech Priming' off. Sentiment Analysis would mean that LUIS would also return a sentiment score for the input. Speech Priming would enable you to send voice input to LUIS, and it would convert it to text bevor analyzing. The shopping list bot is not going to use either functionality. Click on 'Done' to publish the LUIS application.
Once it is done publishing, you will get a notification in the top right corner. You can access the notification area by clicking on the notification bell in the top bar. If you see the 'Publish app Shopping List completed' notification, click on the 'Access your endpoint Urls' link.
Now you should see information about how to access the LUIS endpoint. There is even an example HTTP request! You should keep this information private. Otherwise, anyone could use your resources (Don't worry, we have our resources already deleted, which is why we are ok leaking the information here.). For using LUIS with the bot later, you should note down 'Primary Key' and 'Location'. You will also need the App ID of your LUIS application. You can find it under 'Settings'.
You can also come back later and get the information when you wire up your bot.