Skip to content

Commit 8e02948

Browse files
committed
redirect
1 parent 028d99e commit 8e02948

File tree

3 files changed

+17
-11
lines changed

3 files changed

+17
-11
lines changed

.openpublishing.redirection.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -567,6 +567,11 @@
567567
"redirect_url": "/azure/cognitive-services//QnAMaker/Quickstarts/get-answer-from-knowledge-base-using-url-tool",
568568
"redirect_document_id": false
569569
},
570+
{
571+
"source_path": "luis-quickstart-intent-and-sentiment-analysis.md",
572+
"redirect_url": "/azure/cognitive-services/LUIS/tutorial-publish-settings",
573+
"redirect_document_id": false
574+
},
570575
{
571576
"source_path": "articles/cognitive-services/LUIS/luis-how-to-add-example-utterances.md",
572577
"redirect_url": "/azure/cognitive-services/LUIS/luis-how-to-add-entities",
@@ -11466,7 +11471,7 @@
1146611471
"source_path": "articles/event-hubs/event-hubs-create-kafka-enabled.md",
1146711472
"redirect_url": "/azure/event-hubs/event-hubs-create",
1146811473
"redirect_document_id": false
11469-
},
11474+
},
1147011475
{
1147111476
"source_path": "articles/event-hubs/event-hubs-csharp-ephcs-getstarted.md",
1147211477
"redirect_url": "/azure/event-hubs/event-hubs-dotnet-standard-getstarted-send",
Loading

articles/cognitive-services/LUIS/tutorial-publish-settings.md

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ ms.author: diberry
1515

1616
---
1717

18-
# Tutorial: Configure publishing settings
18+
# Tutorial: Add sentiment analysis as a publishing setting
1919

20-
In this tutorial, modify the publishing settings then query the LUIS endpoint to understand publishing settings.
20+
In this tutorial, modify the publishing settings to extract sentiment analysis then query the LUIS endpoint to understand publishing settings.
2121

2222
**In this tutorial, you learn how to:**
2323

@@ -47,27 +47,28 @@ Because it is a publish setting, you do not see it on the intents or entities pa
4747

4848
[!INCLUDE [Import app steps](includes/import-app-steps.md)]
4949

50-
## Configure app to include sentiment analysis
50+
## Train the app
5151

52-
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)]
5353

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
5555

56-
![Turn on Sentiment Analysis as publishing setting](./media/luis-quickstart-intent-and-sentiment-analysis/turn-on-sentiment-analysis-as-publish-setting.png)
56+
1. Select **Publish** from the top menu. Sentiment analysis is a publishing setting.
5757

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**.
5960

60-
[!INCLUDE [LUIS How to Publish steps](../../../includes/cognitive-services-luis-tutorial-how-to-publish.md)]
61+
![Turn on Sentiment Analysis as publishing setting](./media/luis-quickstart-intent-and-sentiment-analysis/select-sentiment-publishing-setting.png)
6162

6263
## Get the sentiment of an utterance from the endpoint
6364

6465
1. [!INCLUDE [LUIS How to get endpoint first step](../../../includes/cognitive-services-luis-tutorial-how-to-get-endpoint.md)]
6566

6667
1. Go to the end of the URL in the address and enter the following utterance:
6768

68-
`Jill Jones work with the media team on the public portal was amazing`
69+
`Deliver 2 of the best cheese pizzas ever!!!`
6970

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.
7172

7273
```json
7374
{

0 commit comments

Comments
 (0)