Skip to content

Commit a715b0d

Browse files
authored
Merge pull request #95521 from diberry/diberry/1111-luis-how-to-add-entity
[Cogsvcs] LUIS - how to add entity
2 parents 6cd6a7a + df50d1b commit a715b0d

13 files changed

+258
-272
lines changed

.openpublishing.redirection.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -520,6 +520,11 @@
520520
"redirect_url": "/azure/machine-learning",
521521
"redirect_document_id": false
522522
},
523+
{
524+
"source_path": "articles/cognitive-services/LUIS/luis-how-to-add-example-utterances.md",
525+
"redirect_url": "/azure/cognitive-services/LUIS/luis-how-to-add-entities",
526+
"redirect_document_id": false
527+
},
523528
{
524529
"source_path": "articles/cognitive-services/LUIS/luis-tutorial-prebuilt-intents-entities.md",
525530
"redirect_url": "/azure/cognitive-services/LUIS/tutorial-machine-learned-entity",
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
title: Decomposable entity tutorial links
3+
services: cognitive-services
4+
author: diberry
5+
manager: nitinme
6+
ms.service: cognitive-services
7+
ms.topic: include
8+
ms.date: 11/11/2019
9+
ms.author: diberry
10+
---
11+
12+
To take advantage of [decomposable concepts](../luis-concept-model.md#v3-authoring-model-decomposition), start with the machine-learned entity. Follow the [machine-learned entity tutorial](../tutorial-machine-learned-entity.md) for steps on how to create this type of entity including examples of:
13+
14+
* [Create and label machine-learned entity](../tutorial-machine-learned-entity.md#label-text-as-entities-in-example-utterances) with structure and a descriptor (phrase list) from example utterance on **Intent detail page**
15+
* [Add prebuilt number entity](../tutorial-machine-learned-entity.md#add-prebuilt-number-to-app-to-help-extract-data) from the **Entities list page**.
16+
* [Add subcomponent entity with constraint](../tutorial-machine-learned-entity.md#create-subcomponent-entity-with-constraint-to-help-extract-data) from the **Entity detail page**.
17+
* [Label example utterance with subcomponent](../tutorial-machine-learned-entity.md#label-example-utterance-with-subcomponent-for-quantity-to-teach-luis-about-the-entity) on **Intent detail page**

articles/cognitive-services/LUIS/luis-concept-patterns.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,11 @@ Learn pattern syntax from the [pattern syntax reference](reference-pattern-synta
6464

6565
## Next steps
6666

67+
Learn more about patterns:
68+
69+
* [How to add patterns](luis-how-to-model-intent-pattern.md)
70+
* [How to add pattern.any entity](luis-how-to-add-entities.md##add-a-patternany-entity)
71+
* [Patterns Syntax](reference-pattern-syntax.md)
72+
6773
> [!div class="nextstepaction"]
6874
> [Learn how to implement patterns in this tutorial](luis-tutorial-pattern.md)

articles/cognitive-services/LUIS/luis-how-to-add-entities.md

Lines changed: 90 additions & 108 deletions
Large diffs are not rendered by default.

articles/cognitive-services/LUIS/luis-how-to-add-example-utterances.md

Lines changed: 0 additions & 160 deletions
This file was deleted.
34.5 KB
Loading
29.9 KB
Loading
9.95 KB
Loading
4.56 KB
Loading

articles/cognitive-services/LUIS/reference-entity-list.md

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,32 @@ A list entity isn't machine-learned. It is an exact text match. LUIS marks any m
2626

2727
![list entity](./media/luis-concept-entities/list-entity.png)
2828

29-
## Example JSON
29+
## Example .json to import into list entity
30+
31+
You can import values into an existing list entity using the following .json format:
32+
33+
```JSON
34+
[
35+
{
36+
"canonicalForm": "Blue",
37+
"list": [
38+
"navy",
39+
"royal",
40+
"baby"
41+
]
42+
},
43+
{
44+
"canonicalForm": "Green",
45+
"list": [
46+
"kelly",
47+
"forest",
48+
"avacado"
49+
]
50+
}
51+
]
52+
```
53+
54+
## Example JSON response
3055

3156
Suppose the app has a list, named `Cities`, allowing for variations of city names including city of airport (Sea-tac), airport code (SEA), postal zip code (98101), and phone area code (206).
3257

0 commit comments

Comments
 (0)