The 5 elements of a good prompt — with examples, before and after

By: ·

Machine translation · Read the original (Hungarian)

In short: Szerep, feladat, háttér, formátum, példa — és ha rossz a válasz, ne kezdd újra, hanem mondd meg, mi a baj.

The 5 elements of a good prompt — with examples, before and after

Most disappointments with AI are not due to the model, but the request. Five elements, and the answer will be much better.

Before

Write a letter to my boss about my vacation.

After

Role: Help an employee write a polite email.
Task: Request a vacation from November 3-7.
Background: My project will be closed on October 31, my deputy will handle Client B's cases.
Format: Up to 80 words, formal, with the request in the first sentence.
Prohibition: Do not apologize, do not provide a reason for the vacation.

The five elements

  1. Role — who should the AI be? (teacher, editor, customer service)
  2. Task — what to do, precisely, in one sentence
  3. Background — what it needs to know (what you know, it doesn't)
  4. Format — how long, what structure the answer should have
  5. Example or prohibition — what you want to see, and what not at all

Pixel Aika

Pixel Aika: If the answer is bad, don't start over — tell me what to improve.

If the answer is bad

  • Don't start over. Tell me what you didn't like: "shorter", "more formal", "with an example".
  • Ask to ask back: "Before you answer, ask about what's missing."
  • Don't provide personal data to cloud AI — write instead: "Client B".

One-page shotgun next to the monitor: AIKA DROP #02 — aikahub.com/drop/2. You can find the ready-made templates in the Prompts channel, and with the "Try with Aika" button, you can try them out immediately.