Skip to content

Item

Source code in docs_src/capo_transcribe_streaming/types/item.py
class Item(TypedDict, closed=True):
    start_time: "capo_transcribe_streaming.types.double.Double"
    """<p>The start time of the transcribed item in seconds, with millisecond precision (e.g., 1.056)</p>"""
    end_time: "capo_transcribe_streaming.types.double.Double"
    """<p>The end time of the transcribed item in seconds, with millisecond precision (e.g., 1.056)</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>"""
    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 request. If <code>true</code>, there is a vocabulary filter match.</p>"""
    speaker: NotRequired["capo_transcribe_streaming.types.string.String"]
    """<p>If speaker partitioning is enabled, <code>Speaker</code> labels the speaker of the specified item.</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>"""
    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>"""

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

end_time: Double

The end time of the transcribed item in seconds, with millisecond precision (e.g., 1.056)

speaker instance-attribute

speaker: NotRequired[String]

If speaker partitioning is enabled, Speaker labels the speaker of the specified 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).

start_time instance-attribute

start_time: Double

The start time of the transcribed item in seconds, with millisecond precision (e.g., 1.056)

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 request. If true, there is a vocabulary filter match.