Skip to content

Entity

Source code in docs_src/capo_transcribe_streaming/types/entity.py
class Entity(TypedDict, closed=True):
    start_time: "capo_transcribe_streaming.types.double.Double"
    """<p>The start time of the utterance that was identified as PII in seconds, with millisecond precision (e.g., 1.056)</p>"""
    end_time: "capo_transcribe_streaming.types.double.Double"
    """<p>The end time of the utterance that was identified as PII in seconds, with millisecond precision (e.g., 1.056)</p>"""
    category: NotRequired["capo_transcribe_streaming.types.string.String"]
    """<p>The category of information identified. The only category is <code>PII</code>.</p>"""
    type: NotRequired["capo_transcribe_streaming.types.string.String"]
    """<p>The type of PII identified. For example, <code>NAME</code> or <code>CREDIT_DEBIT_NUMBER</code>.</p>"""
    content: NotRequired["capo_transcribe_streaming.types.string.String"]
    """<p>The word or words identified as PII.</p>"""
    confidence: NotRequired["capo_transcribe_streaming.types.confidence.Confidence"]
    """<p>The confidence score associated with the identified PII entity in your audio.</p> <p>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.</p>"""

category instance-attribute

category: NotRequired[String]

The category of information identified. The only category is PII.

confidence instance-attribute

confidence: NotRequired[Confidence]

The confidence score associated with the identified PII entity in your audio.

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 instance-attribute

content: NotRequired[String]

The word or words identified as PII.

end_time instance-attribute

end_time: Double

The end time of the utterance that was identified as PII in seconds, with millisecond precision (e.g., 1.056)

start_time instance-attribute

start_time: Double

The start time of the utterance that was identified as PII in seconds, with millisecond precision (e.g., 1.056)

type instance-attribute

type: NotRequired[String]

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