RealtimeMessageResultTranscription¶
-
class
oci.ai_speech.models.RealtimeMessageResultTranscription(**kwargs)¶ Bases:
objectTranscription object.
Methods
__init__(**kwargs)Initializes a new RealtimeMessageResultTranscription object with values from keyword arguments. Attributes
confidence[Required] Gets the confidence of this RealtimeMessageResultTranscription. end_time_in_ms[Required] Gets the end_time_in_ms of this RealtimeMessageResultTranscription. is_final[Required] Gets the is_final of this RealtimeMessageResultTranscription. start_time_in_ms[Required] Gets the start_time_in_ms of this RealtimeMessageResultTranscription. tokens[Required] Gets the tokens of this RealtimeMessageResultTranscription. trailing_silence[Required] Gets the trailing_silence of this RealtimeMessageResultTranscription. transcription[Required] Gets the transcription of this RealtimeMessageResultTranscription. -
__init__(**kwargs)¶ Initializes a new RealtimeMessageResultTranscription object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - transcription (str) – The value to assign to the transcription property of this RealtimeMessageResultTranscription.
- is_final (bool) – The value to assign to the is_final property of this RealtimeMessageResultTranscription.
- start_time_in_ms (int) – The value to assign to the start_time_in_ms property of this RealtimeMessageResultTranscription.
- end_time_in_ms (int) – The value to assign to the end_time_in_ms property of this RealtimeMessageResultTranscription.
- confidence (float) – The value to assign to the confidence property of this RealtimeMessageResultTranscription.
- trailing_silence (int) – The value to assign to the trailing_silence property of this RealtimeMessageResultTranscription.
- tokens (list[oci.ai_speech.models.RealtimeMessageResultTranscriptionToken]) – The value to assign to the tokens property of this RealtimeMessageResultTranscription.
-
confidence¶ [Required] Gets the confidence of this RealtimeMessageResultTranscription. Confidence for the transcription text.
Returns: The confidence of this RealtimeMessageResultTranscription. Return type: float
-
end_time_in_ms¶ [Required] Gets the end_time_in_ms of this RealtimeMessageResultTranscription. End time in milliseconds for the transcription text.
Returns: The end_time_in_ms of this RealtimeMessageResultTranscription. Return type: int
-
is_final¶ [Required] Gets the is_final of this RealtimeMessageResultTranscription. Whether the transcription is final or partial.
Returns: The is_final of this RealtimeMessageResultTranscription. Return type: bool
-
start_time_in_ms¶ [Required] Gets the start_time_in_ms of this RealtimeMessageResultTranscription. Start time in milliseconds for the transcription text.
Returns: The start_time_in_ms of this RealtimeMessageResultTranscription. Return type: int
-
tokens¶ [Required] Gets the tokens of this RealtimeMessageResultTranscription. Array of individual transcription tokens.
Returns: The tokens of this RealtimeMessageResultTranscription. Return type: list[oci.ai_speech.models.RealtimeMessageResultTranscriptionToken]
-
trailing_silence¶ [Required] Gets the trailing_silence of this RealtimeMessageResultTranscription. Trailing silence after the transcription text.
Returns: The trailing_silence of this RealtimeMessageResultTranscription. Return type: int
-
transcription¶ [Required] Gets the transcription of this RealtimeMessageResultTranscription. Transcription text.
Returns: The transcription of this RealtimeMessageResultTranscription. Return type: str
-