A CLI for GPT with a focus on simplicity and ease of use. For developer just wanting to use gpt in there command line.
Project description
SearchHoundAI 🐕
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
Installation
Install the CLI globally using pip:
pip install search-hound-ai
Usage
The CLI provides several commands for different purposes:
Chat with GPT
Start a conversation with pip:
hound
Need assistance run:
hound --help
To use hound command:
hound [search string]
Ask GPT
Ask GPT a question about a specific file:
hound [...your question here]
Example:
hound "How to purge docker container and images?"
Setting Environment Variables
Required Environment Variable:
- OPENAI_API_KEY
I made some scripts to add Environment Variable to your machine easier.
These Bash scripts make it easy for developers to add a new environment variable to their .bashrc
or .zshrc
file.
The scripts prompt the user for the name and value of the environment variable they want to add, and then add the variable to the appropriate shell configuration file using the echo
command.
Once the environment variable has been added to the shell configuration file, the scripts use the source
command to reload the file and make the changes take effect.
To use the scripts, follow these steps:
-
Open a terminal window.
-
Navigate to the directory where the script is saved.
-
Run the following command to give the script execute permission:
chmod +x add_bash_env.sh
orchmod +x add_zshrc_env
-
Run the script by typing the following command and pressing Enter:
./add_zshrc_env.sh
-
Follow the prompts to enter the name and value of the environment variable you want to add to
.bashrc
or.zshrc
. -
Once the script has finished running, the environment variable will be added to the appropriate shell configuration file and available for use in your shell sessions.
Contributions
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for search_hound_ai-0.1.12-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49f7ea2855636fe198e6a347950ad72078b52a175da2950d03aacbb7aaf39e77 |
|
MD5 | 4467d10e30509932fac8f6b62337e277 |
|
BLAKE2b-256 | 112f5a8f13d639870abb8f0a0861792dd9e846d6ee0fa422175b496debd8f54d |