Simple command line integration to Chat GPT, showcasing how you can use AI in day 2 operational tasks.
- Create a API key at https://www.openai.com
- Clone this repository or copy the gpt.py script to your computer.
- Export the API key as such:
export OPENAI_API_KEY=sk-thekeythatyoucreated
- Install python dependency
pip3 install openai
- Execute the gpt.py script.