Skip to content

mglantz/chatgpt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Simple command line integration to Chat GPT

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages