The input schema of a document
Integration
tab. The input and output schema will be displayed in the Input Schema
and Output Schema
sections, respectively.
For this example, we will be using the Redact PII document. This document is designed to redact personally identifiable information (PII) from a given text input.
content
field. The content
field is a string that contains the PII to be redacted. The document will process this text and identify any PII present, such as names, email addresses, phone numbers, etc. It will remove them from the text and return them in a separate array.