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
Copy file name to clipboardExpand all lines: articles/cognitive-services/LUIS/includes/import-app-steps.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ ms.author: diberry
14
14
1. From the **Manage** section, on the **Versions** tab, select the version, then select **Clone** to clone the version, and give it a new 10-character name, then select **Done** to finish the clone process. Because the version name is used as part of the URL route, the name can't contain any characters that are not valid in a URL.
15
15
16
16
> [!TIP]
17
-
> Cloning a version into a new version is a best practice before you modify your app. When you finish a version, export the version (as a .json or .lu file), and check the file into your source control system.
17
+
> Cloning into a new version is a best practice before you modify your app. When you finish a version, export the version (as a .json or .lu file), and check the file into your source control system.
18
18
19
19
1. Select **Build** then **Intents** to see the intents, the main building blocks of a LUIS app.
Use the regular expression entity to pull out well-formatted text from an utterance. While the utterance's intent is always determined with machine-learning, this specific entity type is not machine-learned. A good match for the regular expression entity is any text that can consistently be represented by a regular expression.
35
+
Use the regular expression entity to pull out well-formatted text from an utterance. While the utterance's intent is always determined with machine-learning, this specific entity type is not machine-learned. A good use for the regular expression entity is any text that can consistently be represented by a [regular expression](https://docs.microsoft.com/dotnet/standard/base-types/regular-expression-language-quick-reference).
38
36
39
37
`Send pizza delivery time to x123432`
40
38
41
39
This example uses a _short code_ for sending text messages. This short code is a 5 or 6-digit numeric code, prefixed with an x, and can be described with the regular expression `x\d{5,6}`.
42
40
43
-
When you add a regular expression entity to a LUIS app, you don't need to label the text with the regular express entity. It is applied to all utterances in all intents.
41
+
When you add a regular expression entity to a LUIS app, you don't need to [label](label-entity-example-utterance.md) the text with the regular express entity. It is applied to all utterances in all intents.
44
42
45
43
## Import example .json to begin app
46
44
@@ -50,9 +48,7 @@ When you add a regular expression entity to a LUIS app, you don't need to label
50
48
51
49
## Create intent for sending confirmation text messages
52
50
53
-
1.[!INCLUDE [Start in Build section](../../../includes/cognitive-services-luis-tutorial-build-section.md)]
54
-
55
-
1. Select **Create new intent**.
51
+
1. Select **+ Create** to create a new intent to classify an utterance's intent for sending a confirmation text.
56
52
57
53
1. Enter `ConfirmationText` in the pop-up dialog box then select **Done**.
58
54
@@ -67,9 +63,7 @@ When you add a regular expression entity to a LUIS app, you don't need to label
67
63
To extract machine-learned entities, you should provide examples that include the entity in a variety of utterances but with this non-machine-learned entity, the variation is not important. As long as text matches the regular expression, it will be extracted.
68
64
69
65
## Use the regular expression entity for well-formatted data
70
-
The regular expression entity to match the text number. This regular expression matches text but ignores case and culture variants.
71
-
72
-
Create a regular expression entity to tell LUIS what the text number format is in the following steps:
66
+
Create a regular expression entity to match the text number. This regular expression matches text but ignores case and culture variants.
73
67
74
68
1. Select **Entities** in the left panel.
75
69
@@ -85,12 +79,12 @@ Create a regular expression entity to tell LUIS what the text number format is i
85
79
> [!div class="mx-imgBorder"]
86
80
> 
87
81
88
-
1. Select **Intents** from the left menu, then **ConfirmationText** intent to see the regular expression labeled in the utterances.
82
+
1. Select **Intents** from the left menu, then the **ConfirmationText** intent to see the regular expression labeled in the utterances.
89
83
90
84
> [!div class="mx-imgBorder"]
91
85
> 
92
86
93
-
Because the entity is not a machine-learned entity, the entity is applied to the utterances and displayed in the LUIS website as soon as it is created.
87
+
Because the entity is not a machine-learned entity, the entity is applied to the utterances and displayed in the LUIS portal as soon as it is created.
0 commit comments