AcademyCareersContact

الأمثلة والتحسين المتكررExamples and iteration

8 دقائق قراءةmin read

إعطاء مثال أو مثالين للناتج المطلوب (few-shot) يرفع الدقة كثيراً، خاصة في الأسلوب والتنسيق.Giving one or two examples of the desired output (few-shot) greatly improves accuracy, especially for style and format.

لا تتوقع الكمال من المحاولة الأولى. اقرأ الناتج، حدّد ما ينقص، واطلب تعديلاً محدداً: «اجعله أقصر»، «أضف رقماً»، «بنبرة أكثر رسمية».Do not expect perfection on the first try. Read the output, identify what is missing and ask for a specific change: "make it shorter", "add a number", "more formal tone".

احفظ الأوامر التي نجحت في مكتبة شخصية لتعيد استخدامها.Save prompts that worked in a personal library so you can reuse them.

الخلاصةKey takeaways

  • مثال واحد أفضل من فقرة شرح.One example beats a paragraph of explanation.
  • عدّل بطلبات محددة.Refine with specific requests.

تمرينExercise

اكتب مثالين لوصف منتج بأسلوبك، ثم اطلب 5 أوصاف جديدة على نفس النمط.Write two product descriptions in your style, then ask for five new ones in the same pattern.

اختبر نفسك

ما فائدة إعطاء مثال (few-shot)؟