GPT is a command-line tool that brings the power of OpenAI's ChatGPT directly to your console. With GPT, you can have interactive conversations with the language model right from your terminal.
Before using GPT, ensure that you have the following environment variables set in your system:
OPENAI_ORGANIZATION_ID: Your OpenAI organization ID.OPENAI_API_KEY: Your OpenAI API key.
To install GPT, follow these steps:
- Clone the repository to your local machine:
git clone https://github.com/Fakamoto/gpt- Navigate to the project directory:
cd gpt- Install the package using pip:
pip install -e .To start a conversation with GPT, open your terminal and run the following command:
gptThis will launch the GPT interface in your console, allowing you to engage in interactive conversations with the language model.
GPT relies on the OpenAI API for its functionality. Make sure you have a valid OpenAI organization ID and API key before using this tool. If you don't have an API key, visit the OpenAI website to obtain one.
Enjoy using GPT in your console and have fun with your interactive conversations!