WordPress\AiClient\Providers\Models\DTO

ModelConfig::setCandidateCountpublicWP 0.1.0

Sets the candidate count.

Method of the class: ModelConfig{}

No Hooks.

Returns

null. Nothing (null).

Usage

$ModelConfig = new ModelConfig();
$ModelConfig->setCandidateCount( $candidateCount ): void;
$candidateCount(int) (required)
The candidate count.

Changelog

Since 0.1.0 Introduced.

ModelConfig::setCandidateCount() code WP 7.0

public function setCandidateCount(int $candidateCount): void
{
    $this->candidateCount = $candidateCount;
}