You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Select **Manage** in the top right navigation, then select **Publish settings** from the left menu.
52
+
[!INCLUDE [LUIS How to Train steps](includes/howto-train.md)]
53
53
54
-
1. Select **Use sentiment analysis to determine if a user's utterance is positive, negative, or neutral.** to enable this setting.
54
+
## Configure app to include sentiment analysis
55
55
56
-

56
+
1. Select **Publish** from the top menu. Sentiment analysis is a publishing setting.
57
57
58
-
## Publish the app so the trained model is queryable from the endpoint
58
+
1. Select **Production slot** then select **Change settings**.
59
+
1. Set the Sentiment Analysis setting to **On**.
59
60
60
-
[!INCLUDE [LUIS How to Publish steps](../../../includes/cognitive-services-luis-tutorial-how-to-publish.md)]
61
+

61
62
62
63
## Get the sentiment of an utterance from the endpoint
63
64
64
65
1.[!INCLUDE [LUIS How to get endpoint first step](../../../includes/cognitive-services-luis-tutorial-how-to-get-endpoint.md)]
65
66
66
67
1. Go to the end of the URL in the address and enter the following utterance:
67
68
68
-
`Jill Jones work with the media team on the public portal was amazing`
69
+
`Deliver 2 of the best cheese pizzas ever!!!`
69
70
70
-
The last querystring parameter is `q`, the utterance **query**. This utterance is not the same as any of the labeled utterances so it is a good test and should return the `EmployeeFeedback` intent with the sentiment analysis extracted.
71
+
The last querystring parameter is `query`, the utterance **query**. This utterance is not the same as any of the labeled utterances so it is a good test and should return the `EmployeeFeedback` intent with the sentiment analysis extracted.
0 commit comments