Skip to content

Commit aa7f1da

Browse files
authored
Merge pull request #96635 from IEvangelist/luisDocHack
[CogSvcs-Hack] Updates to plan LUIS app.
2 parents 589a076 + 9a647ff commit aa7f1da

File tree

2 files changed

+20
-17
lines changed

2 files changed

+20
-17
lines changed

articles/cognitive-services/LUIS/luis-glossary.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,17 @@ Authoring is the ability to create, manage and deploy a [LUIS app](#luis-app), e
2525

2626
## <a name="authoring-key"></a>Authoring Key
2727

28-
Previously named "Programmatic" key. Used to author the app. Not used for production-level endpoint queries. For more information, see [Key limits](luis-boundaries.md#key-limits).
28+
Previously named "Programmatic" key. Used to author the app. Not used for production-level endpoint queries. For more information, see [Key limits](luis-boundaries.md#key-limits).
2929

30-
## <a name="batch-test-json-file"></a>Batch text JSON file
30+
## <a name="batch-test-json-file"></a>Batch test JSON file
3131

3232
Batch testing is the ability to validate a current LUIS app's model with a consistent and known test set of user utterances. The batch test is defined in a [JSON formatted file](luis-concept-batch-test.md#batch-file-format).
3333

34-
See also:
34+
See also:
3535
* [Concepts](luis-concept-batch-test.md)
3636
* [How-to](luis-how-to-batch-test.md)
3737
* [Tutorial](luis-tutorial-batch-testing.md)
3838

39-
4039
## <a name="collaborator"></a>Collaborator
4140

4241
A collaborator/contributor, is not the [owner](#owner) of the app, but has the same permissions to add, edit, and delete the intents, entities, utterances.

articles/cognitive-services/LUIS/luis-how-plan-your-app.md

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,47 +9,51 @@ ms.custom: seodec18
99
ms.service: cognitive-services
1010
ms.subservice: language-understanding
1111
ms.topic: conceptual
12-
ms.date: 10/25/2019
12+
ms.date: 11/20/2019
1313
ms.author: diberry
1414
---
1515

1616
# Plan your LUIS app schema with subject domain and data extraction
1717

18-
A LUIS app schema contains intents and entities relevant to your subject domain. The intents classify user utterances, and the entities extract data from the user utterances.
18+
A LUIS app schema contains [intents](luis-glossary.md#intent) and [entities](luis-glossary.md#entity) relevant to your subject [domain](luis-glossary.md#domain). The intents classify user [utterances](luis-glossary.md#utterance), and the entities extract data from the user utterances.
1919

2020
## Identify your domain
2121

22-
A LUIS app is centered around a domain-specific topic. For example, you may have a travel app that performs booking of tickets, flights, hotels, and rental cars. Another app may provide content related to exercising, tracking fitness efforts and setting goals. Identifying the domain helps you find words or phrases that are important to your domain.
22+
A LUIS app is centered around a subject domain. For example, you may have a travel app that handles booking of tickets, flights, hotels, and rental cars. Another app may provide content related to exercising, tracking fitness efforts and setting goals. Identifying the domain helps you find words or phrases that are relevant to your domain.
2323

2424
> [!TIP]
25-
> LUIS offers [prebuilt domains](luis-how-to-use-prebuilt-domains.md) for many common scenarios.
26-
> Check to see if you can use a prebuilt domain as a starting point for your app.
25+
> LUIS offers [prebuilt domains](luis-how-to-use-prebuilt-domains.md) for many common scenarios. Check to see if you can use a prebuilt domain as a starting point for your app.
2726
2827
## Identify your intents
2928

30-
Think about the [intents](luis-concept-intent.md) that are important to your applications task.
29+
Think about the [intents](luis-concept-intent.md) that are important to your application's task.
3130

32-
Let's take the example of a travel app, with functions to book a flight and check the weather at the user's destination. You can define the `BookFlight` and `GetWeather` intents for these actions.
31+
Let's take the example of a travel app, with functions to book a flight and check the weather at the user's destination. You can define the `BookFlight` and `GetWeather` intents for these actions.
3332

3433
In a more complex app with more functions, you have more intents, and you should define them carefully so the intents aren't too specific. For example, `BookFlight` and `BookHotel` may need to be separate intents, but `BookInternationalFlight` and `BookDomesticFlight` may be too similar.
3534

3635
> [!NOTE]
3736
> It is a best practice to use only as many intents as you need to perform the functions of your app. If you define too many intents, it becomes harder for LUIS to classify utterances correctly. If you define too few, they may be so general that they overlap.
3837
39-
If you don't need to identify overall user intention, add all the example user utterances to the None intent. If your app grows into needing more intents, you can create them later.
38+
If you don't need to identify overall user intention, add all the example user utterances to the `None` intent. If your app grows into needing more intents, you can create them later.
4039

4140
## Create example utterances for each intent
4241

43-
Once you have determined the intents, create 15 to 30 example utterances for each intent. To begin with, do not have fewer than this number or create too many utterances for each intent. Each utterance should be different from the previous utterance. A good variety in the utterances includes overall word count, word choice, verb tense, and punctuation.
42+
To begin with, avoid creating too many utterances for each intent. Once you have determined the intents, create 15 to 30 example utterances per intent. Each utterance should be different from the previously provided utterances. A good variety in utterances include overall word count, word choice, verb tense, and punctuation.
4443

45-
Review [utterances](luis-concept-utterance.md) for more information.
44+
For more information, see [understanding good utterances for LUIS apps](luis-concept-utterance.md).
4645

4746
## Identify your entities
4847

49-
In the example utterances, identify the entities you want extracted. To book a flight, you need information like the destination, date, airline, ticket category, and travel class. Create entities for these data types and then mark the [entities](luis-concept-entity-types.md) in the example utterances because they are important for accomplishing an intent.
48+
In the example utterances, identify the entities you want extracted. To book a flight, you need information like the destination, date, airline, ticket category, and travel class. Create entities for these data types and then mark the [entities](luis-concept-entity-types.md) in the example utterances. Entities are important for accomplishing an intent.
5049

51-
When you determine which entities to use in your app, keep in mind that there are different types of entities for capturing relationships between types of objects. [Entities in LUIS](luis-concept-entity-types.md) provides more detail about the different types.
50+
When determining which entities to use in your app, keep in mind that there are different types of entities for capturing relationships between object types. [Entities in LUIS](luis-concept-entity-types.md) provides more detail about the different types.
51+
52+
> [!TIP]
53+
> LUIS offers [prebuilt entities](luis-prebuilt-entities.md) for common, conversational user scenarios. Consider using prebuilt entities as a starting point for your application development.
5254
5355
## Next steps
5456

55-
Learn about the typical [development cycle](luis-concept-app-iteration.md).
57+
> [!div class="nextstepaction"]
58+
> [Learning the LUIS development lifecylce](luis-concept-app-iteration.md)
59+

0 commit comments

Comments
 (0)