Self-Refine's refinement prompt gives the model the task, its own previous draft and the critique, then asks for a revision. Showing the draft is what makes the revision a targeted edit.
Implement build_refine_prompt(task, draft, feedback), returning the revision request.
Format the three inputs with labels, then add the instruction.
No results yet
Run your code to check it against the examples, or submit to run every test.