Chat with GPT-4 & Save Prompts/Responses to Git
Saw an ask on Twitter A person I follow on Twitter tweeted:
Is there a git/version control for prompts? I hate losing great prompts and I’d love to be able to iterate on them.
So I created a quick command line chat to GPT-4 https://github.com/dathan/go-openai-prompt-git-save
It is a go program, and you need an OPENAI Token and a GitHub User Token in your environment. The program is very simple. From the terminal, have a chat interface to OpenAi, and save the prompts asked, to GitHub, with the content from GPT-4’s response.
Engineering Thoughts