PromptBuilder::usingStopSequences( string $stopSequences ): self

In this article

Sets stop sequences for generation.

Parameters

$stopSequencesstringrequired
The stop sequences.

Return

self

Source

public function usingStopSequences(string ...$stopSequences): self
{
    $this->modelConfig->setStopSequences($stopSequences);
    return $this;
}

Changelog

VersionDescription
0.1.0Introduced.

User Contributed Notes

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