GenerativeAiResult::getCandidateCount(): int

In this article

Gets the total number of candidates.

Return

int The total number of candidates.

Source

public function getCandidateCount(): int
{
    return count($this->candidates);
}

Changelog

VersionDescription
0.1.0Introduced.

User Contributed Notes

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