Share via


AudioTranslationFormat Struct

Definition

Defines available options for the underlying response format of output translation information.

public readonly struct AudioTranslationFormat : IEquatable<Azure.AI.OpenAI.AudioTranslationFormat>
type AudioTranslationFormat = struct
Public Structure AudioTranslationFormat
Implements IEquatable(Of AudioTranslationFormat)
Inheritance
AudioTranslationFormat
Implements

Constructors

AudioTranslationFormat(String)

Initializes a new instance of AudioTranslationFormat.

Properties

Simple

Use a response body that is a JSON object containing a single 'text' field for the translation.

Srt

Use a response body that is plain text in SubRip (SRT) format that also includes timing information.

Verbose

Use a response body that is a JSON object containing translation text along with timing, segments, and other metadata.

Vtt

Use a response body that is plain text in Web Video Text Tracks (VTT) format that also includes timing information.

Methods

Equals(AudioTranslationFormat)

Indicates whether the current object is equal to another object of the same type.

ToString()

Returns the fully qualified type name of this instance.

Operators

Equality(AudioTranslationFormat, AudioTranslationFormat)

Determines if two AudioTranslationFormat values are the same.

Implicit(String to AudioTranslationFormat)

Converts a string to a AudioTranslationFormat.

Inequality(AudioTranslationFormat, AudioTranslationFormat)

Determines if two AudioTranslationFormat values are not the same.

Applies to