Masking

Prev Next

Redacts configured categories of personally identifiable information (PII) from recognized text, per language, by calling the Masking AI service.

Parameters

name
description
default
Ignore SSL Errors Ignore SSL errors. This is useful for testing purposes. false
Default Language Default Language of the node. None
Language and PII Assignment Language - PII type pairs that the Masking service will use. Each entry pairs a language with the list of PII entity types to redact for that language; at least one entry, and at least one PII type per entry, is required. None
Masking Mode "Replace With Entity Type" or "Replace With Asterisks". Replace With Entity Type

Inputs

Audio

 none

Events

name description possible nodes this event may be received from
Any event that has Data.Text Sent to the Masking service for redaction using the PII types configured for the current language. SR Http, SR Websocket, Translate etc.
Language Change Switches the language used for subsequent requests to Data.Language. The new language must have a matching entry in Language and PII Assignment, otherwise the change is rejected. Language Identifier, Text Language Identifier

Outputs

Audio

 none

Events

name description
Same event that has Data.Text Re-emitted with Data.Text replaced by the redacted text returned by the Masking service, and "redacted" appended to Data.TextAttributes. If the service reports which character ranges were redacted, they are additionally included as Data.RedactionOriginalIndices.

Supported flow types

Batch, Stream

Release Notes

v4.15.0
  • Changed description for PII Entities Parameter.
v4.13.0
  • Introduced Node.