Sets the function declarations available to the model.
Parameters
$functionDeclarationsWordPressAiClientToolsDTOFunctionDeclarationrequired- The function declarations.
Source
public function usingFunctionDeclarations(FunctionDeclaration ...$functionDeclarations): self
{
$this->modelConfig->setFunctionDeclarations($functionDeclarations);
return $this;
}
Changelog
| Version | Description |
|---|---|
| 0.1.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.