I was trying to do a memory test to see how far back 3.5 could recall information from previous prompts, but it really doesn’t seem to like making pseudorandom seeds. 😆

  • jarfil@beehaw.org
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    I’ve tried it with languages I don’t know, and it managed to write simple working functions by just iterating over:

    1. Ask it to write the code
    2. Try to run the code, write down any errors
    3. Look up the errors, and ask it to fix them in the code
    4. Repeat from 2 until there are no more errors

    It seems to lose context easily, like if you ask it to fix one error, then another, it might revert the first fix, but asking it to fix both at once, tends to work.

    I think someone could feasibly write several working functions or modules, without knowing much about a given language, as long as they are clear about what they want them to do… but of course spotting obvious errors and fixing them by hand, can be faster. Fixing integration problems is where I think it might get harder (haven’t tried though, could be interesting).