Craft Flawless Prompts for Any AI Task: Mastering the Iterative Approach

Craft Flawless Prompts for Any AI Task: Mastering the Iterative Approach

You've likely encountered many articles or social media posts with titles like "50 prompts everyone should know" or "Top 20 prompts to get the best output from LLMs", When it comes to prompting, there's no one-size-fits-all approach as the tasks you're trying to accomplish will vary depending on the person and the situation.

To achieve the desired output, the best approach is to develop your own process for prompting through iteration and experimentation. Lets look at an example:

Try the first prompt
Help me rewrite this paragraph: [.......]

See how it turned out! If it's not quite right, try tweaking the prompt for better results.

Improved prompt
Correct any spelling and grammatical errors in this: [......]

Evaluate the output once again and you may further improve it.

Further improved prompt
Correct any spelling and grammatical errors in this, and rewrite in a tone appropriate for professional cover letter:[...]

The prompting process -

  1. Be clear and specific in prompt

  2. Evaluate the result and think why desired output isn't coming

  3. Refine the prompt

  4. Repeat

LLM prompting process workflow