3 ms·
Gish looks really nice. I'm going to give it a try. It seems like you've been using similar workflows to what I've been trying for coding with gpt? https://gi
by anotherpaulg 4y ago
Gish looks really nice. I'm going to give it a try.
It seems like you've been using similar workflows to what I've been trying for coding with gpt?
https://github.com/paul-gauthier/easy-chat#created-by-chatgpt https://github.com/paul-gauthier/easy-chat#created-by-chatgp...
- dror 4y agoPretty much, except that I'm automating everything as much as I can, so that I just give the instructions and GPT does the rest. Here's an example: ----- #import ~/work/gish/tasks/coding.txt Change the following so that it looks for the open AI key in the following fashion: 1. env variable 2. os.home()/.openai 3. Throws an exception telling the user to put it in one of the above, and then exits #diff ~/work/gish/src/LLM.ts ----- Puts me in vimdiff comparing the old code with the generated code letting me review and cherry pick the changes.
- jazzyjackson 4y agofabulous
- anotherpaulg 4y agoYa, that's pretty much my workflow as well. Though for my little web app, I could give it the whole ball of html/css/js each time. I haven't seen anyone else describing this workflow. Feed it the existing code, ask it to modify/improve/fix the code and output a new version of all the input code, review diffs. It has downsides, because you can easily run out of context window of chatgpt-3.5-turbo. But I am getting much better code out of it versus other approaches I've tried. And it's a very efficient and natural workflow -- we're used to getting and reviewing diffs/PRs from human collaborators.
- tornato7 4y ago> The cost is based on the assumption that you're using GPT3.5 at $0.02 per 1000 tokens. It's actually $0.002/1k, FYI