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/active-directory-b2c/validation-technical-profile.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,6 +59,9 @@ The **ValidationTechnicalProfile** element contains the following attribute:
59
59
|ContinueOnError|No| Indicating whether validation of any subsequent validation technical profiles should continue if this validation technical profile raises an error. Possible values: `true` or `false` (default, processing of further validation profiles will stop and an error returned). |
60
60
|ContinueOnSuccess | No | Indicating whether validation of any subsequent validation profiles should continue if this validation technical profile succeeds. Possible values: `true` or `false`. The default is `true`, meaning that the processing of further validation profiles will continue. |
61
61
62
+
> [!NOTE]
63
+
> Currently, if you set ContinueOnError to false for a validation technical profile of type ClaimsTransformation, the technical profile doesn't honor the setting. To overcome this issue, use Preconditions instead.
64
+
62
65
The **ValidationTechnicalProfile** element contains the following element:
Copy file name to clipboardExpand all lines: articles/ai-services/speech-service/includes/pattern-matching-overview.md
+17-17Lines changed: 17 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ description: Pattern Matching with the ``IntentRecognizer`` helps you get starte
5
5
author: chschrae
6
6
manager: travisw
7
7
ms.topic: include
8
-
ms.date: 11/15/2021
8
+
ms.date: 1/21/2024
9
9
ms.author: chschrae
10
10
keywords: intent recognition pattern matching
11
11
---
@@ -18,7 +18,7 @@ For supported locales, see [here](../language-support.md?tabs=intent-recognition
18
18
19
19
There are two types of strings used in the pattern matcher: "exact phrases" and "patterns". It's important to understand the differences.
20
20
21
-
Exact phrases are a strings of the exact words that you want to match. For example:
21
+
Exact phrases are strings of the exact words that you want to match. For example:
22
22
23
23
> "Take me to floor seven".
24
24
@@ -32,15 +32,15 @@ The ``PatternMatchingModel`` contains an ID to reference that model by, a list o
32
32
33
33
### Pattern Matching Intents
34
34
35
-
``PatternMatchingIntent`` objects represent a collection of phrases that are used to evaluate speech or text in the ``IntentRecognizer``. If the phrases are matched, then the ``IntentRecognitionResult`` returned will have the ID of the ``PatternMatchingIntent`` that was matched.
35
+
``PatternMatchingIntent`` objects represent a collection of phrases that are used to evaluate speech or text in the ``IntentRecognizer``. If the phrases are matched, then the ``IntentRecognitionResult`` returned has the ID of the ``PatternMatchingIntent`` that was matched.
36
36
37
37
### Pattern Matching Entities
38
38
39
-
``PatternMatchingEntity`` objects represent an individual entity reference and its corresponding properties that tell the ``IntentRecognizer`` how to treat it. All ``PatternMatchingEntity`` objects must have an ID that is present in a phrase or else it will not be matched.
39
+
``PatternMatchingEntity`` objects represent an individual entity reference and its corresponding properties that tell the ``IntentRecognizer`` how to treat it. All ``PatternMatchingEntity`` objects must have an ID that is present in a phrase or else it isn't matched.
40
40
41
41
#### Entity Naming restrictions
42
42
43
-
Entity names containing ':' characters assign a role to an entity. (See below)
43
+
Entity names containing ':' characters assign a role to an entity.
44
44
45
45
## Types of Entities
46
46
@@ -58,7 +58,7 @@ These entities are lazy matches that attempt to match as few words as possible u
58
58
59
59
In this case, the utterance "Take me to the floor parking 2" would match and return floorName1 = "parking" and floorName2 = "2".
60
60
61
-
It may be tricky to handle extra text if it's captured. Perhaps the user kept talking and the utterance captured more than their command. "Take me to floor parking 2 yes Janice I heard about that let's". In this case the floorName1 would be correct, but floorName2 would = "2 yes Janice I heard about that let's". It's important to be aware of the way the Entities match, and adjust your scenario appropriately. The Any entity type is the most basic and least precise type of matching done.
61
+
It can be tricky to handle extra captured text. Perhaps the user kept talking and the utterance captured more than their command. "Take me to floor parking 2 yes Janice I heard about that let's". In this case the floorName1 would be correct, but floorName2 would = "2 yes Janice I heard about that let's". It's important to be aware of the way the Entities match, and adjust your scenario appropriately. The Any entity type is the most basic and least precise type of matching done.
62
62
63
63
### List Entity
64
64
@@ -74,16 +74,16 @@ When an entity of type ID "List" is used in "Strict" mode, the engine only match
74
74
75
75
> "take me to floor 5" will not.
76
76
77
-
It's important to note that the entire Intent will not match, not just the entity.
77
+
It's important to note that the entire Intent won't match, not just the entity.
78
78
79
-
When an entity of type ID "List" is used in "Fuzzy" mode, the engine still matches the Intent, and will return the text that appeared in the slot in the utterance, even if it's not in the list. This is useful behind the scenes to help make the speech recognition better.
79
+
When an entity of type ID "List" is used in "Fuzzy" mode, the engine still matches the intent, and returns the text that appeared in the slot in the utterance, even if it's not in the list. This match is useful behind the scenes to help make the speech recognition better.
80
80
81
81
> [!WARNING]
82
82
> Fuzzy list entities are implemented, but not integrated into the speech recognition part. Therefore, they will match entities, but not improve speech recognition.
83
83
84
84
### Prebuilt Integer Entity
85
85
86
-
The "PrebuiltInteger" entity is used when you expect to get an integer in that slot. It will not match the intent if an integer cannot be found. The return value is a string representation of the number.
86
+
The "PrebuiltInteger" entity is used when you expect to get an integer in that slot. It will not match the intent if an integer can't be found. The return value is a string representation of the number.
87
87
88
88
### Examples of a valid match and return values
89
89
@@ -95,7 +95,7 @@ The "PrebuiltInteger" entity is used when you expect to get an integer in that s
95
95
96
96
> "four oh seven one" -> "4071"
97
97
98
-
If there's text that is not recognizable as a number, the entity and intent will not match.
98
+
If there's text that isn't recognizable as a number, the entity and intent won't match.
99
99
100
100
### Examples of an invalid match
101
101
@@ -111,11 +111,11 @@ Consider our elevator example.
111
111
112
112
> "Take me to floor {floorName}"
113
113
114
-
If "floorName" is a prebuilt integer entity, the expectation is that whatever text is inside the slot represents an integer. Here a floor number would match well, but a floor with a name such as "lobby" would not.
114
+
If "floorName" is a prebuilt integer entity, the expectation is that whatever text is inside the slot represents an integer. Here a floor number would match well, but a floor with a name such as "lobby" wouldn't.
115
115
116
116
## Grouping required and optional items
117
117
118
-
In the pattern, it is allowed to include words or entities that "might" be present in the utterance. This is especially useful for determiners like "the", "a", or "an". This doesn't have any functional difference from hard coding out the many combinations, but can help reduce the number of patterns needed. Indicate optional items with "[" and "]". Indicate required items with "(" and ")". You may include multiple items in the same group by separating them with a '|' character.
118
+
In the pattern, it's allowed to include words or entities that "might" be present in the utterance. This is especially useful for determiners like "the", "a", or "an". This doesn't have any functional difference from hard coding out the many combinations, but can help reduce the number of patterns needed. Indicate optional items with "[" and "]". Indicate required items with "(" and ")". You can include multiple items in the same group by separating them with a '|' character.
119
119
120
120
To see how this would reduce the number of patterns needed, consider the following set:
121
121
@@ -135,15 +135,15 @@ To see how this would reduce the number of patterns needed, consider the followi
135
135
136
136
> "Bring me to {floorName} please"
137
137
138
-
These can all be reduced to a single pattern with grouping and optional items. First, it is possible to group "to" and "the" together as optional words like so: "[to | the]", and second we can make the "please" optional as well. Last, we can group the "bring" and "take" as required.
138
+
These can all be reduced to a single pattern with grouping and optional items. First, it's possible to group "to" and "the" together as optional words like so: "[to | the]", and second we can make the "please" optional as well. Last, we can group the "bring" and "take" as required.
139
139
140
140
>"(Bring | Take) me [to | the] {floorName} [please]"
141
141
142
142
It's also possible to include optional entities. Imagine there are multiple parking levels and you want to match the word before the {floorName}. You could do so with a pattern like this:
143
143
144
144
>"Take me to [{floorType}] {floorName}"
145
145
146
-
Optionals are also useful if you might be using keyword recognition and a push-to-talk function. This means sometimes the keyword will be present, and sometimes it won't. Assuming your keyword was "computer" your pattern would look something like this.
146
+
Optionals are also useful if you might be using keyword recognition and a push-to-talk function. This means sometimes the keyword is present, and sometimes it won't. Assuming your keyword was "computer" your pattern would look something like this.
147
147
148
148
>"[Computer] Take me to {floorName}"
149
149
@@ -152,23 +152,23 @@ Optionals are also useful if you might be using keyword recognition and a push-t
152
152
153
153
## Entity roles
154
154
155
-
Inside the pattern, there may be a scenario where you want to use the same entity multiple times. Consider the scenario of booking a flight from one city to another. In this case the list of cities is the same, but it's necessary to know which city is the user coming from and which city is the destination. To accomplish this, you can use a role assigned to an entity using a ':'.
155
+
Inside the pattern, there might be a scenario where you want to use the same entity multiple times. Consider the scenario of booking a flight from one city to another. In this case the list of cities is the same, but it's necessary to know which city is the user coming from and which city is the destination. To accomplish this, you can use a role assigned to an entity using a ':'.
156
156
157
157
> "Book a flight from {city:from} to {city:destination}"
158
158
159
159
Given a pattern like this, there will be two entities in the result labeled "city:from" and "city:destination" but they'll both be referencing the "city" entity for matching purposes.
160
160
161
161
## Intent Matching Priority
162
162
163
-
Sometimes multiple patterns may match the same utterance. In this case, the engine gives priority to patterns as follows.
163
+
Sometimes multiple patterns match the same utterance. In this case, the engine gives priority to patterns as follows.
164
164
165
165
1. Exact Phrases.
166
166
2. Patterns with more Entities.
167
167
3. Patterns with Integer Entities.
168
168
4. Patterns with List Entities.
169
169
5. Patterns with Any Entities.
170
170
6. Patterns with more bytes matched.
171
-
- Example: Pattern "click {something} on the left" will be higher priority than "click {something}".
171
+
- Example: Pattern "select {something} on the left" will be higher priority than "select {something}".
Copy file name to clipboardExpand all lines: articles/ai-services/speech-service/ingestion-client.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,12 @@
1
1
---
2
2
title: Ingestion Client - Speech service
3
3
titleSuffix: Azure AI services
4
-
description: In this article we describe a tool released on GitHub that enables customers push audio files to Speech service easily and quickly
4
+
description: Learn about a tool released on GitHub that enables customers push audio files to Speech service easily and quickly
5
5
author: eric-urban
6
6
manager: nitinme
7
7
ms.service: azure-ai-speech
8
8
ms.topic: conceptual
9
-
ms.date: 08/29/2022
9
+
ms.date: 1/21/2024
10
10
ms.author: eur
11
11
---
12
12
@@ -26,7 +26,7 @@ An Azure account and a multi-service Azure AI services resource are needed to ru
26
26
* <ahref="https://portal.azure.com/#create/Microsoft.CognitiveServicesAllInOne"title="Create an Azure AI services resource"target="_blank">Create an Azure AI services resource</a> in the Azure portal.
27
27
* Get the resource key and region. After your resource is deployed, select **Go to resource** to view and manage keys. For more information about Azure AI services resources, see [Get the keys for your resource](~/articles/ai-services/multi-service-resource.md?pivots=azportal#get-the-keys-for-your-resource).
28
28
29
-
See the [Getting Started Guide for the Ingestion Client](https://github.com/Azure-Samples/cognitive-services-speech-sdk/blob/master/samples/ingestion/ingestion-client/Setup/guide.md) on GitHub to learn how to setup and use the tool.
29
+
See the [Getting Started Guide for the Ingestion Client](https://github.com/Azure-Samples/cognitive-services-speech-sdk/blob/master/samples/ingestion/ingestion-client/Setup/guide.md) on GitHub to learn how to set up and use the tool.
30
30
31
31
## Ingestion Client Features
32
32
@@ -50,8 +50,8 @@ Here are some Language service features that are used by the Ingestion Client:
50
50
51
51
Besides Azure AI services, these Azure products are used to complete the solution:
52
52
53
-
-[Azure storage](https://azure.microsoft.com/product-categories/storage/): For storing telephony data and the transcripts that are returned by the Batch Transcription API. This storage account should use notifications, specifically for when new files are added. These notifications are used to trigger the transcription process.
54
-
-[Azure Functions](https://azure.microsoft.com/services/functions/): For creating the shared access signature (SAS) URI for each recording, and triggering the HTTP POST request to start a transcription. Additionally, you use Azure Functions to create requests to retrieve and delete transcriptions by using the Batch Transcription API.
53
+
-[Azure storage](https://azure.microsoft.com/product-categories/storage/): Used for storing telephony data and the transcripts that batch transcription API returns. This storage account should use notifications, specifically for when new files are added. These notifications are used to trigger the transcription process.
54
+
-[Azure Functions](https://azure.microsoft.com/services/functions/): Used for creating the shared access signature (SAS) URI for each recording, and triggering the HTTP POST request to start a transcription. Additionally, you use Azure Functions to create requests to retrieve and delete transcriptions by using the Batch Transcription API.
Copy file name to clipboardExpand all lines: articles/ai-services/speech-service/intent-recognition.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,17 +7,17 @@ ms.author: eur
7
7
manager: nitinme
8
8
ms.service: azure-ai-speech
9
9
ms.topic: overview
10
-
ms.date: 02/22/2023
10
+
ms.date: 1/21/2024
11
11
keywords: intent recognition
12
12
---
13
13
14
14
# What is intent recognition?
15
15
16
-
In this overview, you will learn about the benefits and capabilities of intent recognition. The Azure AI Speech SDK provides two ways to recognize intents, both described below. An intent is something the user wants to do: book a flight, check the weather, or make a call. Using intent recognition, your applications, tools, and devices can determine what the user wants to initiate or do based on options you define in the Intent Recognizer or Conversational Language Understanding (CLU) model.
16
+
In this overview, you learn about the benefits and capabilities of intent recognition. An intent is something the user wants to do: book a flight, check the weather, or make a call. With intent recognition, your applications, tools, and devices can determine what the user wants to initiate or do based on options. You define user intent in the intent recognizer or conversational language understanding (CLU) model.
17
17
18
18
## Pattern matching
19
19
20
-
The Speech SDK provides an embedded pattern matcher that you can use to recognize intents in a very strict way. This is useful for when you need a quick offline solution. This works especially well when the user is going to be trained in some way or can be expected to use specific phrases to trigger intents. For example: "Go to floor seven", or "Turn on the lamp" etc. It is recommended to start here and if it no longer meets your needs, switch to using [CLU](#conversational-language-understanding) or a combination of the two.
20
+
The Speech SDK provides an embedded pattern matcher that you can use to recognize intents in a strict way. This is useful for when you need a quick offline solution. This works especially well when the user is going to be trained in some way or can be expected to use specific phrases to trigger intents. For example: "Go to floor seven", or "Turn on the lamp" etc. It's recommended to start here and if it no longer meets your needs, switch to using [CLU](#conversational-language-understanding) or a combination of the two.
21
21
22
22
Use pattern matching if:
23
23
* You're only interested in matching strictly what the user said. These patterns match more aggressively than [conversational language understanding (CLU)](../language-service/conversational-language-understanding/overview.md).
0 commit comments