The Question App is a command-line interface (CLI) tool that allows you to interact with OpenAI's GPT-4 model. Pose a question or query, and get a detailed response right in your terminal. The app is designed for quick, efficient, and insightful answers.
- Query GPT-4 directly from your terminal
- Supports Markdown formatting for terminal output
- Efficient error handling and logging
- Quick and easy installation
- Python 3.x
- OpenAI API key
You can install the Question App using Homebrew:
Option 1: Direct install
brew install cdemers/tools/question
Option 2: Tap first, then install
brew tap cdemers/tools
brew install question
Clone the repository and run the Python script directly.
git clone https://github.com/cdemers/question.git
cd question
./question.py "Your query here"
To use the app, simply run the following command:
question "What is the meaning of life?"
For version information:
question --version
OPENAI_API_KEY
: Your OpenAI API keyLOG_LEVEL
: Logging level (default isWARNING
)
Feel free to open issues or PRs if you have suggestions or bug reports.