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
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.
#2773
ERROR: APIRemovedInV1: 获取ChatCompletion时出错:when run \fastchat\serve\api_provider.py:
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`
A detailed migration guide is available here: https://github.com/openai/openai-python/discussions/742
my openapi sdk version is
root@ub1:# pip list | grep openai
openai 1.2.3
it's because the new major version of the OpenAI SDK](openai/openai-python#742) that was unleashed in early November 2023.
The text was updated successfully, but these errors were encountered:
ERROR: APIRemovedInV1: 获取ChatCompletion时出错:when run \fastchat\serve\api_provider.py:
my openapi sdk version is
root@ub1:# pip list | grep openai
openai 1.2.3
it's because the new major version of the OpenAI SDK](openai/openai-python#742) that was unleashed in early November 2023.
The text was updated successfully, but these errors were encountered: