Skip to content

entity_metadata

entity_metadata

Classes:

Name Description
Entity

A named entity detected in a column with its occurrence count.

EntityMetadata

Per-column entity detection and transformation metadata for evaluation.

Entity pydantic-model

Bases: BaseModel

A named entity detected in a column with its occurrence count.

Fields:

name pydantic-field

Entity type label (e.g. "SSN", "email").

count pydantic-field

Number of occurrences in the column.

EntityMetadata pydantic-model

Bases: BaseModel

Per-column entity detection and transformation metadata for evaluation.

Fields:

entities = None pydantic-field

Detected PII entities with occurrence counts, if any.

transformed = False pydantic-field

Whether the column was transformed during PII replacement.

transform_function = None pydantic-field

Name of the transform function applied, if any.