PIIType

org.llm4s.agent.guardrails.patterns.PIIPatterns.PIIType
See thePIIType companion object
sealed trait PIIType

Types of PII that can be detected.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object BankAccount
object CreditCard
object DateOfBirth
object Email
object IPAddress
object Passport
object Phone
object SSN
Show all

Members list

Value members

Abstract methods

def mask(value: String): String
def name: String
def pattern: Regex

Concrete methods

def findAll(text: String): Seq[PIIMatch]

Find all matches of this PII type in text.

Find all matches of this PII type in text.

Attributes