Skip to content

Transcribe Streaming  >  Structures  >  CallAnalyticsEntity

CallAnalyticsEntity

Structure Class

CallAnalyticsEntity dataclass

Contains entities identified as personally identifiable information (PII) in your transcription output, along with various associated attributes. Examples include category, confidence score, content, type, and start and end times.

Attributes

begin_offset_millis class-attribute instance-attribute
begin_offset_millis: int | None = None

The time, in milliseconds, from the beginning of the audio stream to the start of the identified entity.

category class-attribute instance-attribute
category: str | None = None

The category of information identified. For example, PII.

confidence class-attribute instance-attribute
confidence: float | None = None

The confidence score associated with the identification of an entity in your transcript.

Confidence scores are values between 0 and 1. A larger value indicates a higher probability that the identified entity correctly matches the entity spoken in your media.

content class-attribute instance-attribute
content: str | None = None

The word or words that represent the identified entity.

end_offset_millis class-attribute instance-attribute
end_offset_millis: int | None = None

The time, in milliseconds, from the beginning of the audio stream to the end of the identified entity.

type class-attribute instance-attribute
type: str | None = None

The type of PII identified. For example, NAME or CREDIT_DEBIT_NUMBER.