I am trying to filter results by minimum precision to exclude any PII names that are too low in confidence (.5) using python and Azures PII cognitive service.
response=client.recognize_pii_entities(documents,language="en",categories_filter=['Person'], minimumPrecision=[.8])
the request() gets an unexpected key word argument for "minimumPrecision"
categories_filter was different from the piiCategories that the azure documentation says to use and that is the functional parameter so I am wondering if minimumPrecision is also actually supposed to be different, but I cannot find it in the docs.
The client library does not support a
minimumPrecisionparameter. The REST API does not either. Can you share the Azure documentation which shows usage of this parameter?You should be able to filter the entity results on the
confidence_scorefor the same effect: