English
Prompt engineering is the practice of crafting the wording, structure, and examples in an instruction to a language model to get better or more reliable output. It includes techniques like giving examples, specifying format, and breaking a task into steps.
Prompt engineering is the practice of shaping the instruction so the model does what you meant. It matters because a model has no access to your intent beyond the words you supply, and small structural changes, an example, an explicit role, a stated output format, move results more than politeness or emphasis ever do. Its status is contested: as models improve, some of it stops being necessary, while the structural parts survive.
Adding two worked examples to the prompt cut the error rate in half.
العربية
هندسة التوجيه ممارسة صياغة نص التعليمات وبنيتها والأمثلة المرفقة بها للحصول على مخرجات أفضل وأكثر موثوقية من النموذج اللغوي. تشمل تقنيات مثل إعطاء أمثلة وتحديد الصيغة المطلوبة وتقسيم المهمة إلى خطوات.
هندسة التوجيه ممارسةُ تشكيل التعليمة ليفعل النموذج ما قصدتَه. وأهميتها أن النموذج لا سبيل له إلى نيّتك خارج الكلمات التي تمنحه إياها، وأن تغييراتٍ بنيويةً صغيرة، مثالاً، أو دوراً صريحاً، أو صيغةَ خرجٍ محددة، تحرّك النتائج أكثر مما يحرّكها التأدب أو التوكيد. ومكانتها موضع خلاف: فكلما تحسّنت النماذج سقطت الحاجة إلى بعضها، وبقي الجزء البنيوي.
خفّضت إضافةُ مثالين محلولين إلى التوجيه نسبةَ الخطأ إلى النصف.
Also known as
- prompt design
- prompting
- هندسة البرومبت
- البرومبت إنجنيرينغ
Also seen as, but not recommended
- هندسة الأوامر
- هندسة المطالبات
Why this form: «الأوامر» means commands, which misdescribes the relationship; «التوجيه» (directing, steering) is closer to what a prompt does.
