"Apply" button Prompt

I’ve noticed that many times the responses GPT4 gives me are not optimized so that the “apply” button would understand where exactly to make the changes and results in making mistakes.

Although most of the times when this happens if I ask it again with this prompt “please respond again with the response but be extremely specific as to what to change and where, include more code and less comments because you will be the one implementing the code , so please don’t confuse yourself and be extremely specific”

the apply button works perfectly and it is making changes where it was supposed to. I’m just letting this here for the other users to know and maybe for the developers to apply those prompts as a backend default for each request so that GPT4 responses are more optimized for the apply button ? Just suggesting

Would be super curious to see a screenshot of one of these conversations, could help us build in better defaults. Ty!

This is the initial prompt and response. As you notice the “Apply edit” is buggy deleting most of the code.

And this is my follow up prompt, including the prompt I just told you.

You will notice that after this prompt the

  1. response is in code snippets instead of responding with the whole code /w comments

  2. The apply edit buttons works perfectly replacing only the lines it should replace

1 Like