GenerativeAiResult::getCandidates(): WordPressAiClientResultsDTOCandidate[]

In this article

Gets the generated candidates.

Return

WordPressAiClientResultsDTOCandidate[] The candidates.

Source

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

Changelog

VersionDescription
0.1.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.