trigaten/Learn_Prompting

gpt-4 model id is not found error

myvocabu opened this issue · 3 comments

Hello, looks like you are requesting gpt-4 model regardless it's not present in the model list returned by the endpoint: https://api.openai.com/v1/models

All the requests to https://api.openai.com/v1/models/gpt-4 are failing with 404
{
"error": {
"message": "The model 'gpt-4' does not exist",
"type": "invalid_request_error",
"param": "model",
"code": "model_not_found"
}
}

maybe the id is been changed. At least on the screen, there is 'text-davinci-003'

It seems you don't have access to gpt-4, have you joined the waitlist? I opened an issue on this here: PromptLabs/embed.learnprompting.org#6

Hello,
Please make sure users can chose another model, otherwise ‘embeds’ have no sense for wide auditory. Even better it that is happening seamlessly, with pre-flight request to check what models are available for account and chose by priority.
Regards

I made an issue about other models: PromptLabs/embed.learnprompting.org#7

I don't currently have time to do this, but if you are interested please submit a PR!