We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/content/RankGPT/rank_gpt.py in init(self, keys, start_id, proxy) 7 class OpenaiClient: 8 def init(self, keys=None, start_id=None, proxy=None): ----> 9 from openai import OpenAI 10 import openai 11 if isinstance(keys, str):
ImportError: cannot import name 'OpenAI' from 'openai' (/usr/local/lib/python3.10/dist-packages/openai/init.py)
The text was updated successfully, but these errors were encountered:
You could try upgrading openai: pip install -U openai
pip install -U openai
Sorry, something went wrong.
No branches or pull requests
/content/RankGPT/rank_gpt.py in init(self, keys, start_id, proxy)
7 class OpenaiClient:
8 def init(self, keys=None, start_id=None, proxy=None):
----> 9 from openai import OpenAI
10 import openai
11 if isinstance(keys, str):
ImportError: cannot import name 'OpenAI' from 'openai' (/usr/local/lib/python3.10/dist-packages/openai/init.py)
The text was updated successfully, but these errors were encountered: