pii_redaction_mapper¶
Redact PII in text and optionally in messages/query/response.
Covers paths (Unix/Windows), emails, secrets, IDs, phones, agent channel
identifiers (飞书/钉钉/企业微信 open_id, channel: feishu|dingtalk|email).
Optional: PEM blocks, JWT-shaped tokens, http(s) URLs, IPv4, bracketed
IPv6, MAC addresses (see mask_extended_pii or individual flags).
Use redact_keys to apply to text, query, response, and/or messages (recursive).
对文本中的 PII 进行脱敏,并可选地对 messages/query/response 进行脱敏。
涵盖路径(Unix/Windows)、电子邮件、密钥、ID、电话号码、Agent 渠道标识符(飞书/钉钉/企业微信 open_id,channel: feishu|dingtalk|email)。可选项:PEM 块、JWT 格式的 token、http(s) URL、IPv4、带括号的 IPv6、MAC 地址(参见 mask_extended_pii 或各个独立标志)。使用 redact_keys 应用于 text、query、response 和/或 messages(递归)。
Type 算子类型: mapper
Tags 标签: cpu
🔧 Parameter Configuration 参数配置¶
name 参数名 |
type 类型 |
default 默认值 |
desc 说明 |
|---|---|---|---|
|
<class ‘bool’> |
|
|
|
<class ‘bool’> |
|
|
|
<class ‘bool’> |
|
|
|
<class ‘bool’> |
|
|
|
<class ‘bool’> |
|
|
|
<class ‘bool’> |
|
|
|
<class ‘bool’> |
|
|
|
<class ‘bool’> |
|
|
|
<class ‘bool’> |
|
|
|
<class ‘bool’> |
|
|
|
<class ‘bool’> |
|
|
|
<class ‘bool’> |
|
|
|
<class ‘bool’> |
|
|
|
<class ‘str’> |
|
|
|
<class ‘str’> |
|
|
|
<class ‘str’> |
|
|
|
<class ‘str’> |
|
|
|
<class ‘str’> |
|
|
|
<class ‘str’> |
|
|
|
<class ‘str’> |
|
|
|
<class ‘str’> |
|
|
|
<class ‘str’> |
|
|
|
<class ‘str’> |
|
|
|
<class ‘str’> |
|
|
|
<class ‘str’> |
|
|
|
typing.Optional[typing.List[typing.Tuple[str, str]]] |
|
|
|
<class ‘str’> |
|
|
|
typing.Optional[typing.List[str]] |
|
|
|
typing.Optional[str] |
|
|
|
`` |