Process Text
Detect entities such as PII, PHI or PCI in the provided text strings using Private AI’s entity detection engine. After entity detection, any entities found can be redacted, masked or replaced with AI-generated synthetic entities.
Documentation Index
Fetch the complete documentation index at: https://docs.getlimina.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Body
API 3.0 Spec Definition
UTF-8 encoded message(s) to process. E.g. ["My name is Adam"] or ["I live at", "263 Spadina Av"]. Request processing time increases linearly with input text length, therefore maximum length is dependent on provisioned hardware and any timeouts set by the user. Private AI has tested up to 500K characters on the CPU and GPU containers.
When set to True, the list of inputs provided in text will be processed together as a single input by the Private AI PII detection model. This shares context between the different inputs and is useful when processing a sequence of short inputs, such as an SMS chat log. This option should only be enabled when the inputs are related, otherwise PII detection performance could be degraded.
This section contains a set of parameters to control the PII detection process. All fields have sensible default that can be changed for specific needs.
Used to categorize requests for reporting purposes. Limited to alphanumeric characters or the following special characters :_-
60^[a-zA-Z0-9\-_\:]*$This section allows the user to generate redacted (default), synthetic or masked text.
- MarkerRedactedText
- SyntheticRedactedText
- MaskRedactedText
Response
Successful Response
A list of all entities found in the text.
Returns True if the list of detected entities is not empty.
The number of characters in all the text inputs.
A dictionary containing ISO 639-1 language labels and the likelihood of their detection in the request payload.
The redacted, synthetic or masked text.