AudioTranslationFormat Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for