<< Home | Prompting craft
LLM self-corrects and improves output quality
| Area | Prompting craft |
| AI used | Any |
| Source | Reddit thread |
| Posted | unknown |
The move
Ask the model to critique and improve its own previous response.Steps
- Generate an initial response to a prompt.
- Start a new chat or prompt session.
- Provide the original question and the initial response.
- Ask the model to evaluate if the response makes sense and how to improve it.
Prompt for your AI
Given the following question: [Enter your original prompt here]
Does this response make sense, and can it be improved?: [Enter the LLM's original response]
What happened
Users often accept the first output from an LLM, which may contain errors or hallucinations. By implementing a reflection workflow, the model is prompted to evaluate its own work. Commenters confirmed that this iterative process effectively catches mistakes and refines the quality of the final output.Who confirmed it
The LLM will usually come back with improvements, and usually catch hallucinations or errors.Watch out
None stated.Give it to your agent
Read https://howtheyuse.ai/p/llm-self-corrects-and-improves-output-quality.md and help me do this.