Error code on running jupyter notebook

When I started running the Jupyter notebook, the following error occurred:

NotFoundError: Error code: 404 - {‘error’: {‘message’: ‘The model gpt-3.5-turbo-0613 has been deprecated, type’: ‘invalid_request_error’, ‘param’: None, ‘code’: ‘model_not_found’}}

It seems that the OpenAI API has deprecated this model. Could you please fix the Jupyter notebook or let me know which model I should replace it with?

2 Likes

Same here. I tried changing the model in one of the py files, but it didnt pick it up
llm: OpenAI = OpenAI(temperature=0, model=“gpt-3.5-turbo-0613”),

I had the same issue. I fixed it by going into the helpers module, changing the OPENAI_MODEL variable in zb_app.py from “gpt-3.5-turbo-0613” to “gpt-3.5-turbo”, saving the change and then restarting the jupyter kernel. You’ll have to make the same change for each lesson.

1 Like

That fixed my issue. Thank you!