A simple wrapper for ChatGPT, allows to use OPENAI ChatGPT in your CLI.
This package requires python 3
. And a human to use it.
To install this CLI tool you can run the below command
pip install -i https://test.pypi.org/simple/ python-chatgpt-cli
The above commands would install the package globally and chatgpt_cli
will be available on your system.
Make sure to get an API key for OpenAI, you can get that from - https://openai.com/api
Set an environment variable OPENAI_API_KEY = <YOUR OPENAI API KEY>
You are good to use the chatgpt_cli
command:
chatgpt_cli
Ask ChatGPT 🤖
Who is Ronaldo?
Ronaldo is a Portuguese professional soccer player who currently plays for the Italian Serie A club Juventus.
He is widely considered one of the greatest soccer players of all time. Ronaldo has won five Ballon dOr awards,
the most for a European player, and is the first player to win four European Golden Shoes. He has also won 29
trophies in his career, including five league titles, four UEFA Champions League titles, and one UEFA European
Championship.
Please feel free to leave feedback in issues/PRs.
Licensed under MIT License.