OpenAITextToAudioExecutionSettings Constructors
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.
Overloads
OpenAITextToAudioExecutionSettings() |
Creates an instance of OpenAITextToAudioExecutionSettings class with default voice - "alloy". |
OpenAITextToAudioExecutionSettings(String) |
Creates an instance of OpenAITextToAudioExecutionSettings class. |
OpenAITextToAudioExecutionSettings()
Creates an instance of OpenAITextToAudioExecutionSettings class with default voice - "alloy".
public OpenAITextToAudioExecutionSettings ();
Public Sub New ()
Applies to
OpenAITextToAudioExecutionSettings(String)
Creates an instance of OpenAITextToAudioExecutionSettings class.
public OpenAITextToAudioExecutionSettings (string? voice);
new Microsoft.SemanticKernel.Connectors.OpenAI.OpenAITextToAudioExecutionSettings : string -> Microsoft.SemanticKernel.Connectors.OpenAI.OpenAITextToAudioExecutionSettings
Public Sub New (voice As String)
Parameters
- voice
- String
The voice to use when generating the audio. Supported voices are alloy, echo, fable, onyx, nova, and shimmer.