- Set the OpenAI API key
- (Linux)
- Temporary
- Set env variable with
export OPENAI_API_KEY='your_actual_api_key_here'
- Set env variable with
- Parmanent
nano ~/.bashrc- Add line to bottom of file
export OPENAI_API_KEY='key_here' - Apply changes with
source ~/.bashrcor by restarting terminal
- Temporary
- (Linux)
- In main.py, update
CURR_GPT_PROMPTto the desired prompt - Run
python3 main.py