from Hacker News

Use GPT as a branching statement within any of your Python scripts

by anon012012 on 8/6/23, 8:28 PM with 2 comments

  • by anon012012 on 8/6/23, 8:28 PM

    Hello, people. I am releasing this project which is a tool to branch logic according to GPT. Very simply put. The code is not very clean (I'm bad at meticulousness).

    I am not releasing it for production use, but as a proof-of-concept. I could not find it elsewhere. I hope you will find it as useful as I do. There is "if", "while", and "match". All of them powered by GPT API.

    It is true, I did not test it extensively because I'm excited to share this with you guys!

    Hopefully, you will be as excited as I am to play a little with this.

    Thanks

  • by frendiversity on 8/6/23, 8:29 PM

    Very cool!!!