The properties specific to PII.

interface ModerationPiiProperties {
    input?: WatsonXAI.TextModeration;
    mask?: WatsonXAI.MaskProperties;
    output?: WatsonXAI.TextModeration;
    [propName: string]: any;
}

Indexable

[propName: string]: any

ModerationPiiProperties accepts additional properties.

Properties

Properties

Properties that control the moderation on the text.

The properties specific to masking. If this object exists, even if it is empty, then masking will be applied.

Properties that control the moderation on the text.