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-concept-patterns.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,16 +30,16 @@ If an app has between 10 and 20 utterances with different lengths of sentence, d
30
30
Patterns solve the following situations:
31
31
32
32
* The intent score is low
33
-
* The correct intent is not the top score but too close to the top score.
33
+
* The correct intent is not the top score but too close to the top score.
34
34
35
35
## Patterns are not a guarantee of intent
36
36
Patterns use a mix of prediction technologies. Setting an intent for a template utterance in a pattern is not a guarantee of the intent prediction but it is a strong signal.
## Patterns do not improve machine-learned entity detection
40
+
## Patterns do not improve machine-learning entity detection
41
41
42
-
A pattern is primarily meant to help the prediction of intents and roles. The _pattern.any_ entity is used to extract free-form entities. While patterns use entities, a pattern does not help detect a machine-learned entity.
42
+
A pattern is primarily meant to help the prediction of intents and roles. The _pattern.any_ entity is used to extract free-form entities. While patterns use entities, a pattern does not help detect a machine-learning entity.
43
43
44
44
Do not expect to see improved entity prediction if you collapse multiple utterances into a single pattern. For simple entities to fire, you need to add utterances or use list entities else your pattern will not fire.
45
45
@@ -53,7 +53,7 @@ Given enough example utterances, LUIS would be able to increase prediction confi
53
53
A pattern is matched based on detecting the entities inside the pattern first, then validating the rest of the words and word order of the pattern. Entities are required in the pattern for a pattern to match. The pattern is applied at the token level, not the character level.
54
54
55
55
## Pattern-only apps
56
-
You can build an app with intents that have no example utterances, as long as there's a pattern for each intent. For a pattern-only app, the pattern shouldn't contain machine-learned entities because these do require example utterances.
56
+
You can build an app with intents that have no example utterances, as long as there's a pattern for each intent. For a pattern-only app, the pattern shouldn't contain machine-learning entities because these do require example utterances.
Copy file name to clipboardExpand all lines: articles/cognitive-services/LUIS/luis-concept-utterance.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
@@ -6,7 +6,7 @@ ms.date: 05/19/2020
6
6
---
7
7
# Understand what good utterances are for your LUIS app
8
8
9
-
**Utterances** are input from the user that your app needs to interpret. To train LUIS to extract intents and entities from them, it's important to capture a variety of different example utterances for each intent. Active learning, or the process of continuing to train on new utterances, is essential to machine-learned intelligence that LUIS provides.
9
+
**Utterances** are input from the user that your app needs to interpret. To train LUIS to extract intents and entities from them, it's important to capture a variety of different example utterances for each intent. Active learning, or the process of continuing to train on new utterances, is essential to machine-learning intelligence that LUIS provides.
10
10
11
11
Collect utterances that you think users will enter. Include utterances, which mean the same thing but are constructed in a variety of different ways:
Copy file name to clipboardExpand all lines: articles/cognitive-services/LUIS/luis-glossary.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -134,9 +134,9 @@ The entity schema is the structure you define for machine learned entities with
134
134
135
135
### Entity's subentity
136
136
137
-
A subentity is a child entity of a machine-learned entity.
137
+
A subentity is a child entity of a machine-learning entity.
138
138
139
-
### Non-machine-learned entity
139
+
### Non-machine-learning entity
140
140
141
141
An entity that uses text matching to extract data:
142
142
* List entity
@@ -159,7 +159,7 @@ See Prebuilt model's entry for [prebuilt entity](#prebuilt-entity)
159
159
160
160
In machine learning, a feature is a characteristic that helps the model recognize a particular concept. It is a hint that LUIS can use, but not a hard rule.
161
161
162
-
This term is also referred to as a **[machine-learned feature](luis-concept-feature.md)**.
162
+
This term is also referred to as a **[machine-learning feature](luis-concept-feature.md)**.
163
163
164
164
These hints are used in conjunction with the labels to learn how to predict new data. LUIS supports both phrase lists and using other models as features.
Copy file name to clipboardExpand all lines: articles/cognitive-services/LUIS/luis-how-to-add-entities.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,28 +20,28 @@ The entity represents a word or phrase inside the utterance that you want extrac
20
20
21
21
## Plan entities, then create and label
22
22
23
-
Machine-learned entities can be created from the example utterances or created from the **Entities** page.
23
+
machine-learning entities can be created from the example utterances or created from the **Entities** page.
24
24
25
-
In general, a best practice is to spend time planning the entities before creating a machine-learned entity in the portal. Then create the machine-learned entity from the example utterance with as much detail in the subentities and features you know at the time. The [decomposable entity tutorial](tutorial-machine-learned-entity.md) demonstrates how to use this method.
25
+
In general, a best practice is to spend time planning the entities before creating a machine-learning entity in the portal. Then create the machine-learning entity from the example utterance with as much detail in the subentities and features you know at the time. The [decomposable entity tutorial](tutorial-machine-learned-entity.md) demonstrates how to use this method.
26
26
27
27
As part of planning the entities, you may know you need text-matching entities (such as prebuilt entities, regular expression entities, or list entities). You can create these from the **Entities** page before they are labeled in example utterances.
28
28
29
-
When labeling, you can either label individual entities then build up to a parent machine-learned entity. Or you can start with a parent machine-learned entity and decompose into child entities.
29
+
When labeling, you can either label individual entities then build up to a parent machine-learning entity. Or you can start with a parent machine-learning entity and decompose into child entities.
30
30
31
31
> [!TIP]
32
32
>Label all words that may indicate an entity, even if the words are not used when extracted in the client application.
33
33
34
34
## When to create an entity
35
35
36
-
After planning your entities, you should create your machine-learned entities and subentities. This may require adding prebuilt entities or text-matching entities to provide features for your machine-learned entities. These should all be done before labeling.
36
+
After planning your entities, you should create your machine-learning entities and subentities. This may require adding prebuilt entities or text-matching entities to provide features for your machine-learning entities. These should all be done before labeling.
37
37
38
38
Once you begin labeling example utterances, you can create machine learned entities or extend list entities.
39
39
40
40
Use the following table to understand where to create or add each entity type to the app.
41
41
42
42
|Entity type|Where to create entity in the LUIS portal|
43
43
|--|--|
44
-
|Machine-learned entity|Entities or Intent detail|
44
+
|machine-learning entity|Entities or Intent detail|
45
45
|List entity|Entities or Intent detail|
46
46
|Regular expression entity|Entities|
47
47
|Pattern.any entity|Entities|
@@ -166,7 +166,7 @@ In this procedure, add `origin` and `destination` roles to a prebuilt geographyV
166
166
### Label text with a role in an example utterance
167
167
168
168
> [!TIP]
169
-
> Roles can be replaced by labeling with subentities of a machine-learned entities.
169
+
> Roles can be replaced by labeling with subentities of a machine-learning entities.
170
170
171
171
1. Sign in to the [LUIS portal](https://www.luis.ai), and select your **Subscription** and **Authoring resource** to see the apps assigned to that authoring resource.
172
172
1. Open your app by selecting its name on **My Apps** page.
Copy file name to clipboardExpand all lines: articles/cognitive-services/LUIS/luis-how-to-model-intent-pattern.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ ms.author: diberry
17
17
After a LUIS app receives endpoint utterances, use a [pattern](luis-concept-patterns.md) to improve prediction accuracy for utterances that reveal a pattern in word order and word choice. Patterns use specific [syntax](luis-concept-patterns.md#pattern-syntax) to indicate the location of: [entities](luis-concept-entity-types.md), entity [roles](luis-concept-roles.md), and optional text.
18
18
19
19
> [!CAUTION]
20
-
> Patterns only include machine-learned entity parents, not subentities.
20
+
> Patterns only include machine-learning entity parents, not subentities.
21
21
22
22
## Add template utterance using correct syntax
23
23
@@ -52,7 +52,7 @@ After a LUIS app receives endpoint utterances, use a [pattern](luis-concept-patt
52
52
53
53
1. In the **Choose an entity type** dialog box, enter the entity name in the **Name** box, and select **Pattern.Any** as the **Type** then select **Create**.
54
54
55
-
Once you [create a pattern utterance](luis-how-to-model-intent-pattern.md) using this entity, the entity is extracted with a combined machine-learned and text-matching algorithm.
55
+
Once you [create a pattern utterance](luis-how-to-model-intent-pattern.md) using this entity, the entity is extracted with a combined machine-learning and text-matching algorithm.
56
56
57
57
## Adding example utterances as pattern
58
58
@@ -68,7 +68,7 @@ If you want to add a pattern for an entity, the _easiest_ way is to create the p
68
68
69
69
The utterance must include an entity in order to create a pattern from the utterance.
70
70
71
-
1. In the pop-up box, select **Done** on the **Confirm patterns** page. You don't need to define the entities' subentities, or features. You only need to list the machine-learned entity.
71
+
1. In the pop-up box, select **Done** on the **Confirm patterns** page. You don't need to define the entities' subentities, or features. You only need to list the machine-learning entity.
72
72
73
73
> [!div class="mx-imgBorder"]
74
74
> 
Copy file name to clipboardExpand all lines: articles/cognitive-services/LUIS/luis-limits.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ If your app exceeds the LUIS model limits, consider using a [LUIS dispatch](luis
22
22
| External entities | no limits |
23
23
|[Intents][intents]|500 per application: 499 custom intents, and the required _None_ intent.<br>[Dispatch-based](https://aka.ms/dispatch-tool) application has corresponding 500 dispatch sources.|
24
24
|[List entities](./luis-concept-entity-types.md)| Parent: 50, child: 20,000 items. Canonical name is *default character max. Synonym values have no length restriction. |
25
-
|[Machine-learned entities + roles](./luis-concept-entity-types.md):<br> composite,<br>simple,<br>entity role|A limit of either 100 parent entities or 330 entities, whichever limit the user hits first. A role counts as an entity for the purpose of this limit. An example is a composite with a simple entity, which has 2 roles is: 1 composite + 1 simple + 2 roles = 4 of the 330 entities.<br>Subentities can be nested up to 5 levels.|
25
+
|[machine-learning entities + roles](./luis-concept-entity-types.md):<br> composite,<br>simple,<br>entity role|A limit of either 100 parent entities or 330 entities, whichever limit the user hits first. A role counts as an entity for the purpose of this limit. An example is a composite with a simple entity, which has 2 roles is: 1 composite + 1 simple + 2 roles = 4 of the 330 entities.<br>Subentities can be nested up to 5 levels.|
26
26
|Model as a feature| Maximum number of models that can be used as a feature to a specific model to be 10 models. The maximum number of phrase lists used as a feature for a specific model to be 10 phrase lists.|
27
27
|[Preview - Dynamic list entities](https://aka.ms/luis-api-v3-doc#dynamic-lists-passed-in-at-prediction-time)|2 lists of ~1k per query prediction endpoint request|
28
28
|[Patterns](luis-concept-patterns.md)|500 patterns per application.<br>Maximum length of pattern is 400 characters.<br>3 Pattern.any entities per pattern<br>Maximum of 2 nested optional texts in pattern|
@@ -47,7 +47,7 @@ Object names must be unique when compared to other objects of the same level.
47
47
|Objects|Restrictions|
48
48
|--|--|
49
49
|Intent, entity|All intent and entity names must be unique in a version of an app.|
50
-
|ML entity components|All machine-learned entity components (child entities) must be unique, within that entity for components at the same level.|
50
+
|ML entity components|All machine-learning entity components (child entities) must be unique, within that entity for components at the same level.|
51
51
|Features | All named features, such as phrase lists, must be unique within a version of an app.|
52
52
|Entity roles|All roles on an entity or entity component must be unique when they are at the same entity level (parent, child, grandchild, etc.).|
0 commit comments