I have been playing with openai==0.28.1 and created a few projects by following examples from deeplearning.ai short courses that use ChatGPT and other OpenAI models (courses for ChatGPT, LangChain, and more). Until today, everything worked without any problems.
Today I created another project with corresponding a virtualenv and installed the OpenAI library. This time it was openai==1.1.0 (PyPI already has it updated to 1.1.1 since then).
As a result, all OpenAI API code stopped working as API objects appear to be renamed and functions/parameters changed between versions 0.28.1 and 1.1.0.
I tried to google any breaking changes and any release notes to no avail. I did find indirect confirmation that APIs changed while browsing version history for README.md that changed its examples between two versions as part of the massive V1 PR.
Are there any documented breaking changes or documentation on how to maintain code for previous versions besides the obvious option of installing older package version openai=0.28.1?
OpenAI Python SDK
v1.1.0
was released on November 6, 2023. It features the latest releases from OpenAI's first-ever DevDay (assistants, multimodality, tools, dall-e-3, tts, etc.).See the official OpenAI Python SDK markdown file.