Skip to content

Transcribe Streaming  >  Structures  >  MedicalItem

MedicalItem

Structure Class

MedicalItem dataclass

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 = 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 = None

The word or punctuation that was transcribed.

end_time class-attribute instance-attribute
end_time: float = 0

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

speaker class-attribute instance-attribute
speaker: str | None = None

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

start_time class-attribute instance-attribute
start_time: float = 0

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

type class-attribute instance-attribute
type: ItemType | None = None

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