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/luis-tutorial-pattern.md
+4-12Lines changed: 4 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -641,7 +641,7 @@ One of the locations was extracted but the other location was not.
641
641
642
642
Patterns will help the prediction score, however, the entities must be correctly predicted before the pattern matches the utterance.
643
643
644
-
## Pattern with roles
644
+
### Create template utterance with entity role
645
645
646
646
1. Select **Build** in the top navigation.
647
647
@@ -822,15 +822,7 @@ The varying length includes words that may confuse LUIS about where the entity e
822
822
|Who authored {FormName}[?]|
823
823
|{FormName} is published in French[?]|
824
824
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
834
826
835
827
1. Select **Build** from the top navigation, then select **Intents** from left navigation.
836
828
@@ -858,7 +850,7 @@ The Pattern.any entity extracts entities of varying length. It only works in a p
858
850
859
851
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.
860
852
861
-
## Add a pattern that uses the Pattern.any
853
+
### Add a pattern that uses the Pattern.any
862
854
863
855
1. Select **Patterns** from the left navigation.
864
856
@@ -877,7 +869,7 @@ The Pattern.any entity extracts entities of varying length. It only works in a p
877
869
878
870
1. Train the app.
879
871
880
-
## Test the new pattern for free-form data extraction
872
+
### Test the new pattern for free-form data extraction
881
873
1. Select **Test** from the top bar to open the test panel.
0 commit comments