How to pass PII categories in Azure Cognitive Services Entities Recognition PII

Joris Poelmans 21 Reputation points
2021-06-04T14:47:26.723+00:00

I am currently trying out the new Cognitive Services API which allows you to identify PII entities - https://learn.microsoft.com/en-us/rest/api/cognitiveservices-textanalytics/3.1preview4/entities-recognition-pii/entities-recognition-pii . Unfortunately I can't seem to get the optional filter with piicategories to work. Does anyone have a working example of this?

Kind regards,

Joris
[https://jopx.blogspot.com]

Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
2,395 questions
0 comments No comments
{count} votes

1 additional answer

Sort by: Most helpful
  1. Ramya Chowdary Bandla 6 Reputation points
    2022-02-03T14:35:11.207+00:00

    @GiftA-MSFT
    Can you please share sample in C#
    Where we pass the string to PII and get the masked output

    0 comments No comments