QueuedAudioPrompt
class QueuedAudioPrompt
Methods
__construct(string $text, string $voice, string|null $instructions, Provider|Lab|array|string|null $provider, string|null $model, int $timeout = 30, array $providerOptions = [])
Create a queued audio prompt.
bool
contains(string $string)
Determine if the text contains the given string.
bool
isMale()
Determine if the voice is male.
bool
isFemale()
Determine if the voice is female.
Details
at line 18
__construct(string $text, string $voice, string|null $instructions, Provider|Lab|array|string|null $provider, string|null $model, int $timeout = 30, array $providerOptions = [])
Create a queued audio prompt.
at line 32
bool
contains(string $string)
Determine if the text contains the given string.
at line 40
bool
isMale()
Determine if the voice is male.
at line 48
bool
isFemale()
Determine if the voice is female.