3 ms·
Sometimes it's very good I had a list of strings in this format "foo:bar:baz" and needed to convert this into an dict {"foo":{"bar":"baz"} It wrote me the func
by vorticalbox 3y ago
Sometimes it's very good I had a list of strings in this format "foo:bar:baz" and needed to convert this into an dict {"foo":{"bar":"baz"}
It wrote me the function and I got on with the rest of my work.
Other times it's just completely wrong or doesn't get what I'm after is might be a "me" problem with my prompting
- sebastiennight 3y agoIt's 11PM and the unclosed curly bracket here is going to prevent me from sleeping. Did you mean ``` {"foo":{"bar":"baz"}} ``` ? By the way, have you had success at asking GPT to generate unit tests that include edge cases? I've been wondering about that.
- vorticalbox 3y agoI did mean that I apologize for the missed }. I haven't had much luck slot of the time it just adds a comment saying "rest of tests here" which is annoying. I have had good success with it generating things like JSDOC/doc strings and sending git diff and asking it to create a "developer friendly summary for use in a pull request description" This has definitely increased my work output