SpeechToTextOptions Class
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.
Represents the options for an speech to text request.
public ref class SpeechToTextOptions
[System.Diagnostics.CodeAnalysis.Experimental("MEAI001")]
public class SpeechToTextOptions
public class SpeechToTextOptions
[<System.Diagnostics.CodeAnalysis.Experimental("MEAI001")>]
type SpeechToTextOptions = class
type SpeechToTextOptions = class
Public Class SpeechToTextOptions
- Inheritance
-
SpeechToTextOptions
- Attributes
Constructors
| SpeechToTextOptions() |
Initializes a new instance of the SpeechToTextOptions class. |
| SpeechToTextOptions(SpeechToTextOptions) |
Initializes a new instance of the SpeechToTextOptions class, performing a shallow copy of all properties from |
Properties
| AdditionalProperties |
Gets or sets any additional properties associated with the options. |
| ModelId |
Gets or sets the model ID for the speech to text. |
| RawRepresentationFactory |
Gets or sets a callback responsible for creating the raw representation of the embedding generation options from an underlying implementation. |
| SpeechLanguage |
Gets or sets the language of source speech. |
| SpeechSampleRate |
Gets or sets the sample rate of the speech input audio. |
| TextLanguage |
Gets or sets the language for the target generated text. |
Methods
| Clone() |
Produces a clone of the current SpeechToTextOptions instance. |