You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
There are some breaking changes in openai library between version 0.28.x and version 1.x.
In sample 09-building-image-applications the requirements.txt does not specify any version.
Using pip pulls the most recent openai library (aka some 1.x version)
However the python code is still on version 0.28.x which results in invalid code.
The pull request fixes the python code and documentation:
rename of openai.error.InvalidRequestError into openai.InvalidRequestError
To Reproduce
Steps to reproduce the behavior:
sample 09-building-image-applications
install python libraries via pip
open python files, shows invalid code
Expected behavior
Code, documentation and libraries shall be in sync.
The text was updated successfully, but these errors were encountered:
Describe the bug
There are some breaking changes in openai library between version 0.28.x and version 1.x.
In sample 09-building-image-applications the requirements.txt does not specify any version.
Using pip pulls the most recent openai library (aka some 1.x version)
However the python code is still on version 0.28.x which results in invalid code.
The pull request fixes the python code and documentation:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Code, documentation and libraries shall be in sync.
The text was updated successfully, but these errors were encountered: