Candidate::toArray(): WordPressAiClientResultsDTOCandidateArrayShape In this article Table of ContentsReturn Source Related Changelog ↑ Back to top {@inheritDoc} Return WordPressAiClientResultsDTOCandidateArrayShape Source public function toArray(): array { return [self::KEY_MESSAGE => $this->message->toArray(), self::KEY_FINISH_REASON => $this->finishReason->value]; } View all references View on Trac View on GitHub Related Used byDescriptionGenerativeAiResult::toArray()wp-includes/php-ai-client/src/Results/DTO/GenerativeAiResult.php{@inheritDoc} 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.