• m_‮f@discuss.onlineOPM
    link
    fedilink
    English
    arrow-up
    2
    ·
    26 days ago

    I saw a comment elsewhere that found a way to make the hallucinations useful:

    I’ve found this to be one of the most useful ways to use (at least) GPT-4 for programming. Instead of telling it how an API works, I make it guess, maybe starting with some example code to which a feature needs to be added. Sometimes it comes up with a better approach than I had thought of. Then I change the API so that its code works.

    Conversely, I sometimes present it with some existing code and ask it what it does. If it gets it wrong, that’s a good sign my API is confusing, and how.