News for hackers. Stuff that matters.
Re:A: A CLI tool to generate code snippets from GPT3 written... by contextnavidad on Thursday March 02, 2023 @05:14PM (#35002836)
Looks like you need an env var `OPENAI_API_KEY` for this to work. Strange that it is not documented at all.

Also they could have provided an actual error rather than letting it panic!

Re:A: A CLI tool to generate code snippets from GPT3 written... by synergy20 on Thursday March 02, 2023 @05:19PM (#35002891)
With a valid key I still get errors.

read the returning message it says I exceeded my daily quota, checked my account, my free API trial period ended a few months back.

Paying for ChatGPI does not mean you can get API access, in short, you need pay for API access separately after a short trial period to use this tool:

"No, the ChatGPT API and ChatGPT Plus subscription are billed separately. The API has its own pricing, which can be found at https://openai.com/pricing. The ChatGPT Plus subscription covers usage on chat.openai.com only and costs $20/month."

Re:A: A CLI tool to generate code snippets from GPT3 written... by pohl on Thursday March 02, 2023 @05:18PM (#35002883)
They could use a to have ChatGPT generate a function for that.