$parameters */ public function create(array $parameters): CreateResponse { $payload = Payload::create('chat/completions', $parameters); /** @var array{id: string, object: string, created: int, model: string, choices: array, usage: array{prompt_tokens: int, completion_tokens: int|null, total_tokens: int}} $result */ $result = $this->transporter->requestObject($payload); return CreateResponse::from($result); } }