GuardrailChecksSensitiveInformationResultEntry¶
Structure Class¶
GuardrailChecksSensitiveInformationResultEntry
dataclass
¶
The detection result for a single sensitive information entity found in the evaluated messages.
Attributes¶
begin_offset
instance-attribute
¶
begin_offset: int
The start character offset of the detected entity within the content block.
confidence_score
instance-attribute
¶
confidence_score: float
The confidence score for the detection, ranging from 0.0 to 1.0. Higher values indicate greater confidence.
content_index
instance-attribute
¶
content_index: int
The zero-based index of the content block within the message where the entity was detected.
end_offset
instance-attribute
¶
end_offset: int
The end character offset of the detected entity within the content block.
message_index
instance-attribute
¶
message_index: int
The zero-based index of the message in the input messages array where the entity was detected.
type
instance-attribute
¶
The PII entity type that was detected.