When I have seen some devs talking to chatgpt they are quite good at referring back to previous texts/outputs and then get it to understand along the way and produce better and better output. Anyhow, I haven't tried it yet myself.