GuardrailPiiEntityConfig

data class GuardrailPiiEntityConfig(val action: GuardrailSensitiveInformationAction, val inputAction: GuardrailSensitiveInformationAction? = null, val inputEnabled: Boolean? = null, val outputAction: GuardrailSensitiveInformationAction? = null, val outputEnabled: Boolean? = null, val type: GuardrailPiiEntityType)

Pii entity configuration.

Constructors

Link copied to clipboard
constructor(action: GuardrailSensitiveInformationAction, inputAction: GuardrailSensitiveInformationAction? = null, inputEnabled: Boolean? = null, outputAction: GuardrailSensitiveInformationAction? = null, outputEnabled: Boolean? = null, type: GuardrailPiiEntityType)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Configure guardrail action when the PII entity is detected.

Link copied to clipboard
Link copied to clipboard
val inputEnabled: Boolean? = null
Link copied to clipboard
Link copied to clipboard
val outputEnabled: Boolean? = null
Link copied to clipboard

Configure guardrail type when the PII entity is detected. The following PIIs are used to block or mask sensitive information: