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
+16-19Lines changed: 16 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ 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
---
@@ -17,11 +17,8 @@ ms.author: diberry
17
17
18
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
-
Example -
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
21
22
-
Client application sends - “find me a wireless keyboard for $30”
23
-
24
-
LUIS responds -
25
22
```JSON
26
23
{
27
24
"query": "find me a wireless keyboard for $30",
@@ -47,26 +44,26 @@ LUIS responds -
47
44
}
48
45
}
49
46
```
50
-
In the example above, the intent, or overall meaning of the phrase is the user is trying to find an item. The detailed information that LUIS can pull out are what we call entities. In this case it's the name of the item the user is looking for and the amount of money they want to spend.
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.
51
48
52
-
Client applications use the categorization, or itent and detailed information, or entities, returned by LUIS to drive actions in the application. Examples of client applications include social media apps, chat bots, and speech-enabled desktop applications. A client application for LUIS is often a conversational application that communicates with a user in natural language to complete a task.
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.
53
50
54
51
")
55
52
56
53
## Example use LUIS in a chat bot
57
54
58
55
<aname="Accessing-LUIS"></a>
59
56
60
-
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.
61
58
62
59
63
60

64
61
65
62
|Step|Action|
66
63
|:--|:--|
67
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.|
68
-
|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.|
69
-
|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. |
70
67
71
68
The LUIS app provides intelligence so the client application can make smart choices. LUIS doesn't provide those choices.
72
69
@@ -75,16 +72,16 @@ The LUIS app provides intelligence so the client application can make smart choi
75
72
76
73
## Natural language processing
77
74
78
-
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 pieces of a prebuilt models 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.
79
76
80
-
***Prebuilt model** LUIS has many prebuilt domains that include intent and entity models that work together to complete common useage scenarios. These domains include actual labeled utterances that can be inspected and edited if you wish 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 outside the prebuilt domains.
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.
81
78
82
-
***Custom model** LUIS gives you several ways to build your own custom models including intents, and entities. Entities include machine-learned entities, pattern match entities, and a combination of machine-learned and pattern match.
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.
83
80
84
-
## Build the LUIS model
85
-
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).
86
83
87
-
The LUIS model 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.
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.
88
85
89
86
|Example user utterance|Intent|Extracted data|
90
87
|-----------|-----------|-----------|
@@ -128,8 +125,8 @@ After your LUIS app is published and receives real user utterances, LUIS provide
128
125
129
126
<aname="using-luis"></a>
130
127
131
-
## Development lifecycle
132
-
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).
133
130
134
131
## Implementing LUIS
135
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.
@@ -156,7 +153,7 @@ Samples using LUIS:
156
153
## Next steps
157
154
158
155
*[What's new](whats-new.md)
159
-
* 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
160
157
*[Query the prediction endpoint](luis-get-started-get-intent-from-browser.md) of a public IoT app.
161
158
*[Developer resources](developer-reference-resource.md) for LUIS.
0 commit comments