Skip to content

Current path

Prompt Engineering
Level: Intermediate33 lessons
Progress0/33 · 0%

Foundations

What Is a Prompt?

Understand a prompt as the input that guides a model toward a task or response.

In this lesson

Why this matters

A prompt is the input that guides a model: a question, instructions, context, or data. Quality means clarity about what the model needs, not more words.

How to apply it

  1. Define the task and desired outcome.
  2. Add only context or rules that affect success.
  3. Specify an output form or checkable criterion when needed.
  4. Test on realistic input and revise when a failure pattern appears.

Practical example

Weak example:

text
Weak version of the same task: اكتب عن التسويق.

The weak version leaves an important part of the task or its boundaries to guesswork. The improved version adds information tied directly to success without treating length or complexity as a goal.

Improved example:

text
Improved version: اشرح لمبتدئ في 5 نقاط الفرق بين التسويق التقليدي والرقمي، ثم أعط مثالًا لكل نوع.

Short practice

Apply the lesson concept to this task: حوّل «ساعدني في السيرة الذاتية» إلى طلب يحدد المهمة والجمهور وشكل الناتج.

Check your understanding

Check: هل يجب أن يكون الأمر طويلًا؟
Answer: لا؛ يجب أن يكون واضحًا ويحتوي المعلومات اللازمة.

Summary

Keep this concept as one tool rather than a magic formula. Tie it to the goal and success criteria, then build on it in the next lesson.