Skip to content

CallAnalyticsItem

Source code in docs_src/capo_transcribe_streaming/types/call_analytics_item.py
class CallAnalyticsItem(TypedDict, closed=True):
    begin_offset_millis: NotRequired["capo_transcribe_streaming.types.long.Long"]
    """<p>The time, in milliseconds, from the beginning of the audio stream to the start of the identified item.</p>"""
    end_offset_millis: NotRequired["capo_transcribe_streaming.types.long.Long"]
    """<p>The time, in milliseconds, from the beginning of the audio stream to the end of the identified item.</p>"""
    type: NotRequired["capo_transcribe_streaming.types.item_type.ItemType"]
    """<p>The type of item identified. Options are: <code>PRONUNCIATION</code> (spoken words) and <code>PUNCTUATION</code>.</p>"""
    content: NotRequired["capo_transcribe_streaming.types.string.String"]
    """<p>The word or punctuation that was transcribed.</p>"""
    confidence: NotRequired["capo_transcribe_streaming.types.confidence.Confidence"]
    """<p>The confidence score associated with a word or phrase in your transcript.</p> <p>Confidence scores are values between 0 and 1. A larger value indicates a higher probability that the identified item correctly matches the item spoken in your media.</p>"""
    vocabulary_filter_match: "capo_transcribe_streaming.types.boolean.Boolean"
    """<p>Indicates whether the specified item matches a word in the vocabulary filter included in your Call Analytics request. If <code>true</code>, there is a vocabulary filter match.</p>"""
    stable: NotRequired["capo_transcribe_streaming.types.stable.Stable"]
    """<p>If partial result stabilization is enabled, <code>Stable</code> indicates whether the specified item is stable (<code>true</code>) or if it may change when the segment is complete (<code>false</code>).</p>"""

begin_offset_millis instance-attribute

begin_offset_millis: NotRequired[Long]

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

confidence instance-attribute

confidence: NotRequired[Confidence]

The confidence score associated with a word or phrase in your transcript.

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

content instance-attribute

content: NotRequired[String]

The word or punctuation that was transcribed.

end_offset_millis instance-attribute

end_offset_millis: NotRequired[Long]

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

stable instance-attribute

stable: NotRequired[Stable]

If partial result stabilization is enabled, Stable indicates whether the specified item is stable (true) or if it may change when the segment is complete (false).

type instance-attribute

type: NotRequired[ItemType]

The type of item identified. Options are: PRONUNCIATION (spoken words) and PUNCTUATION.

vocabulary_filter_match instance-attribute

vocabulary_filter_match: Boolean

Indicates whether the specified item matches a word in the vocabulary filter included in your Call Analytics request. If true, there is a vocabulary filter match.