• So I created the RSS reader app with ChatGPT, not without issues though.

    Where it failed was:

    1. It used incorrect http api instead of Gadgetbridge API, but was able to correct itself when I told to use that.
    2. It did not know the Gadgetbridge API .resp trick with returned "data" so I had to manually fix
    3. It completely broke on attempting to write XML parser with RegExp but apparently because RegExp implementation in espruino is too non-standard and I ended up asking it to rewrite the parser wtih string slicing, and it worked.

    I believe it would have been doable in one shot if I fed it ahead of time the API nuances with tiny use case examples, specifically the "rough edges" like unsupported RegExp.

    I can definitely create a neat "GPTs" demo case where it writes the app in one shot.

    Full transcript to the point where I understood it won't fix itself: https://chat.openai.com/share/18d6df03-7af0-41da-a660-f419c1abd686

    Final RSS reader app attached.


    1 Attachment

About

Avatar for grandrew @grandrew started