#JavaScript not working in browser
5 messages · Page 1 of 1 (latest)
The engines endpoint is deprecated, try using completions https://platform.openai.com/docs/api-reference/completions
An API for accessing new AI models developed by OpenAI
I got this now but still doesnt work
You're still using the engines endpoint. You want to use https://api.openai.com/v1/completions and you need to specify the model in the body