A simple CLI tool to interface with OpenAI's beta API.
Your API key and secret key must be defined in your environment under OPENAI_KEY and OPENAI_SECRET_KEY respectively.
npm i -g gpt3You pass in the starter text as the first parameter, and the tool returns the completion.
> gpt3 "Once upon a time, there was a thing..."
"Once upon a time, there was a thing that did this, etc, foobar."