/git_assistant

Use GPT-3 to generate git commands from English-language descriptions of what you want to do.

Primary LanguagePython

Use OpenAI's GPT-3 to generate git commands from English statements

See Replacing my git cheat sheet with GPT-3 for background on the code in this repo.

Files

  • git_assistant.py - main Python module
  • git_assistant_config.yml - config file. NOTE for the code to work, you need to set the value of gpt_key in this file to set your own SECRET key from https://beta.openai.com/developer-quickstart
  • git.py - required GPT-3 classes