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 mention of how to get an API key #1

Closed
allywilson opened this issue Oct 10, 2021 · 5 comments
Closed

No mention of how to get an API key #1

allywilson opened this issue Oct 10, 2021 · 5 comments

Comments

@allywilson
Copy link

The script requires an OpenAI key, but it's not mentioned anywhere that it is needed, or how to obtain one (additionally, no mention of the modules needed to install as well).

@tom-doerr
Copy link
Owner

tom-doerr commented Oct 10, 2021

Yes, the reason for this is that the readme was autogenerated and serves as an example for autogenerated readmes.
I just updated the script so it tells you what module to install and where to register for Codex.

@tom-doerr tom-doerr pinned this issue Oct 10, 2021
@tom-doerr
Copy link
Owner

Here's the information:
You can obtain the API key after you get accepted for Codex (https://openai.com/blog/openai-codex/) and install the openai module using pip3 install openai.

@pepa65
Copy link

pepa65 commented Mar 12, 2023

How do I use/apply the key once obtained? I tried using --tokens but that didn't seem to be it.

@tom-doerr
Copy link
Owner

It should generate a config file for you where you can enter the key once you run it. The files should be at ~/.config/openaiapirc .

@pepa65
Copy link

pepa65 commented Mar 13, 2023

I had to do python3 -m pip install openai, just pip install openai didn't work...

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