/chatgpt

Simple command line integration to Chat GPT

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

chatgpt

Simple command line integration to Chat GPT, showcasing how you can use AI in day 2 operational tasks.

Installation

  1. Create a API key at https://www.openai.com

Creation of API key

  1. Clone this repository or copy the gpt.py script to your computer.
  2. Export the API key as such:
export OPENAI_API_KEY=sk-thekeythatyoucreated
  1. Install python dependency
pip3 install openai
  1. Execute the gpt.py script.

Example of usage

Example of usage