GenerativeAiResult::hasMultipleCandidates(): bool In this article Table of ContentsReturn Source Related Changelog Copy page View as Markdown Back to top Checks if the result has multiple candidates. Return bool True if there are multiple candidates, false otherwise. Source public function hasMultipleCandidates(): bool { return $this->getCandidateCount() > 1; } View all references View on Trac View on GitHub Related UsesDescriptionGenerativeAiResult::getCandidateCount()wp-includes/php-ai-client/src/Results/DTO/GenerativeAiResult.phpGets the total number of candidates. Changelog VersionDescription0.1.0Introduced. User Contributed Notes You must log in before being able to contribute a note or feedback.
User Contributed Notes
You must log in before being able to contribute a note or feedback.