Hi, just noticed some errors on a project, so we changed all models according to the table in the docs:
But, to my surprise there’s new errors now, well, the same, but for the new model. I’m confused ![]()

Any idea what we need to use now then?
Hi, just noticed some errors on a project, so we changed all models according to the table in the docs:
But, to my surprise there’s new errors now, well, the same, but for the new model. I’m confused ![]()

Any idea what we need to use now then?
gpt-3.5-turbo-instruct is not deprecated. It may be an error of some kind.
Can you provide the code you used which generated this error?
Thanks for the reply. This is a section of it.
...
$paypload =
[
"prompt" => str_replace("####", "\n", $prompt) ?? "Hello there!",
'model' => $this->model ?: "gpt-3.5-turbo-instruct",
'temperature' => (float)$this->temperature ?: 0.2,
"max_tokens" => intval($this->max_tokens) < 1 ? 600 : intval($this->max_tokens),
"n" => intval($this->n) < 1 ? 1 : intval($this->n),
"frequency_penalty" => (float)$this->frequency_penalty ?: 1.8,
"presence_penalty" => (float)$this->presence_penalty ?: 0.8
];
$complete = $this->open_ai->completion($paypload);
...