WordPress\AiClient\Builders
PromptBuilder::isSupportedForTextGeneration
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() PromptBuilder::isSupportedForTextGeneration WP 7.1.2
public function isSupportedForTextGeneration(): bool
{
return $this->isSupported(CapabilityEnum::textGeneration());
}