Skip to content

Commit 36c2058

Browse files
committed
Merge branch 'main' of https://github.com/MicrosoftDocs/azure-docs-pr into fixPlural
2 parents b8e28e6 + 60e2a85 commit 36c2058

File tree

11 files changed

+105
-33
lines changed

11 files changed

+105
-33
lines changed

articles/azure-netapp-files/azacsnap-preview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Feedback on AzAcSnap, including this preview, can be provided [online](https://a
3535

3636
## Getting the AzAcSnap Preview snapshot tools
3737

38-
Refer to [Get started with Azure Application COnsistent Snapshot tool](azacsnap-get-started.md)
38+
Refer to [Get started with Azure Application Consistent Snapshot tool](azacsnap-get-started.md)
3939

4040
Return to this document for details on using the preview features.
4141

articles/cognitive-services/language-service/concepts/use-asynchronously.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ manager: nitinme
88
ms.service: cognitive-services
99
ms.subservice: language-service
1010
ms.topic: conceptual
11-
ms.date: 06/28/2022
11+
ms.date: 08/02/2022
1212
ms.author: aahi
1313
---
1414

@@ -26,6 +26,7 @@ Currently, the following features are available to be used asynchronously:
2626
* Customer content detection
2727
* Sentiment analysis and opinion mining
2828
* Text Analytics for health
29+
* Personal Identifiable information (PII)
2930

3031
When you send asynchronous requests, you will incur charges based on number of text records you include in your request, for each feature use. For example, if you send a text record for sentiment analysis and NER, it will be counted as sending two text records, and you will be charged for both according to your [pricing tier](https://azure.microsoft.com/pricing/details/cognitive-services/language-service/).
3132

articles/cognitive-services/language-service/personally-identifiable-information/concepts/entity-categories.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,8 @@ The PII feature includes the ability to detect personal (`PII`) and health (`PHI
2323

2424
> [!NOTE]
2525
> To detect protected health information (PHI), use the `domain=phi` parameter and model version `2020-04-01` or later.
26-
>
27-
> For example: `https://<your-custom-subdomain>.cognitiveservices.azure.com/text/analytics/v3.1/entities/recognition/pii?domain=phi&model-version=2021-01-15`
28-
26+
27+
2928
The following entity categories are returned when you're sending API requests PII feature.
3029

3130
## Category: Person
@@ -440,7 +439,7 @@ The entity in this category can have the following subcategories.
440439

441440
### Azure information
442441

443-
These entity categories includes identifiable Azure information, including authentication information and connection strings. Not returned as PHI.
442+
These entity categories include identifiable Azure information like authentication information and connection strings. Not returned as PHI.
444443

445444
:::row:::
446445
:::column span="":::

articles/cognitive-services/language-service/personally-identifiable-information/how-to-call-for-conversations.md

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ You can submit the input to the API as list of conversation items. Analysis is p
3939

4040
When using the async feature, the API results are available for 24 hours from the time the request was ingested, and is indicated in the response. After this time period, the results are purged and are no longer available for retrieval.
4141

42-
When you submit data to conversational PII, we can send one conversation (chat or spoken) per request.
42+
When you submit data to conversational PII, you can send one conversation (chat or spoken) per request.
4343

4444
The API will attempt to detect all the [defined entity categories](concepts/conversations-entity-categories.md) for a given conversation input. If you want to specify which entities will be detected and returned, use the optional `piiCategories` parameter with the appropriate entity categories.
4545

@@ -62,22 +62,18 @@ When you get results from PII detection, you can stream the results to an applic
6262

6363
|Language |Package version |
6464
|---------|---------|
65-
|.NET | [5.2.0-beta.2](https://www.nuget.org/packages/Azure.AI.TextAnalytics/5.2.0-beta.2) |
66-
|Python | [5.2.0b2](https://pypi.org/project/azure-ai-textanalytics/5.2.0b2/) |
65+
|.NET | [1.0.0](https://www.nuget.org/packages/Azure.AI.Language.Conversations/1.0.0) |
66+
|Python | [1.0.0](https://pypi.org/project/azure-ai-language-conversations/1.0.0) |
6767

6868
4. After you've installed the client library, use the following samples on GitHub to start calling the API.
6969

70-
* [C#](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/textanalytics/Azure.AI.TextAnalytics/samples/Sample9_RecognizeCustomEntities.md)
71-
* [Java](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/textanalytics/azure-ai-textanalytics/src/samples/java/com/azure/ai/textanalytics/lro/RecognizeCustomEntities.java)
72-
* [JavaScript](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/textanalytics/ai-text-analytics/samples/v5/javascript/customText.js)
73-
* [Python](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/textanalytics/azure-ai-textanalytics/samples/sample_recognize_custom_entities.py)
70+
* [C#](https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/cognitivelanguage/Azure.AI.Language.Conversations/samples/Sample8_AnalyzeConversation_ConversationPII_Transcript.md)
71+
* [Python](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/cognitivelanguage/azure-ai-language-conversations/samples/sample_conv_pii_transcript_input.py)
7472

7573
5. See the following reference documentation for more information on the client, and return object:
7674

77-
* [C#](/dotnet/api/azure.ai.textanalytics?view=azure-dotnet-preview&preserve-view=true)
78-
* [Java](/java/api/overview/azure/ai-textanalytics-readme?view=azure-java-preview&preserve-view=true)
79-
* [JavaScript](/javascript/api/overview/azure/ai-text-analytics-readme?view=azure-node-preview&preserve-view=true)
80-
* [Python](/python/api/azure-ai-textanalytics/azure.ai.textanalytics?view=azure-python-preview&preserve-view=true)
75+
* [C#](/dotnet/api/azure.ai.language.conversations)
76+
* [Python](/python/api/azure-ai-language-conversations/azure.ai.language.conversations.aio)
8177

8278
# [REST API](#tab/rest-api)
8379

articles/cognitive-services/language-service/personally-identifiable-information/how-to-call.md

Lines changed: 66 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ ms.custom: language-service-pii, ignite-fall-2021
1616

1717
# How to detect and redact Personally Identifying Information (PII)
1818

19-
The PII feature can evaluate unstructured text, extract sensitive information (PII) and health information (PHI) in text across several pre-defined categories.
19+
The PII feature can evaluate unstructured text, extract and redact sensitive information (PII) and health information (PHI) in text across several [pre-defined categories](concepts/entity-categories.md).
2020

2121
## Determine how to process the data (optional)
2222

@@ -26,20 +26,82 @@ By default, this feature will use the latest available AI model on your text. Yo
2626

2727
### Input languages
2828

29-
When you submit documents to be processed, you can specify which of [the supported languages](language-support.md) they're written in. if you don't specify a language, key phrase extraction will default to English. The API may return offsets in the response to support different [multilingual and emoji encodings](../concepts/multilingual-emoji-support.md).
29+
When you submit documents to be processed, you can specify which of [the supported languages](language-support.md) they're written in. if you don't specify a language, extraction will default to English. The API may return offsets in the response to support different [multilingual and emoji encodings](../concepts/multilingual-emoji-support.md).
3030

3131
## Submitting data
3232

3333
Analysis is performed upon receipt of the request. Using the PII detection feature synchronously is stateless. No data is stored in your account, and results are returned immediately in the response.
3434

3535
[!INCLUDE [asynchronous-result-availability](../includes/async-result-availability.md)]
3636

37-
The API will attempt to detect the [defined entity categories](concepts/entity-categories.md) for a given document language. If you want to specify which entities will be detected and returned, use the optional `piiCategories` parameter with the appropriate entity categories. This parameter can also let you detect entities that aren't enabled by default for your document language. The following URL example would detect a French driver's license number that might occur in English text, along with the default English entities.
37+
## Select which entities to be returned
38+
39+
The API will attempt to detect the [defined entity categories](concepts/entity-categories.md) for a given document language. If you want to specify which entities will be detected and returned, use the optional `piiCategories` parameter with the appropriate entity categories. This parameter can also let you detect entities that aren't enabled by default for your document language. The following example would detect only `Person`. You can specify one or more [entity types](concepts/entity-categories.md) to be returned.
3840

3941
> [!TIP]
4042
> If you don't include `default` when specifying entity categories, The API will only return the entity categories you specify.
4143
42-
`https://<your-custom-subdomain>.cognitiveservices.azure.com/text/analytics/v3.1/entities/recognition/pii?piiCategories=default,FRDriversLicenseNumber`
44+
**Input:**
45+
46+
> [!NOTE]
47+
> In this example, it will return only **person** entity type:
48+
49+
`https://<your-language-resource-endpoint>/language/:analyze-text?api-version=2022-05-01`
50+
51+
```bash
52+
{
53+
    "kind""PiiEntityRecognition",
54+
    "parameters"
55+
    {
56+
        "modelVersion""latest",
57+
"piiCategories" :
58+
[
59+
"Person"
60+
]
61+
    },
62+
    "analysisInput":
63+
    {
64+
        "documents":
65+
        [
66+
            {
67+
                "id":"1",
68+
                "language""en",
69+
                "text""We went to Contoso foodplace located at downtown Seattle last week for a dinner party, and we adore the spot! They provide marvelous food and they have a great menu. The chief cook happens to be the owner (I think his name is John Doe) and he is super nice, coming out of the kitchen and greeted us all. We enjoyed very much dining in the place! The pasta I ordered was tender and juicy, and the place was impeccably clean. You can even pre-order from their online menu at www.contosofoodplace.com, call 112-555-0176 or send email to [email protected]! The only complaint I have is the food didn't come fast enough. Overall I highly recommend it!"
70+
            }
71+
        ]
72+
    }
73+
}
74+
75+
```
76+
77+
**Output:**
78+
79+
```bash
80+
81+
{
82+
"kind": "PiiEntityRecognitionResults",
83+
"results": {
84+
"documents": [
85+
{
86+
"redactedText": "We went to Contoso foodplace located at downtown Seattle last week for a dinner party, and we adore the spot! They provide marvelous food and they have a great menu. The chief cook happens to be the owner (I think his name is ********) and he is super nice, coming out of the kitchen and greeted us all. We enjoyed very much dining in the place! The pasta I ordered was tender and juicy, and the place was impeccably clean. You can even pre-order from their online menu at www.contosofoodplace.com, call 112-555-0176 or send email to [email protected]! The only complaint I have is the food didn't come fast enough. Overall I highly recommend it!",
87+
"id": "1",
88+
"entities": [
89+
{
90+
"text": "John Doe",
91+
"category": "Person",
92+
"offset": 226,
93+
"length": 8,
94+
"confidenceScore": 0.98
95+
}
96+
],
97+
"warnings": []
98+
}
99+
],
100+
"errors": [],
101+
"modelVersion": "2021-01-15"
102+
}
103+
}
104+
```
43105

44106
## Getting PII results
45107

articles/cognitive-services/language-service/personally-identifiable-information/language-support.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ manager: nitinme
88
ms.service: cognitive-services
99
ms.subservice: language-service
1010
ms.topic: conceptual
11-
ms.date: 11/02/2021
11+
ms.date: 08/02/2022
1212
ms.author: aahi
1313
ms.custom: language-service-pii, ignite-fall-2021
1414
---
1515

1616
# Personally Identifiable Information (PII) detection language support
1717

18-
Use this article to learn which natural languages are supported by the PII feature of Azure Cognitive Service for Language.
18+
Use this article to learn which natural languages are supported by the PII and conversation PII (preview) features of Azure Cognitive Service for Language.
1919

2020
> [!NOTE]
2121
> * Languages are added as new [model versions](how-to-call.md#specify-the-pii-detection-model) are released.
@@ -24,7 +24,7 @@ Use this article to learn which natural languages are supported by the PII featu
2424

2525
## PII language support
2626

27-
| Language | Language code | Starting with v3 model version: | Notes |
27+
| Language | Language code | Starting with model version | Notes |
2828
|:----------------------|:-------------:|:-------------------------------:|:------------------:|
2929
| Chinese-Simplified | `zh-hans` | 2021-01-15 | `zh` also accepted |
3030
| English | `en` | 2020-07-01 | |
@@ -41,7 +41,7 @@ Use this article to learn which natural languages are supported by the PII featu
4141

4242
## PII language support
4343

44-
| Language | Language code | Starting with v3 model version: | Notes |
44+
| Language | Language code | Starting with model version | Notes |
4545
|:----------------------|:-------------:|:-------------------------------:|:------------------:|
4646
| English | `en` | 2022-05-15-preview | |
4747

articles/cognitive-services/language-service/personally-identifiable-information/overview.md

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,32 +8,49 @@ manager: nitinme
88
ms.service: cognitive-services
99
ms.subservice: language-service
1010
ms.topic: overview
11-
ms.date: 06/15/2022
11+
ms.date: 08/02/2022
1212
ms.author: aahi
1313
ms.custom: language-service-pii, ignite-fall-2021
1414
---
1515

1616
# What is Personally Identifiable Information (PII) detection in Azure Cognitive Service for Language?
1717

18-
PII detection is one of the features offered by [Azure Cognitive Service for Language](../overview.md), a collection of machine learning and AI algorithms in the cloud for developing intelligent applications that involve written language. The PII detection feature can identify, categorize, and redact sensitive information in unstructured text. For example: phone numbers, email addresses, and forms of identification. The method for utilizing PII in conversations is different than other use cases, and articles for this use have been separated.
18+
PII detection is one of the features offered by [Azure Cognitive Service for Language](../overview.md), a collection of machine learning and AI algorithms in the cloud for developing intelligent applications that involve written language. The PII detection feature can **identify, categorize, and redact** sensitive information in unstructured text. For example: phone numbers, email addresses, and forms of identification. The method for utilizing PII in conversations is different than other use cases, and articles for this use have been separated.
1919

2020
* [**Quickstarts**](quickstart.md) are getting-started instructions to guide you through making requests to the service.
2121
* [**How-to guides**](how-to-call.md) contain instructions for using the service in more specific or customized ways.
2222
* The [**conceptual articles**](concepts/entity-categories.md) provide in-depth explanations of the service's functionality and features.
2323

24+
PII comes into two shapes:
25+
* [PII](how-to-call.md) - works on unstructured text.
26+
* [Conversation PII (preview)](how-to-call-for-conversations.md) - tailored model to work on conversation transcription.
27+
2428

2529
[!INCLUDE [Typical workflow for pre-configured language features](../includes/overview-typical-workflow.md)]
2630

2731
[!INCLUDE [Developer reference](../includes/reference-samples-text-analytics.md)]
2832

33+
34+
2935
## Responsible AI
3036

31-
An AI system includes not only the technology, but also the people who will use it, the people who will be affected by it, and the environment in which it is deployed. Read the [transparency note for PII](/legal/cognitive-services/language-service/transparency-note-personally-identifiable-information?context=/azure/cognitive-services/language-service/context/context) to learn about responsible AI use and deployment in your systems. You can also see the following articles for more information:
37+
An AI system includes not only the technology, but also the people who will use it, the people who will be affected by it, and the environment in which it's deployed. Read the [transparency note for PII](/legal/cognitive-services/language-service/transparency-note-personally-identifiable-information?context=/azure/cognitive-services/language-service/context/context) to learn about responsible AI use and deployment in your systems. You can also see the following articles for more information:
3238

3339
[!INCLUDE [Responsible AI links](../includes/overview-responsible-ai-links.md)]
3440

41+
## Example scenarios
42+
43+
* **Apply sensitivity labels** - For example, based on the results from the PII service, a public sensitivity label might be applied to documents where no PII entities are detected. For documents where US addresses and phone numbers are recognized, a confidential label might be applied. A highly confidential label might be used for documents where bank routing numbers are recognized.
44+
* **Redact some categories of personal information from documents that get wider circulation** - For example, if customer contact records are accessible to first line support representatives, the company may want to redact the customer's personal information besides their name from the version of the customer history to preserve the customer's privacy.
45+
* **Redact personal information in order to reduce unconscious bias** - For example, during a company's resume review process, they may want to block name, address and phone number to help reduce unconscious gender or other biases.
46+
* **Replace personal information in source data for machine learning to reduce unfairness** – For example, if you want to remove names that might reveal gender when training a machine learning model, you could use the service to identify them and you could replace them with generic placeholders for model training.
47+
* **Remove personal information from call center transcription** – For example, if you want to remove names or other PII data that happen between the agent and the customer in a call center scenario. You could use the service to identify and remove them.
48+
* **Data cleaning for data science** - PII can be used to make the data ready for data scientists and engineers to be able to use these data to train their machine learning models. Redacting the data to make sure that customer data isn't exposed.
49+
50+
51+
3552
## Next steps
3653

3754
There are two ways to get started using the entity linking feature:
38-
* [Language Studio](../language-studio.md), which is a web-based platform that enables you to try several Azure Cognitive Service for Language features without needing to write code.
55+
* [Language Studio](../language-studio.md), which is a web-based platform that enables you to try several Language service features without needing to write code.
3956
* The [quickstart article](quickstart.md) for instructions on making requests to the service using the REST API and client library SDK.

articles/cognitive-services/language-service/toc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -693,7 +693,7 @@ items:
693693
href: personally-identifiable-information/quickstart.md
694694
- name: PII language support
695695
href: personally-identifiable-information/language-support.md
696-
- name: Samples
696+
- name: SDK Samples
697697
items:
698698
- name: C#
699699
href: https://github.com/Azure/azure-sdk-for-net/tree/master/sdk/textanalytics/Azure.AI.TextAnalytics/samples

articles/dms/migration-using-azure-data-studio.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,6 @@ When you migrate database(s) using the Azure SQL migration extension for Azure D
129129
- When migrating to SQL Server on Azure Virtual Machines, SQL Server 2008 and below as target versions are not supported currently.
130130
- If you are using SQL Server 2012 or SQL Server 2014 you need to store your source database backup files on an Azure Storage Blob Container instead of using the network share option. Store the backup files as page blobs since block blobs are only supported in SQL 2016 and after.
131131
- Migrating to Azure SQL Database isn't supported.
132-
- Azure storage accounts secured by specific firewall rules or configured with a private endpoint are not supported for migrations.
133132
- You can't use an existing self-hosted integration runtime created from Azure Data Factory for database migrations with DMS. Initially, the self-hosted integration runtime should be created using the Azure SQL migration extension in Azure Data Studio and can be reused for further database migrations.
134133

135134
## Pricing

0 commit comments

Comments
 (0)