WordPress\AiClient\Builders

PromptBuilder::isSupportedForTextToSpeechConversion │ public │ WP 0.1.0

Checks if the prompt is supported for text to speech conversion.

Method of the class: PromptBuilder{}

No Hooks.

Returns

bool. True if text to speech conversion is supported.

Usage

$PromptBuilder = new PromptBuilder();
$PromptBuilder->isSupportedForTextToSpeechConversion(): bool;

Changelog

Since 0.1.0 Introduced.

PromptBuilder::isSupportedForTextToSpeechConversion() code WP 7.1.2

public function isSupportedForTextToSpeechConversion(): bool
{
    return $this->isSupported(CapabilityEnum::textToSpeechConversion());
}