Sets the output speech voice.
Parameters
$voicestringrequired- The output speech voice.
Source
public function asOutputSpeechVoice(string $voice): self
{
$this->modelConfig->setOutputSpeechVoice($voice);
return $this;
}
Changelog
| Version | Description |
|---|---|
| 1.3.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.