a CLI tool to interact with chatGPT
bash
cargo install gptask
export OPENAI_API_KEY=sk-WEz... # from https://platform.openai.com/account/api-keys
You will need an OpenAI API key, and to set the environment variable OPENAI_API_KEY
.
``` bash
gptask Who won the world series of poker in 1989? The winner of the World Series of Poker in 1989 was Phil Hellmuth. ```