PromptBuilder::usingTemperature( float $temperature ): self

In this article

Sets the temperature for generation.

Parameters

$temperaturefloatrequired
The temperature value.

Return

self

Source

public function usingTemperature(float $temperature): self
{
    $this->modelConfig->setTemperature($temperature);
    return $this;
}

Changelog

VersionDescription
0.1.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.