Skip to content

Commit 0637716

Browse files
authored
Merge pull request #92607 from diberry/1021-pub-issue-40837
[Cogsvcs] LUIS - public issue - 40837
2 parents 9c8f402 + dc59bb6 commit 0637716

File tree

1 file changed

+38
-43
lines changed

1 file changed

+38
-43
lines changed

articles/cognitive-services/LUIS/luis-tutorial-prebuilt-intents-entities.md

Lines changed: 38 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.custom: seodec18
99
ms.service: cognitive-services
1010
ms.subservice: language-understanding
1111
ms.topic: tutorial
12-
ms.date: 08/20/2019
12+
ms.date: 10/21/2019
1313
ms.author: diberry
1414
---
1515

@@ -58,12 +58,9 @@ LUIS provides several prebuilt entities for common data extraction.
5858

5959
1. Select the following entities from the list of prebuilt entities then select **Done**:
6060

61-
* **[PersonName](luis-reference-prebuilt-person.md)**
6261
* **[GeographyV2](luis-reference-prebuilt-geographyV2.md)**
6362

64-
![Screenshot of number selected in prebuilt entities dialog](./media/luis-tutorial-prebuilt-intents-and-entities/select-prebuilt-entities.png)
65-
66-
These entities will help you add name and place recognition to your client application.
63+
This entity will help you add place recognition to your client application.
6764

6865
## Add example utterances to the None intent
6966

@@ -81,79 +78,83 @@ LUIS provides several prebuilt entities for common data extraction.
8178

8279
1. [!INCLUDE [LUIS How to get endpoint first step](../../../includes/cognitive-services-luis-tutorial-how-to-get-endpoint.md)]
8380

84-
1. Go to the end of the URL in the browser address bar and enter `I want to cancel my trip to Seattle to see Bob Smith`. The last query string parameter is `q`, the utterance **query**.
81+
1. Go to the end of the URL in the browser address bar and enter `I want to cancel my trip to Seattle`. The last query string parameter is `q`, the utterance **query**.
8582

8683
```json
8784
{
88-
"query": "I want to cancel my trip to Seattle to see Bob Smith.",
85+
"query": "I want to cancel my trip to Seattle",
8986
"topScoringIntent": {
90-
"intent": "Utilities.ReadAloud",
91-
"score": 0.100361854
87+
"intent": "Utilities.Cancel",
88+
"score": 0.1055009
9289
},
9390
"intents": [
9491
{
95-
"intent": "Utilities.ReadAloud",
96-
"score": 0.100361854
92+
"intent": "Utilities.Cancel",
93+
"score": 0.1055009
9794
},
9895
{
99-
"intent": "Utilities.Stop",
100-
"score": 0.08102781
96+
"intent": "Utilities.SelectItem",
97+
"score": 0.02659072
10198
},
10299
{
103-
"intent": "Utilities.SelectNone",
104-
"score": 0.0398852825
100+
"intent": "Utilities.Stop",
101+
"score": 0.0253379084
105102
},
106103
{
107-
"intent": "Utilities.Cancel",
108-
"score": 0.0277276486
104+
"intent": "Utilities.ReadAloud",
105+
"score": 0.02528683
109106
},
110107
{
111-
"intent": "Utilities.SelectItem",
112-
"score": 0.0220712926
108+
"intent": "Utilities.SelectNone",
109+
"score": 0.02434013
113110
},
114111
{
115-
"intent": "Utilities.StartOver",
116-
"score": 0.0145813478
112+
"intent": "Utilities.Escalate",
113+
"score": 0.009161292
117114
},
118115
{
119-
"intent": "None",
120-
"score": 0.012434179
116+
"intent": "Utilities.Help",
117+
"score": 0.006861785
121118
},
122119
{
123-
"intent": "Utilities.Escalate",
124-
"score": 0.0122632384
120+
"intent": "Utilities.StartOver",
121+
"score": 0.00633448
125122
},
126123
{
127124
"intent": "Utilities.ShowNext",
128-
"score": 0.008534077
125+
"score": 0.0053827134
126+
},
127+
{
128+
"intent": "None",
129+
"score": 0.002602003
129130
},
130131
{
131132
"intent": "Utilities.ShowPrevious",
132-
"score": 0.00547111453
133+
"score": 0.001797354
133134
},
134135
{
135136
"intent": "Utilities.SelectAny",
136-
"score": 0.00152912608
137+
"score": 0.000831930141
137138
},
138139
{
139140
"intent": "Utilities.Repeat",
140-
"score": 0.0005556819
141-
},
142-
{
143-
"intent": "Utilities.FinishTask",
144-
"score": 0.000169488427
141+
"score": 0.0006924066
145142
},
146143
{
147144
"intent": "Utilities.Confirm",
148-
"score": 0.000149565312
145+
"score": 0.000606057351
149146
},
150147
{
151148
"intent": "Utilities.GoBack",
152-
"score": 0.000141017343
149+
"score": 0.000276725681
150+
},
151+
{
152+
"intent": "Utilities.FinishTask",
153+
"score": 0.000267822179
153154
},
154155
{
155156
"intent": "Utilities.Reject",
156-
"score": 6.27324E-06
157+
"score": 3.21784828E-05
157158
}
158159
],
159160
"entities": [
@@ -162,18 +163,12 @@ LUIS provides several prebuilt entities for common data extraction.
162163
"type": "builtin.geographyV2.city",
163164
"startIndex": 28,
164165
"endIndex": 34
165-
},
166-
{
167-
"entity": "bob smith",
168-
"type": "builtin.personName",
169-
"startIndex": 43,
170-
"endIndex": 51
171166
}
172167
]
173168
}
174169
```
175170

176-
The result predicted the Utilities.Cancel intent with 80% confidence and extracted the city and person name data.
171+
The result predicted the Utilities.Cancel intent with 80% confidence and extracted the city data.
177172

178173

179174
## Clean up resources

0 commit comments

Comments
 (0)