Package com.azure.ai.openai.models
Class AudioTranscription
java.lang.Object
com.azure.ai.openai.models.AudioTranscription
Result information for an operation that transcribed spoken audio into written text.
-
Method Summary
Modifier and TypeMethodDescriptionGet the duration property: The total duration of the audio processed to produce accompanying transcription information.Get the language property: The spoken language that was detected in the transcribed audio data.Get the segments property: A collection of information about the timing, probabilities, and other detail of each processed audio segment.getTask()Get the task property: The label that describes which operation type generated the accompanying response data.getText()Get the text property: The transcribed text for the provided audio data.
-
Method Details
-
getText
Get the text property: The transcribed text for the provided audio data.- Returns:
- the text value.
-
getTask
Get the task property: The label that describes which operation type generated the accompanying response data.- Returns:
- the task value.
-
getLanguage
Get the language property: The spoken language that was detected in the transcribed audio data. This is expressed as a two-letter ISO-639-1 language code like 'en' or 'fr'.- Returns:
- the language value.
-
getDuration
Get the duration property: The total duration of the audio processed to produce accompanying transcription information.- Returns:
- the duration value.
-
getSegments
Get the segments property: A collection of information about the timing, probabilities, and other detail of each processed audio segment.- Returns:
- the segments value.
-