OpenAI ChatGPT API error: “InvalidRequestError: Unrecognized request argument supplied: messages”
Problem You used the wrong method name to get a completion. When using the OpenAI SDK (Python or Node.js), you need to use the right method name. Which method name is the right one? It depends on the OpenAI model you want to use. Solution The tables below will help you figure out which method … Read more