Skip to content

MedicalItem

Source code in docs_src/capo_transcribe_streaming/types/medical_item.py
class MedicalItem(TypedDict, closed=True):
    start_time: "capo_transcribe_streaming.types.double.Double"
    """<p>The start time, in seconds, of the transcribed item.</p>"""
    end_time: "capo_transcribe_streaming.types.double.Double"
    """<p>The end time, in seconds, of the transcribed 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>"""
    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 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, in seconds, of the transcribed item.

speaker instance-attribute

speaker: NotRequired[String]

If speaker partitioning is enabled, Speaker labels the speaker of the specified item.

start_time instance-attribute

start_time: Double

The start time, in seconds, of the transcribed item.

type instance-attribute

type: NotRequired[ItemType]

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