This project allows users to interact with OpenAI's ChatGPT via the terminal. Users can choose between a chat mode and a programming assist mode.
- Note: many features might not be implemented yet, but they will come...
- Python 3.6 or higher
- An OpenAI API key
git clone https://github.com/literallynotdap/sentAI.git
cd sentAI
python -m venv venv
python3 -m venv venv
venv\Scripts\activate
source venv/bin/activate
pip install -r requirements.txt
6. Create a .env
file in the project directory and add your OpenAI API key (or use the one provided in this repo):
OPENAI_API_KEY=your_api_key_here
- You can find your openAI API key here: https://platform.openai.com/account/api-keys
python sentai.py -i
-
This will start the program in interactive mode. You will be prompted to choose between chat mode (1) and programming assist mode (2). Type the corresponding number to select a mode and follow the on-screen instructions.
-
Note: Programming assist mode is not implemented currently, but will be soon enough.
To exit the program at any time, type 'EXIT@@' and press Enter.