claudius-chat-widget
    Preparing search index...

    Interface RedactPiiOptions

    Options for pluginRedactPII.

    interface RedactPiiOptions {
        patterns?: readonly RegExp[];
        redactReplies?: boolean;
        replacement?: string;
    }
    Index

    Properties

    patterns?: readonly RegExp[]

    Patterns to redact. Each must carry the global (g) flag.

    DEFAULT_PII_PATTERNS

    redactReplies?: boolean

    Also redact the assistant's replies, not just outgoing user messages.

    false

    replacement?: string

    Text substituted for each match.

    "[redacted]"