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-data-alteration.md
+8-1Lines changed: 8 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,20 +9,27 @@ ms.custom: seodec18
9
9
ms.service: cognitive-services
10
10
ms.subservice: language-understanding
11
11
ms.topic: conceptual
12
-
ms.date: 09/26/2019
12
+
ms.date: 11/19/2019
13
13
ms.author: diberry
14
14
---
15
15
16
16
# Alter utterance data before or during prediction
17
17
LUIS provides ways to manipulate the utterance before or during the prediction. These include [fixing spelling](luis-tutorial-bing-spellcheck.md), and fixing timezone issues for prebuilt [datetimeV2](luis-reference-prebuilt-datetimev2.md).
18
18
19
19
## Correct spelling errors in utterance
20
+
21
+
[!INCLUDE [Not supported in V3 API prediction endpoint](./includes/v2-support-only.md)]
22
+
23
+
20
24
LUIS uses [Bing Spell Check API V7](../Bing-Spell-Check/overview.md) to correct spelling errors in the utterance. LUIS needs the key associated with that service. Create the key, then add the key as a querystring parameter at the [endpoint](https://go.microsoft.com/fwlink/?linkid=2092356).
21
25
26
+
<!--
22
27
You can also correct spelling errors in the **Test** panel by [entering the key](luis-interactive-test.md#view-bing-spell-check-corrections-in-test-panel). The key is kept as a session variable in the browser for the Test panel. Add the key to the Test panel in each browser session you want spelling corrected.
23
28
24
29
Usage of the key in the test panel and at the endpoint count toward the [key usage](https://azure.microsoft.com/pricing/details/cognitive-services/spellcheck-api/) quota. LUIS implements Bing Spell Check limits for text length.
25
30
31
+
-->
32
+
26
33
The endpoint requires two params for spelling corrections to work:
Copy file name to clipboardExpand all lines: articles/cognitive-services/LUIS/luis-interactive-test.md
+15-6Lines changed: 15 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,29 +9,36 @@ ms.custom: seodec18
9
9
ms.service: cognitive-services
10
10
ms.subservice: language-understanding
11
11
ms.topic: conceptual
12
-
ms.date: 07/29/2019
12
+
ms.date: 11/19/2019
13
13
ms.author: diberry
14
14
---
15
15
16
16
# Test your LUIS app in the LUIS portal
17
17
18
18
[Testing](luis-concept-test.md) an app is an iterative process. After training your LUIS app, test it with sample utterances to see if the intents and entities are recognized correctly. If they're not, make updates to the LUIS app, train, and test again.
19
19
20
-
[!INCLUDE [Waiting for LUIS portal refresh](./includes/wait-v3-upgrade.md)]
In order to test against the most recent version of the active app, select **Train** from the top menu, before testing.
31
+
28
32
## Test an utterance
29
33
34
+
The test utterance should not be exactly the same as any example utterances in the app. The test utterance should include word choice, phrase length, and entity usage you expect for a user.
35
+
30
36
1. Access your app by selecting its name on the **My Apps** page.
31
37
32
38
1. To access the **Test** slide-out panel, select **Test** in your application's top panel.
33
39
34
-

40
+
> [!div class="mx-imgBorder"]
41
+
> 
35
42
36
43
1. Enter an utterance in the text box and select Enter. You can type as many test utterances as you want in the **Test**, but only one utterance at a time.
37
44
@@ -87,10 +94,11 @@ You can view the endpoint JSON returned for the comparison by selecting the **Sh
87
94
88
95
If you have several LUIS endpoints, use the **Additional Settings** link on the Test's Published pane to change the endpoint used for testing. If you are not sure which endpoint to use, select the default **Starter_Key**.
89
96
90
-

91
-
97
+
> [!div class="mx-imgBorder"]
98
+
> 
92
99
93
-
### View Bing Spell Check corrections in test panel
100
+
<!--
101
+
### View Bing Spell Check corrections in test panel
94
102
95
103
Requirements to view the spelling corrections:
96
104
@@ -120,6 +128,7 @@ Use the following procedure to include the [Bing Spell Check v7](https://azure.m
120
128
<a name="view single-point utterance data"></a>
121
129
<a name="relabel-utterances-and-retrain"></a>
122
130
<a name="false-test-results"></a>
131
+
-->
123
132
124
133
## Batch testing
125
134
See batch testing [concepts](luis-concept-batch-test.md) and learn [how to](luis-how-to-batch-test.md) test a batch of utterances.
@@ -56,9 +57,10 @@ If your free key expired, create an endpoint key.
56
57
57
58
10. Copy the first key. You only need one of the two keys.
58
59
60
+
<!--
59
61
## Using the key in LUIS test panel
60
62
There are two places in LUIS to use the key. The first is in the [test panel](luis-interactive-test.md#view-bing-spell-check-corrections-in-test-panel). The key isn't saved into LUIS but instead is a session variable. You need to set the key every time you want the test panel to apply the Bing Spell Check API v7 service to the utterance. See [instructions](luis-interactive-test.md#view-bing-spell-check-corrections-in-test-panel) in the test panel for setting the key.
61
-
63
+
-->
62
64
## Adding the key to the endpoint URL
63
65
The endpoint query needs the key passed in the query string parameters for each query you want to apply spelling correction. You may have a chatbot that calls LUIS or you may call the LUIS endpoint API directly. Regardless of how the endpoint is called, each and every call must include the required information for spelling corrections to work properly.
0 commit comments