WordPress\AiClient\Providers\Models\DTO

ModelConfig::setTopLogprobspublicWP 0.1.0

Sets the number of top log probabilities to return.

Method of the class: ModelConfig{}

No Hooks.

Returns

null. Nothing (null).

Usage

$ModelConfig = new ModelConfig();
$ModelConfig->setTopLogprobs( $topLogprobs ): void;
$topLogprobs(int) (required)
The number of top log probabilities.

Changelog

Since 0.1.0 Introduced.

ModelConfig::setTopLogprobs() code WP 7.0

public function setTopLogprobs(int $topLogprobs): void
{
    $this->topLogprobs = $topLogprobs;
}