AudioTranscriptionTimestampGranularity Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. ai. openai. models. AudioTranscriptionTimestampGranularity
- com.
- com.
public final class AudioTranscriptionTimestampGranularity
extends ExpandableStringEnum<AudioTranscriptionTimestampGranularity>
Defines the timestamp granularities that can be requested on a verbose transcription response.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Audio |
SEGMENT
Indicates that responses should include timing and other information about each transcribed audio segment. |
static final
Audio |
WORD
Indicates that responses should include timing information about each transcribed word. |
Constructor Summary
Constructor | Description |
---|---|
AudioTranscriptionTimestampGranularity() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Audio |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Audio |
fromString(String name)
Creates or finds a Audio |
static
Collection<Audio |
values()
Gets known Audio |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
SEGMENT
public static final AudioTranscriptionTimestampGranularity SEGMENT
Indicates that responses should include timing and other information about each transcribed audio segment. Audio segment timestamp information does not incur any additional latency.
WORD
public static final AudioTranscriptionTimestampGranularity WORD
Indicates that responses should include timing information about each transcribed word. Note that generating word timestamp information will incur additional response latency.
Constructor Details
AudioTranscriptionTimestampGranularity
@Deprecated
public AudioTranscriptionTimestampGranularity()
Deprecated
Creates a new instance of AudioTranscriptionTimestampGranularity value.
Method Details
fromString
public static AudioTranscriptionTimestampGranularity fromString(String name)
Creates or finds a AudioTranscriptionTimestampGranularity from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known AudioTranscriptionTimestampGranularity values.
Returns:
Applies to
Azure SDK for Java