PromptBuilder::usingCandidateCount( int $candidateCount ): self

In this article

Sets the number of candidates to generate.

Parameters

$candidateCountintrequired
The number of candidates.

Return

self

Source

public function usingCandidateCount(int $candidateCount): self
{
    $this->modelConfig->setCandidateCount($candidateCount);
    return $this;
}

Changelog

VersionDescription
0.1.0Introduced.

User Contributed Notes

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