I am getting this error:
{
“error”: {
“message”: “you must provide a model parameter”,
“type”: “invalid_request_error”,
“param”: null,
“code”: null
}
}
This same query worked a few months ago and my OpenAI tokens have not expired.
I was wondering if anybody knows if the endpoints or parameters for text-davinci-003 (or 002) have changed at all?
Thanks for reading! Would appreciate any guidance.
Saachi
I don’t quite understand. Do you mean to remove the backslashes escaping the double quotes around “text-davinci-003”? If so, when I do that, it closes the double quote that opens the query inside .body(), so it produces an error.
When I escape the dash, i get an “illegal escape character in string literal” error.