WordPress\AiClient\Builders
PromptBuilder::isSupportedForSpeechGeneration
Checks if the prompt is supported for speech generation.
Метод класса: PromptBuilder{}
Хуков нет.
Возвращает
bool. True if speech generation is supported.
Использование
$PromptBuilder = new PromptBuilder(); $PromptBuilder->isSupportedForSpeechGeneration(): bool;
Список изменений
| С версии 0.1.0 | Введена. |
Код PromptBuilder::isSupportedForSpeechGeneration() PromptBuilder::isSupportedForSpeechGeneration WP 7.1.2
public function isSupportedForSpeechGeneration(): bool
{
return $this->isSupported(CapabilityEnum::speechGeneration());
}