WordPress\AiClient\Results\DTO
GenerativeAiResult::getCandidates
Gets the generated candidates.
Method of the class: GenerativeAiResult{}
No Hooks.
Returns
Candidate[]. The candidates.
Usage
$GenerativeAiResult = new GenerativeAiResult(); $GenerativeAiResult->getCandidates(): array;
Changelog
| Since 0.1.0 | Introduced. |
GenerativeAiResult::getCandidates() GenerativeAiResult::getCandidates code WP 7.0
public function getCandidates(): array
{
return $this->candidates;
}