Ask HN: How do you stop ChatGPT from being lazy?

  • Just a couple weeks ago it was discovered that you could get ChatGPT to regurgitate training data by having it repeat words forever (source: https://www.wired.com/story/chatgpt-poem-forever-security-ro...). Combined with the overall demand, I suspect they're trying to keep it from attempting repetitive tasks that could be exploited.

    Some redditors have reported success in getting it to finish a job with replies like these, but ymmv: No, I'd like you to do what I asked. I’m not sure how to continue from there, can you finish the rest? this is very important for my career

    I love the irony here. The sales pitch was that AI is so incredible that it would do our work with minimal effort on our part. No more coding! Just have a conversation with it about what you want done! But it turns out we have to try to trick or coerce it into doing work. Not because the underlying AI is self aware and lazy, but because the guide rails built to keep it from doing things it shouldn't are written in natural language and don't succinctly distinguish between wanted and unwanted behavior.

  • I have seen that, where I want to just cut and paste the response but the return content has something like a one liner that states ("the rest of your code here") and I can't cut and paste it. I ask for a full return of content, but don't always get it.

  • Have you tried different prompts with more instructions, like "don't truncate or use "etc..." in your response"? Providing examples in the prompt typically helps as well

    fwiw, the following prompt works with bard

    "Give me a JSON object with 50 keys and values"

    "Give me a JSON object with 50 keys and string values"

  • What would you do if someone asked that?