PromptBuilder::asOutputSpeechVoice( string $voice ): self

In this article

Sets the output speech voice.

Parameters

$voicestringrequired
The output speech voice.

Return

self

Source

public function asOutputSpeechVoice(string $voice): self
{
    $this->modelConfig->setOutputSpeechVoice($voice);
    return $this;
}

Changelog

VersionDescription
1.3.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.