Skip to content

A CLI for GPT with a focus on simplicity and ease of use. For developer just wanting to use gpt in there command line.

License

Notifications You must be signed in to change notification settings

thisguymartin/SearchHoundAI

Repository files navigation

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

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

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.

About

A CLI for GPT with a focus on simplicity and ease of use. For developer just wanting to use gpt in there command line.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published