WordPress\AiClient\Providers\Models\DTO

ModelConfig::getTopLogprobspublicWP 0.1.0

Gets the number of top log probabilities to return.

Method of the class: ModelConfig{}

No Hooks.

Returns

Int|null. The number of top log probabilities.

Usage

$ModelConfig = new ModelConfig();
$ModelConfig->getTopLogprobs(): ?int;

Changelog

Since 0.1.0 Introduced.

ModelConfig::getTopLogprobs() code WP 7.0

public function getTopLogprobs(): ?int
{
    return $this->topLogprobs;
}