<?php
namespace App\AI\Api\ChatGpt\Responses; class ToolFunction extends Tool { public $type = 'function'; public $name; public $description; public $parameters; public $strict; public function __construct(string $name, string $description, bool $strict) { $this->name = $name; $this->description = $description; $this->strict = $strict; $this->parameters = new \App\AI\Api\ChatGpt\Responses\Parameters(); } public function setParameters(\App\AI\Api\ChatGpt\Responses\Parameters $paramsObj) { $this->parameters = $paramsObj; } } 