Mask Text
This endpoint masks sensitive information in a given string according to users’ policies and performance requirements
Body
The string you want to mask sensitive information from.
A simple example could be "My name is Adam. I am 35 and work at Google."
Adam, 35, and Google will trigger our systems and be labelled as PERSON
, AGE
and ORG
.
This one was trivial, but we cover most PIIs you’ll likely need. Explore all the natively covered entity types.
Optionally, you can also give context about what has been masked before.
This avoids masking twice the same entities in repeated calls, in say, a conversational setting.
This enables you to keep a growing context when integrating filtro
into chatbots.
list[Entity]
object you’ll receive from this query response in your next call to mask
.Response
The resulting string with sensitive information masked out.
For above example you might get "My name is Sarah. I am 26 and work at Apple."
Generation is random, but we make sure downstream LLMs will still be able to operate fine on their tasks.
The list of detected entities, with confidence scores and their mapping.
Recalling that one Entity
type is in fact a json
object with these fields