Skip to content

Commit 895bc2e

Browse files
committed
Also disable person by default because for many applications they don't actually expect this to trigger for it
1 parent 853fa59 commit 895bc2e

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

evaluators/presidio/langevals_presidio/pii_detection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class PresidioEntities(BaseModel):
2828
iban_code: bool = True
2929
ip_address: bool = True
3030
location: bool = False
31-
person: bool = True
31+
person: bool = False
3232
phone_number: bool = True
3333
medical_license: bool = True
3434
us_bank_number: bool = False

ts-integration/evaluators.generated.ts

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -272,16 +272,13 @@ export type Evaluators = {
272272
entities: {
273273
credit_card: boolean;
274274
crypto: boolean;
275-
date_time: boolean;
276275
email_address: boolean;
277276
iban_code: boolean;
278277
ip_address: boolean;
279-
nrp: boolean;
280278
location: boolean;
281279
person: boolean;
282280
phone_number: boolean;
283281
medical_license: boolean;
284-
url: boolean;
285282
us_bank_number: boolean;
286283
us_driver_license: boolean;
287284
us_itin: boolean;
@@ -894,16 +891,13 @@ social security numbers. It allows customization of the detection threshold and
894891
default: {
895892
credit_card: true,
896893
crypto: true,
897-
date_time: true,
898894
email_address: true,
899895
iban_code: true,
900896
ip_address: true,
901-
nrp: true,
902-
location: true,
903-
person: true,
897+
location: false,
898+
person: false,
904899
phone_number: true,
905900
medical_license: true,
906-
url: true,
907901
us_bank_number: false,
908902
us_driver_license: false,
909903
us_itin: false,

0 commit comments

Comments
 (0)