What is Self-Refine prompting?
Prompt Engineering Patterns: Tree of Thoughts, Graph of Thoughts, Self-Refine, Reflexion
Audio flashcard · 0:19Nortren·
What is Self-Refine prompting?
0:19
Self-Refine is an iterative pattern where the model generates an initial answer, then critiques its own output, then produces an improved version based on the critique. The cycle repeats until a stopping criterion is met. Self-Refine works because LLMs are often better at recognizing problems in existing text than at producing perfect output on the first try.
arxiv.org