WordPress\AiClient\Builders

PromptBuilder::isSupportedForTextGeneration │ public │ WP 0.1.0

Checks if the prompt is supported for text generation.

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

Хуков нет.

Возвращает

bool. True if text generation is supported.

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

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

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

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

Код PromptBuilder::isSupportedForTextGeneration() WP 7.1.2

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