Skip to content

Transcribe Streaming  >  Structures  >  MedicalScribeTranscriptSegment

MedicalScribeTranscriptSegment

Structure Class

MedicalScribeTranscriptSegment dataclass

Contains a set of transcription results, along with additional information of the segment.

Attributes

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

The start time, in milliseconds, of the segment.

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

Indicates which audio channel is associated with the MedicalScribeTranscriptSegment.

If MedicalScribeChannelDefinition is not provided in the MedicalScribeConfigurationEvent, then this field will not be included.

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

Contains transcribed text of the segment.

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

The end time, in milliseconds, of the segment.

is_partial class-attribute instance-attribute
is_partial: bool = False

Indicates if the segment is complete.

If IsPartial is true, the segment is not complete. If IsPartial is false, the segment is complete.

items class-attribute instance-attribute
items: list[MedicalScribeTranscriptItem] | None = None

Contains words, phrases, or punctuation marks in your segment.

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

The identifier of the segment.