Result
¶
Source code in docs_src/capo_transcribe_streaming/types/result.py
alternatives
instance-attribute
¶
alternatives: NotRequired[AlternativeList]
A list of possible alternative transcriptions for the input audio. Each alternative may contain one or more of Items, Entities, or Transcript.
channel_id
instance-attribute
¶
channel_id: NotRequired[String]
Indicates which audio channel is associated with the Result.
end_time
instance-attribute
¶
end_time: Double
The end time of the Result in seconds, with millisecond precision (e.g., 1.056).
is_partial
instance-attribute
¶
is_partial: Boolean
Indicates if the segment is complete.
If IsPartial is true, the segment is not complete. If IsPartial is false, the segment is complete.
language_code
instance-attribute
¶
language_code: NotRequired[LanguageCode]
The language code that represents the language spoken in your audio stream.
language_identification
instance-attribute
¶
language_identification: NotRequired[LanguageIdentification]
The language code of the dominant language identified in your stream.
If you enabled channel identification and each channel of your audio contains a different language, you may have more than one result.