Skip to content

Commit 77757f5

Browse files
update link to pii entity categories (Azure#27646)
1 parent 4654e35 commit 77757f5

File tree

6 files changed

+11
-7
lines changed

6 files changed

+11
-7
lines changed

sdk/textanalytics/azure-ai-textanalytics/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -740,7 +740,7 @@ This project has adopted the [Microsoft Open Source Code of Conduct][code_of_con
740740
[key_phrase_extraction]: https://docs.microsoft.com/azure/cognitive-services/language-service/key-phrase-extraction/overview
741741
[linked_entities_categories]: https://aka.ms/taner
742742
[linked_entity_recognition]: https://docs.microsoft.com/azure/cognitive-services/language-service/entity-linking/overview
743-
[pii_entity_categories]: https://aka.ms/tanerpii
743+
[pii_entity_categories]: https://aka.ms/azsdk/language/pii
744744
[named_entity_recognition]: https://docs.microsoft.com/azure/cognitive-services/language-service/named-entity-recognition/overview
745745
[named_entity_categories]: https://aka.ms/taner
746746
[azure_core_ref_docs]: https://aka.ms/azsdk-python-core-policies

sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ class PiiEntityDomain(str, Enum, metaclass=CaseInsensitiveEnumMeta):
312312
"""The different domains of PII entities that users can filter by"""
313313

314314
PROTECTED_HEALTH_INFORMATION = (
315-
"phi" # See https://aka.ms/tanerpii for more information.
315+
"phi" # See https://aka.ms/azsdk/language/pii for more information.
316316
)
317317

318318

@@ -2009,7 +2009,7 @@ def _to_generated(self, api_version, task_id):
20092009

20102010
class RecognizePiiEntitiesAction(DictMixin):
20112011
"""RecognizePiiEntitiesAction encapsulates the parameters for starting a long-running PII
2012-
Entities Recognition operation.
2012+
Entities Recognition operation. See more information in the service docs: https://aka.ms/azsdk/language/pii
20132013
20142014
If you just want to recognize pii entities in a list of documents, and not perform multiple
20152015
long running actions on the input of documents, call method `recognize_pii_entities` instead

sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/_text_analytics_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ def recognize_pii_entities(
379379
380380
Returns a list of personal information entities ("SSN",
381381
"Bank Account", etc) in the document. For the list of supported entity types,
382-
check https://aka.ms/tanerpii
382+
check https://aka.ms/azsdk/language/pii
383383
384384
See https://aka.ms/azsdk/textanalytics/data-limits for service data limits.
385385
@@ -403,7 +403,7 @@ def recognize_pii_entities(
403403
level statistics in the `statistics` field of the document-level response.
404404
:keyword domain_filter: Filters the response entities to ones only included in the specified domain.
405405
I.e., if set to 'phi', will only return entities in the Protected Healthcare Information domain.
406-
See https://aka.ms/tanerpii for more information.
406+
See https://aka.ms/azsdk/language/pii for more information.
407407
:paramtype domain_filter: str or ~azure.ai.textanalytics.PiiEntityDomain
408408
:keyword categories_filter: Instead of filtering over all PII entity categories, you can pass in a list of
409409
the specific PII entity categories you want to filter out. For example, if you only want to filter out

sdk/textanalytics/azure-ai-textanalytics/azure/ai/textanalytics/aio/_text_analytics_client_async.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ async def recognize_pii_entities(
374374
375375
Returns a list of personal information entities ("SSN",
376376
"Bank Account", etc) in the document. For the list of supported entity types,
377-
check https://aka.ms/tanerpii
377+
check https://aka.ms/azsdk/language/pii
378378
379379
See https://aka.ms/azsdk/textanalytics/data-limits for service data limits.
380380
@@ -398,7 +398,7 @@ async def recognize_pii_entities(
398398
level statistics in the `statistics` field of the document-level response.
399399
:keyword domain_filter: Filters the response entities to ones only included in the specified domain.
400400
I.e., if set to 'phi', will only return entities in the Protected Healthcare Information domain.
401-
See https://aka.ms/tanerpii for more information.
401+
See https://aka.ms/azsdk/language/pii for more information.
402402
:paramtype domain_filter: str or ~azure.ai.textanalytics.PiiEntityDomain
403403
:keyword categories_filter: Instead of filtering over all PII entity categories, you can pass in a list of
404404
the specific PII entity categories you want to filter out. For example, if you only want to filter out

sdk/textanalytics/azure-ai-textanalytics/samples/async_samples/sample_recognize_pii_entities_async.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
In this sample, we will be working for a company that handles loan payments. To follow privacy guidelines,
1515
we need to redact all of our information before we make it public.
1616
17+
See more information in the service docs: https://aka.ms/azsdk/language/pii
18+
1719
USAGE:
1820
python sample_recognize_pii_entities_async.py
1921

sdk/textanalytics/azure-ai-textanalytics/samples/sample_recognize_pii_entities.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
In this sample, we will be working for a company that handles loan payments. To follow privacy guidelines,
1515
we need to redact all of our information before we make it public.
1616
17+
See more information in the service docs: https://aka.ms/azsdk/language/pii
18+
1719
USAGE:
1820
python sample_recognize_pii_entities.py
1921

0 commit comments

Comments
 (0)