Skip to content
New issue

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

No such organization: Personal. #5

Closed
tomc98 opened this issue Sep 29, 2021 · 2 comments
Closed

No such organization: Personal. #5

tomc98 opened this issue Sep 29, 2021 · 2 comments

Comments

@tomc98
Copy link

tomc98 commented Sep 29, 2021

When trying to run I get:

echo Traceback (most recent call last): File "/home/tc/.oh-my-zsh/custom/plugins/zsh_codex/create_completion.py", line 67, in <module> response = openai.Completion.create(engine='davinci-codex', prompt=input_prompt, temperature=0.5, max_tokens=32, stream=STREAM) File "/home/tc/.local/lib/python3.9/site-packages/openai/api_resources/completion.py", line 31, in create return super().create(*args, **kwargs) File "/home/tc/.local/lib/python3.9/site-packages/openai/api_resources/abstract/engine_api_resource.py", line 66, in create response, _, api_key = requestor.request( File "/home/tc/.local/lib/python3.9/site-packages/openai/api_requestor.py", line 129, in request resp = self.interpret_response(rbody, rcode, rheaders, stream=stream) File "/home/tc/.local/lib/python3.9/site-packages/openai/api_requestor.py", line 348, in interpret_response return self.interpret_response_line(rbody, rcode, rheaders, stream) File "/home/tc/.local/lib/python3.9/site-packages/openai/api_requestor.py", line 367, in interpret_response_line raise self.handle_error_response( openai.error.AuthenticationError: No such organization: Personal.

@tom-doerr
Copy link
Owner

In the openaiapirc you need to set the organization_id to the id that OpenAI gives you, you can't just set it to "Personal".

@demipixel
Copy link

To answer the what the question probably was, you can find it here:

https://beta.openai.com/account/org-settings

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants