A CLI for GPT with a focus on simplicity and ease of use. For developer just wanting to use gpt in there command line.
PIP Package: Search Hound AI
Install the CLI globally using pip:
pip install search-hound-ai
The CLI provides several commands for different purposes:
Start a conversation with pip:
hound
Need assistance run:
hound --help
To use hound command:
hound [search string]
Ask GPT a question about a specific file:
hound [...your question here]
Example:
hound "How to purge docker container and images?"
Required Environment Variable:
- OPENAI_API_KEY
Run the following scripts to if you are using .zshrc
echo -n "Enter value for OPENAI_API_KEY: "
read env_value
echo "export OPENAI_API_KEY=$env_value" >> ~/.zshrc
source ~/.zshrc
echo "The OPENAI_API_KEY environment variable has been added to ~/.zshrc with value $env_value."
or bash
echo -n "Enter value for OPENAI_API_KEY: "
read env_value
echo "export OPENAI_API_KEY=$env_value" >> ~/.bashrc
source ~/.bashrc
echo "The OPENAI_API_KEY environment variable has been added to ~/.bashrc with value $env_value."
Contributions to the SearchHoundAI CLI tool are welcome and encouraged. Please refer to the repository's CONTRIBUTING.md file for more information on how to contribute.