I am developing an API that makes post requests to OpenAI with a sample block of code that I want it to interpret for me, but I have not been using the correct endpoint and I do not know which engine, if we are still using engines or which model it is. ChatGPT 3.5 itself gave me this: v1/engines/davinci-codex/completions as an endpoint, but I was getting the following error message in terminal:
error: {
message: ‘The model davinci-codex
does not exist or you do not have access to it.’,
type: ‘invalid_request_error’,
param: null,
code: ‘model_not_found’
Okay, when I checked in with Chat GPT 3.5, it tells me oh yeah that davinci-codex does not exist, but thats what it had initially gave me as an example. So can someone guide me to which engine or model I need to be putting in that url endpoint for this to work?