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/what-is-luis.md
+45-16Lines changed: 45 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,33 +8,62 @@ manager: nitinme
8
8
ms.service: cognitive-services
9
9
ms.subservice: language-understanding
10
10
ms.topic: overview
11
-
ms.date: 11/04/2019
11
+
ms.date: 11/22/2019
12
12
ms.author: diberry
13
13
#Customer intent: As a developer incorporating LUIS into my client application, I want to understand what natural language processing (LUIS) is, so that I can determine if it will meet my Cognitive Language needs.
14
14
---
15
15
16
16
# What is Language Understanding (LUIS)?
17
17
18
-
Language Understanding (LUIS) is a cloud-based API service that applies custom machine-learning intelligence to a user's conversational, natural language text to predict overall meaning, and pull out relevant, detailed information.
18
+
Language Understanding (LUIS) is a cloud-based API service that applies custom machine-learning intelligence to natural language text to predict overall meaning, and pull out relevant, detailed information.
19
19
20
-
A client application for LUIS is any conversational application that communicates with a user in natural language to complete a task. Examples of client applications include social media apps, chat bots, and speech-enabled desktop applications.
20
+
For example, when a client application sends the text, `find me a wireless keyboard for $30`, LUIS responds with the following JSON object.
21
+
22
+
```JSON
23
+
{
24
+
"query": "find me a wireless keyboard for $30",
25
+
"prediction": {
26
+
"topIntent": "Finditem",
27
+
"intents": {
28
+
"Finditem": {
29
+
"score": 0.934672
30
+
}
31
+
},
32
+
"entities": {
33
+
"item": [
34
+
"wireless keyboard"
35
+
],
36
+
"money": [
37
+
{
38
+
"number": 30,
39
+
"units": "Dollar"
40
+
}
41
+
]
42
+
}
43
+
44
+
}
45
+
}
46
+
```
47
+
In the example above, the _**intent**_, or overall meaning of the phrase is that the user is trying to find an item. The detailed pieces of information that LUIS extracts are called _**entities**_. In this case, the entities are the name of the item the user is looking for and the amount of money they want to spend.
48
+
49
+
Client applications use LUIS's returned JSON, the _intent_ (category), and _entities_ (extracted detailed information), to drive actions in the client application. A client application for LUIS is often a conversational application that communicates with a user in natural language to complete a task. Examples of client applications include social media apps, chat bots, and speech-enabled desktop applications.
21
50
22
51
")
23
52
24
-
## Use LUIS in a chat bot
53
+
## Example use LUIS in a chat bot
25
54
26
55
<aname="Accessing-LUIS"></a>
27
56
28
-
Once the LUIS app is published, a client application sends utterances (text) to the LUIS natural language processing endpoint [API][endpoint-apis] and receives the results as JSON responses. A common client application for LUIS is a chat bot.
57
+
A client application sends utterances (text) to the published LUIS natural language processing endpoint [API][endpoint-apis] and receives the results as JSON responses. A common client application for LUIS is a chat bot.
29
58
30
59
31
60

