PromptBuilder::asOutputSchema( $schema ): self

In this article

Sets the output schema.

Parameters

mixed> $schema The output schema.

Return

self

Source

public function asOutputSchema(array $schema): self
{
    $this->modelConfig->setOutputSchema($schema);
    return $this;
}

Changelog

VersionDescription
0.1.0Introduced.

User Contributed Notes

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