WordPress\AiClient\Results\DTO

GenerativeAiResult::getCandidates │ public │ WP 0.1.0

Gets the generated candidates.

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

Хуков нет.

Возвращает

Candidate[]. The candidates.

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

$GenerativeAiResult = new GenerativeAiResult();
$GenerativeAiResult->getCandidates(): array;

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

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

Код GenerativeAiResult::getCandidates() WP 7.1.3

public function getCandidates(): array
{
    return $this->candidates;
}