Item¶
Structure Class¶
Item
dataclass
¶
Bases: _SerdeShape
A word, phrase, or punctuation mark in your transcription output, along with various associated attributes, such as confidence score, type, and start and end times.
Attributes¶
confidence
class-attribute
instance-attribute
¶
confidence: float | None = ...
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
class-attribute
instance-attribute
¶
content: str | None = ...
The word or punctuation that was transcribed.
end_time
class-attribute
instance-attribute
¶
end_time: float = ...
The end time of the transcribed item in seconds, with millisecond precision (e.g., 1.056)
speaker
class-attribute
instance-attribute
¶
speaker: str | None = ...
If speaker partitioning is enabled, Speaker labels the speaker of the
specified item.
stable
class-attribute
instance-attribute
¶
stable: bool | None = ...
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
class-attribute
instance-attribute
¶
start_time: float = ...
The start time of the transcribed item in seconds, with millisecond precision (e.g., 1.056)