GPT-4 turbo has been deprecated Error

I’m receiving this error when I ask questions to my chatbot " Sorry, there was an issue generating the response. (Error code: 404 - The model `gpt-4-turbo` has been deprecated, learn more here: Deprecations | OpenAI API ) "

Are others receiving this message also. Can you let me know if there is a solution for this?

Thank you.

Thanks for sharing this. The error indicates that gpt-4-turbo is deprecated by OpenAI, rather than a Streamlit error. Update the model name your chatbot sends to the OpenAI API to one that’s currently available, using OpenAI’s deprecation notices to choose a replacement. The sources here don’t specify which model to replace it with.

If your app follows Streamlit’s chatbot tutorial, check the model value in your app’s configuration or code. For debugging help, include a minimal reproducible example and the relevant model-setting code. Streamlit chatbot tutorial

Sources:

Thank you very much for the feedback. I will work on switching the model.