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
The application is not working with a fresh install of requirements.txt.
The bot produces this error:
You tried to access openai.ChatCompletion, but this is no longer supported in openai>=1.0.0 - see the README at https://github.com/openai/openai-python for the API.
You can run openai migrate to automatically upgrade your codebase to use the 1.0.0 interface.
Alternatively, you can pin your installation to the old version, e.g. pip install openai==0.28
To avoid issues like this in future you could pin requirements to concrete versions using pip-compile from pip-tools. This would ensure that the install instructions work for future users even when new packages are released.
The text was updated successfully, but these errors were encountered:
The application is not working with a fresh install of
requirements.txt
.The bot produces this error:
To avoid issues like this in future you could pin requirements to concrete versions using
pip-compile
from pip-tools. This would ensure that the install instructions work for future users even when new packages are released.The text was updated successfully, but these errors were encountered: