WordPress\AiClient\Builders

PromptBuilder::isSupportedForMusicGeneration │ public │ WP 0.1.0

Checks if the prompt is supported for music generation.

Метод класса: PromptBuilder{}

Хуков нет.

Возвращает

bool. True if music generation is supported.

Использование

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

Список изменений

С версии 0.1.0 Введена.

Код PromptBuilder::isSupportedForMusicGeneration() WP 7.1.4

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