PIIMasker

org.llm4s.agent.guardrails.builtin.PIIMasker
See thePIIMasker companion class
object PIIMasker

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
PIIMasker.type

Members list

Value members

Concrete methods

def all: PIIMasker

Preset: All PII types for maximum privacy protection.

Preset: All PII types for maximum privacy protection.

Attributes

def apply(): PIIMasker

Create a PIIMasker with default PII types.

Create a PIIMasker with default PII types.

Attributes

def apply(piiTypes: Seq[PIIType]): PIIMasker

Create a PIIMasker with custom PII types.

Create a PIIMasker with custom PII types.

Value parameters

piiTypes

Types of PII to mask

Attributes

Preset: Contact information (emails, phone numbers).

Preset: Contact information (emails, phone numbers).

Attributes

Preset: Financial information (credit cards, SSNs, bank accounts).

Preset: Financial information (credit cards, SSNs, bank accounts).

Attributes

Preset: Identity documents (SSN, passport, date of birth).

Preset: Identity documents (SSN, passport, date of birth).

Attributes

Preset: Sensitive data (combines financial and identity).

Preset: Sensitive data (combines financial and identity).

Attributes