WordPress\AiClient\Builders

PromptBuilder::isSupportedForEmbeddingGeneration │ public │ WP 0.1.0

Checks if the prompt is supported for embedding generation.

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

Хуков нет.

Возвращает

bool. True if embedding generation is supported.

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

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

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

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

Код PromptBuilder::isSupportedForEmbeddingGeneration() WP 7.1.2

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