32
61
33
62
|Step|Action|
34
63
|:--|:--|
35
64
|1|The client application sends the user _utterance_ (text in their own words), "I want to call my HR rep." to the LUIS endpoint as an HTTP request.|
36
-
|2|LUIS enables you to craft your custom language models to add intelligence to your application. Machine learned language models take the user's unstructured input text and returns a JSON-formatted response, with a top intent, `HRContact`. The minimum JSON endpoint response contains the query utterance, and the top scoring intent. It can also extract data such as the _Contact Type_ entity.|
37
-
|3|The client application uses the JSON response to make decisions about how to fulfill the user's requests. These decisions can include decision tree in the bot framework code and calls to other services. |
65
+
|2|LUIS applies machine learned language models to the user's unstructured input text and returns a JSON-formatted response, with a top intent, `HRContact`. The minimum JSON endpoint response contains the query utterance, and the top scoring intent. It can also extract data such as the _Contact Type_ entity.|
66
+
|3|The client application uses the JSON response to make decisions about how to fulfill the user's requests. These decisions can include a decision tree in the bot and calls to other services. |
38
67
39
68
The LUIS app provides intelligence so the client application can make smart choices. LUIS doesn't provide those choices.
40
69
@@ -43,16 +72,16 @@ The LUIS app provides intelligence so the client application can make smart choi
43
72
44
73
## Natural language processing
45
74
46
-
Your LUIS app contains a domain-specific natural language model. You can start the LUIS app with a prebuilt domain model, build your own model, or blend pieces of a prebuilt domain with your own custom information.
75
+
Your LUIS app contains domain-specific natural language models, which work together. You can start the LUIS app with one or more prebuilt models, build your own model, or blend prebuilt models with your own custom information.
47
76
48
-
***Prebuilt model** LUIS has many prebuilt domain models including intents, utterances, and prebuilt entities. You can use the prebuilt entities without having to use the intents and utterances of the prebuilt model. [Prebuilt domain models](luis-how-to-use-prebuilt-domains.md) include the entire design for you and are a great way to start using LUIS quickly.
77
+
***Prebuilt model** LUIS has many prebuilt domains that include intent and entity models that work together to complete common usage scenarios. These domains include labeled utterances that can be inspected and edited, allowing you to customize them. [Prebuilt domain models](luis-how-to-use-prebuilt-domains.md) include the entire design for you and are a great way to start using LUIS quickly. In addition, there are prebuilt entities such as currency and number that you can use independently from the prebuilt domains.
49
78
50
-
***Custom model** LUIS gives you several ways to identify your own custom models including intents, and entities. Entities include machine-learned entities, specific or literal entities, and a combination of machine-learned and literal.
79
+
***Custom model** LUIS gives you several ways to build your own custom models including intents, and entities. Entities include machine-learned entities, pattern matching entities, and a combination of machine-learned and pattern matching.
51
80
52
-
## Build the LUIS model
53
-
Build the model with the [authoring](https://go.microsoft.com/fwlink/?linkid=2092087) APIs or with the [LUIS portal](https://www.luis.ai).
81
+
## Build the LUIS app
82
+
Build the app with the [authoring](https://go.microsoft.com/fwlink/?linkid=2092087) APIs or with the [LUIS portal](https://www.luis.ai).
54
83
55
-
The LUIS model begins with categories of user intentions called **[intents](luis-concept-intent.md)**. Each intent needs examples of user **[utterances](luis-concept-utterance.md)**. Each utterance can provide data that needs to be extracted.
84
+
The LUIS app begins with categories of input text called **[intents](luis-concept-intent.md)**. Each intent needs examples of user **[utterances](luis-concept-utterance.md)**. Each utterance can provide data that needs to be extracted.
56
85
57
86
|Example user utterance|Intent|Extracted data|
58
87
|-----------|-----------|-----------|
@@ -96,8 +125,8 @@ After your LUIS app is published and receives real user utterances, LUIS provide
96
125
97
126
<aname="using-luis"></a>
98
127
99
-
## Development lifecycle
100
-
LUIS provides tools, versioning, and collaboration with other LUIS authors to integrate into the full [development life cycle](luis-concept-app-iteration.md).
128
+
## Iterative development lifecycle
129
+
LUIS provides tools, versioning, and collaboration with other LUIS authors to integrate into the full iterative [development life cycle](luis-concept-app-iteration.md).
101
130
102
131
## Implementing LUIS
103
132
Language Understanding (LUIS), as a REST API, can be used with any product, service, or framework with an HTTP request. The following list contains the top Microsoft products and services used with LUIS.
@@ -124,7 +153,7 @@ Samples using LUIS:
124
153
## Next steps
125
154
126
155
*[What's new](whats-new.md)
127
-
* Author a new LUIS app with a [prebuilt](luis-get-started-create-app.md) or [custom](luis-quickstart-intents-only.md) domain.
156
+
* Author a new LUIS app with a [prebuilt](luis-get-started-create-app.md) or [custom](luis-quickstart-intents-only.md) domain
128
157
*[Query the prediction endpoint](luis-get-started-get-intent-from-browser.md) of a public IoT app.
129
158
*[Developer resources](developer-reference-resource.md) for LUIS.
0 commit comments