Share via


OpenAITextToAudioExecutionSettings Constructors

Definition

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.

Applies to