Skip to content

Current path

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

Advanced Outputs

Multimodal Prompting

Formulate tasks involving text, images, or files by identifying the material to analyze and the desired result.

In this lesson

Why this matters

Multimodal prompts combine text with images, audio, video, or files when supported. Specify what to extract and how to handle unclear content, and check platform limits.

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: استخرج من لوحة المواعيد الوقت والوجهة والبوابة فقط؛ اكتب «غير واضح» للنص غير المقروء.

Short practice

Apply the lesson concept to this task: اكتب أمر استخراج 4 حقول من فاتورة تجريبية غير حساسة.

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.