#not able to see view code in playground for gpt-4
6 messages · Page 1 of 1 (latest)
Same question here. I have a working call/payload with model gpt-3.5-turbo, but when I just replace the model name with gpt-4 I get a 404. I'm assuming the JSON format is the same as for gpt-3.5-turbo as well as the endpoint and token. Any example would be helpful to confirm.
I got the same erro
You need to use it with the chat api, not the completions api, see here for more details: https://platform.openai.com/docs/api-reference/chat
An API for accessing new AI models developed by OpenAI
I'm using all the correct parameters the chat completion endpoint equal to gpt-3.5-turbo. I also tried to update the openai python package and list the available models but I also didn't find gpt-4 although I received an email inviting me to test the API
generate a new api key and use the new one