TextToAudioExecutionSettings Class

  • java.lang.Object
    • com.microsoft.semantickernel.services.audio.TextToAudioExecutionSettings

public class TextToAudioExecutionSettings

Represents the settings for text to audio execution.

Constructor Summary

Constructor Description
TextToAudioExecutionSettings(String voice, String responseFormat, Double speed)

Creates a new instance of the settings.

Method Summary

Modifier and Type Method and Description
static Builder builder()

Creates a new builder.

java.lang.String getResponseFormat()

Gets the response format.

java.lang.Double getSpeed()

Gets the speed.

java.lang.String getVoice()

Gets the voice.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

TextToAudioExecutionSettings

public TextToAudioExecutionSettings(String voice, String responseFormat, Double speed)

Creates a new instance of the settings.

Parameters:

voice - The voice.
responseFormat - The response format.
speed - The speed.

Method Details

builder

public static TextToAudioExecutionSettings.Builder builder()

Creates a new builder.

Returns:

The builder.

getResponseFormat

public String getResponseFormat()

Gets the response format.

Returns:

The response format.

getSpeed

public Double getSpeed()

Gets the speed.

Returns:

The speed.

getVoice

public String getVoice()

Gets the voice.

Returns:

The voice.

Applies to