Publish your active, trained app to a staging or production endpoint
When you finish building and testing your active LUIS app, make it available to your client application by publishing it to the endpoint.
This document has not been updated with text and screenshots for the latest LUIS portal.
To publish to the endpoint, select Publish in the top, right panel.
Select your settings for the published prediction endpoint, then select Publish.
Select the correct slot when the pop-up window displays:
By using both publishing slots, this allows you to have two different versions of your app available at the published endpoints or the same version on two different endpoints.
The app is published to all regions associated with the LUIS prediction endpoint resources added in the LUIS portal.
For example, for an app created on www.luis.ai, if you create a LUIS resource in two regions, westus and eastus, and add these to the app as resources, the app is published in both regions. For more information about LUIS regions, see Regions.
Configuring publish settings
After you select the slot, configure the publish settings for:
- Sentiment analysis
- Spelling correction
- Speech priming
After you publish, these settings are available for review from the Manage section's Publish settings page. You can change the settings with every publish. If you cancel a publish, any changes you made during the publish are also canceled.
When your app is published
When your app is successfully published, a green success notification appears at the top of the browser. The green notification bar also includes a link to the endpoints.
If you need the endpoint URL, select the link. You can also get to the endpoint URLs by selecting Manage in the top menu, then select Azure Resources in the left menu.
Sentiment analysis allows LUIS to integrate with Text Analytics to provide sentiment and key phrase analysis.
You do not have to provide a Text Analytics key and there is no billing charge for this service to your Azure account.
Sentiment data is a score between 1 and 0 indicating the positive (closer to 1) or negative (closer to 0) sentiment of the data. The sentiment label of
negative is per supported culture. Currently, only English supports sentiment labels.
For more information about the JSON endpoint response with sentiment analysis, see Sentiment analysis
Corrections to spelling are made before the LUIS user utterance prediction. You can see any changes to the original utterance, including spelling, in the response.
Speech priming is the process of using sending the LUIS model to Speech services prior to conversion of text to speech. This allows the speech service to provide speech conversion more accurately for your model. This allows bot Speech and LUIS requests and responses in one call by making one speech call and getting back a LUIS response. It provides less latency overall.