askchatgpt
v1.0.9
Published
Simple CLI to interact with OpenAI API.
Downloads
5
Readme
Description
Very Simple CLI to interact with OpenAI API.
Usage
First, you need to create an OpenAI API key.
You can do this by creating an account on OpenAI.
Then, you need to set the API key as an environment variable.
You can do this by running the following command:export OPENAI_API_KEY=<your_api_key>
After that, you can run the CLI by using the following command:askgpt <your_question>
exp: askgpt "How do I make an HTTP request in Go?"