Im playing with “gpt-3.5-turbo” but the console give me this error;
-
error: {…}}
-
error: {message: ‘Unrecognized request argument supplied: prompt’, type: ‘invalid_request_error’, param: null, code: null}
-
[[Prototype]]: Object
Im playing with “gpt-3.5-turbo” but the console give me this error;
error: {…}}
error: {message: ‘Unrecognized request argument supplied: prompt’, type: ‘invalid_request_error’, param: null, code: null}
[[Prototype]]: Object
Welcome to the forum.
Can you share the code you’re using to connect?
The API of chat endpoints does not use a “prompt” parameter, it uses “messages”, a list of dictionary items tagged by role names and individual chat turns.
Inputs that do not conform to this specification are rejected.
“OpenAI chat completion api reference” would be good Google search terms for you.