Skip to content

Commit 5c1aa7b

Browse files
authored
Merge pull request #115566 from roy-har/v-royha-2020-05-18a
Update REST quickstarts to use the Pizza app.
2 parents f830965 + 522523c commit 5c1aa7b

10 files changed

+1122
-412
lines changed

articles/cognitive-services/LUIS/get-started-get-model-rest-apis.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ ms.custom: seodec18
99
ms.service: cognitive-services
1010
ms.subservice: language-understanding
1111
ms.topic: quickstart
12-
ms.date: 02/14/2020
12+
ms.date: 05/18/2020
1313
ms.author: diberry
1414
zone_pivot_groups: programming-languages-set-one
1515
#Customer intent: As an API developer familiar with REST but new to the LUIS service, I want to query the LUIS endpoint of a published model so that I can see the JSON prediction response.
1616
---
1717

1818
# Quickstart: Change model with REST APIs
1919

20-
In this quickstart, add example utterances to a Travel Agent app and train the app. Example utterances are conversational user text mapped to an intent. By providing example utterances for intents, you teach LUIS what kinds of user-supplied text belongs to which intent.
20+
In this quickstart, add example utterances to a Pizza app and train the app. Example utterances are conversational user text mapped to an intent. By providing example utterances for intents, you teach LUIS what kinds of user-supplied text belongs to which intent.
2121

2222
::: zone pivot="programming-language-csharp"
2323
[!INCLUDE [Get intent with C# and REST](./includes/get-started-get-model-rest-csharp.md)]
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
---
2+
title: include file
3+
description: include file
4+
services: cognitive-services
5+
author: roy-har
6+
manager: diberry
7+
ms.service: cognitive-services
8+
ms.date: 05/18/2020
9+
ms.subservice: language-understanding
10+
ms.topic: include
11+
ms.custom: include file
12+
ms.author: roy-har
13+
---
14+
1. Select [pizza-app-for-luis-v6.json](https://github.com/Azure-Samples/cognitive-services-sample-data-files/blob/master/luis/apps/pizza-app-for-luis-v6.json) to bring up the GitHub page for the `pizza-app-for-luis.json` file.
15+
1. Right-click or long tap the **Raw** button and select **Save link as** to save the `pizza-app-for-luis.json` to your computer.
16+
1. Sign into the [LUIS portal](https://www.luis.ai).
17+
1. Select [My Apps](https://www.luis.ai/applications).
18+
1. On the **My Apps** page, select **+ New app for conversation**.
19+
1. Select **Import as JSON**.
20+
1. In the **Import new app** dialog, select the **Choose File** button.
21+
1. Select the `pizza-app-for-luis.json` file you downloaded, then select **Open**.
22+
1. In the **Import new app** dialog **Name** field, enter a name for your Pizza app, then select the **Done** button.
23+
24+
The app will be imported.
25+
26+
If you see a dialog **How to create an effective LUIS app**, close the dialog.
27+
28+
## Train and publish the Pizza app
29+
30+
You should see the **Intents** page with a list of the intents in the Pizza app.
31+
32+
[!INCLUDE [How to train](howto-train.md)]
33+
34+
[!INCLUDE [How to publish](howto-publish.md)]
35+
36+
Your Pizza app is now ready to use.
37+
38+
## Record the app ID, prediction key, and prediction endpoint of your Pizza app
39+
40+
To use your new Pizza app, you will need the app ID, prediction key, and endpoint of your Pizza app.
41+
42+
To find these values:
43+
44+
1. From the **Intents** page, select **MANAGE**.
45+
1. From the **Application Settings** page, record the **App ID**.
46+
1. Select **Azure Resources**.
47+
1. From the **Azure Resources** page, record the **Primary Key**. This value is your prediction key.
48+
1. Record the **Endpoint URL**. This value is your prediction endpoint.

0 commit comments

Comments
 (0)