Skip to content

Commit fe4e641

Browse files
committed
edits for h2s
1 parent cf40641 commit fe4e641

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

articles/cognitive-services/LUIS/luis-tutorial-pattern.md

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,7 @@ One of the locations was extracted but the other location was not.
641641

642642
Patterns will help the prediction score, however, the entities must be correctly predicted before the pattern matches the utterance.
643643

644-
## Pattern with roles
644+
### Create template utterance with entity role
645645

646646
1. Select **Build** in the top navigation.
647647

@@ -822,15 +822,7 @@ The varying length includes words that may confuse LUIS about where the entity e
822822
|Who authored {FormName}[?]|
823823
|{FormName} is published in French[?]|
824824

825-
## Import example app
826-
827-
1. Download and save [app JSON file](https://github.com/Azure-Samples/cognitive-services-language-understanding/blob/master/documentation-samples/tutorials/custom-domain-pattern-roles-HumanResources.json?raw=true).
828-
829-
1. In the [LUIS portal](https://www.luis.ai), on the **My apps** page, import the JSON into a new app.
830-
831-
1. From the **Manage** section, on the **Versions** tab, clone the version, and name it `patt-any`. Cloning is a great way to play with various LUIS features without affecting the original version. 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.
832-
833-
## Add example utterances
825+
### Add example utterances with Pattern.any
834826

835827
1. Select **Build** from the top navigation, then select **Intents** from left navigation.
836828

@@ -858,7 +850,7 @@ The Pattern.any entity extracts entities of varying length. It only works in a p
858850

859851
If you want the extracted data to include other entities such as number or datetimeV2, you need to create a composite entity that includes the Pattern.any, as well as number and datetimeV2.
860852

861-
## Add a pattern that uses the Pattern.any
853+
### Add a pattern that uses the Pattern.any
862854

863855
1. Select **Patterns** from the left navigation.
864856

@@ -877,7 +869,7 @@ The Pattern.any entity extracts entities of varying length. It only works in a p
877869

878870
1. Train the app.
879871

880-
## Test the new pattern for free-form data extraction
872+
### Test the new pattern for free-form data extraction
881873
1. Select **Test** from the top bar to open the test panel.
882874

883875
1. Enter the following utterance:

0 commit comments

Comments
 (0)