Promptles
Prompt Engineering Basics

Iteration

beginner

Definition

Refining your results through follow-up prompts. Your first prompt rarely produces a perfect result. Iteration means reviewing what you got, identifying what's off, and asking for targeted adjustments rather than starting over.

In the wild

First prompt: 'Create a search function.' Review: it works but is case-sensitive. Follow-up: 'Update the search function to be case-insensitive.' Each round gets closer to what you need.

More from Prompt Engineering Basics