Package com.azure.ai.openai.models
Class AudioTaskLabel
java.lang.Object
com.azure.core.util.ExpandableStringEnum<AudioTaskLabel>
com.azure.ai.openai.models.AudioTaskLabel
Defines the possible descriptors for available audio operation responses.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AudioTaskLabelAccompanying response data resulted from an audio transcription task.static final AudioTaskLabelAccompanying response data resulted from an audio translation task. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AudioTaskLabelfromString(String name) Creates or finds a AudioTaskLabel from its string representation.static Collection<AudioTaskLabel>values()Gets known AudioTaskLabel values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
TRANSCRIBE
Accompanying response data resulted from an audio transcription task. -
TRANSLATE
Accompanying response data resulted from an audio translation task.
-
-
Constructor Details
-
AudioTaskLabel
Deprecated.Use thefromString(String)factory method.Creates a new instance of AudioTaskLabel value.
-
-
Method Details
-
fromString
Creates or finds a AudioTaskLabel from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding AudioTaskLabel.
-
values
Gets known AudioTaskLabel values.- Returns:
- known AudioTaskLabel values.
-
fromString(String)factory method.