0Pricing
Prompt Engineering & LLM Optimization for Developers · درس

البنى الأساسية للمطالبات

تعلّم المكونات الأساسية للمطالبة، بما في ذلك التعليمات والسياق وبيانات الإدخال وتنسيق الإخراج.

البنى الأساسية للمطالبات درس مجاني في Prompt Engineering & LLM Optimization for Developers على CoddyKit. هذا هو الدرس 2 من أصل 4. يمكنك قراءة الدرس كاملاً أدناه مجاناً — ثم تمرن عليه مباشرة في المتصفح باستخدام محرر أكواد مدمج ومدرس ذكاء اصطناعي متاح 24/7. هذا الدرس جزء من مسار التعلم في Prompt Engineering & LLM Optimization for Developers، وتقدمك يتزامن عبر الويب وتطبيق CoddyKit. تتضمن دورة Prompt Engineering & LLM Optimization for Developers 4 دروس في المجموع.

بعض أجزاء هذا الدرس لم تُترجم بعد وتظهر باللغة الإنجليزية.

Deconstructing Your Prompts

A prompt is a set of instructions for the AI - like a recipe. The clearer the recipe, the better the result. Let's break a prompt into its core parts.

Why Structure Matters

Good structure pays off: it prevents misunderstandings, sharpens accuracy, and keeps outputs consistent. The AI knows exactly what you want.

Component 1: Instructions

The instruction is the core command - what task to perform. Be direct and specific; vague language leaves the model guessing.

Instructions in Action

A plain instruction like "Summarize the following text" makes the model's job crystal clear. That directness is the whole point.

Component 2: Context

Context gives the model background or a scenario. It helps the AI grasp the situation so its answer fits your specific needs.

Adding Context to Prompts

Context often sets a role or audience, like "You are a helpful assistant" and "for a 5th grader." Those framing words steer tone and depth.

Component 3: Input Data

Input data is the actual content the model works on to fulfill your instruction - text, a list, numbers, or any specifics it should process.

Input Data in Practice

The input data is the raw material. In a summarize prompt, the text you paste in (often inside quotes) is exactly that data.

Component 4: Output Format

The output format says how you want the answer shaped - a bullet list, JSON, or "max 50 words." It keeps results consistent and easy to use.

Specifying Output Format

Spelling out the output format, like "in exactly three bullet points," is vital when feeding LLM responses into an app that has to parse them.

Prompt Structure Challenge

You've learned about instructions, context, input data, and output format. Read the prompt below carefully.

"You are a helpful assistant. Summarize the following article for a busy executive. Provide the summary as a bulleted list of key takeaways.

Article: [Content of a fictional article about a new tech trend]"

Which part of this prompt specifies how the answer should be presented?

Recap: Your Prompt Toolkit

Recap: a strong prompt has four parts - instruction, context, input data, and output format. Master these basics for clear, predictable results.

الأسئلة الشائعة

هل درس «البنى الأساسية للمطالبات» مجاني؟

نعم — نص درس «البنى الأساسية للمطالبات» كامل متاح مجاناً هنا على الويب. لتمرينه بشكل تفاعلي (محرر أكواد مدمج ومدرس ذكاء اصطناعي متاح 24/7) وفتح باقي دورة Prompt Engineering & LLM Optimization for Developers، انتقل إلى CoddyKit PRO. تتضمن دورة Prompt Engineering & LLM Optimization for Developers 4 دروس في المجموع.

ماذا ستتعلم في «البنى الأساسية للمطالبات»؟

تعلّم المكونات الأساسية للمطالبة، بما في ذلك التعليمات والسياق وبيانات الإدخال وتنسيق الإخراج. تتمرن على Prompt Engineering & LLM Optimization for Developers مع أكواد عملية تشغلها مباشرة في المتصفح، ومدرس ذكاء اصطناعي متاح 24/7 يجيب على أسئلتك أثناء عملك.

هل أحتاج إلى خبرة سابقة لأبدأ Prompt Engineering & LLM Optimization for Developers؟

لا تُشترط خبرة سابقة. Prompt Engineering & LLM Optimization for Developers على CoddyKit منظم للمبتدئين حتى المتقدمين، لذا يمكنك البدء من هنا أو من البداية والتقدم بسرعتك الخاصة. هذا هو الدرس 2 من أصل 4.

كم من الوقت يستغرق درس «البنى الأساسية للمطالبات»؟

معظم دروس CoddyKit تستغرق حوالي 5–10 دقائق. كل منها موجز وتفاعلي، لذا تحرز تقدماً مستمراً وتستأنف من حيث توقفت عبر الويب والتطبيق.

هل يمكنني كتابة وتشغيل أكواد في درس Prompt Engineering & LLM Optimization for Developers هذا؟

نعم. كل درس في Prompt Engineering & LLM Optimization for Developers يتضمن محرر أكواد مدمج، لذا تكتب وتشغل أكواداً حقيقية مباشرة في متصفحك وتحصل على تعليقات فورية من الذكاء الاصطناعي — بدون إعداد محلي.

جميع الدروس في هذه الدورة

  1. مقدمة إلى LLMs وهندسة المطالبات
  2. البنى الأساسية للمطالبات
  3. المطالبات دون أمثلة وبأمثلة قليلة
  4. أخطاء كتابة prompts الشائعة وكيفية تجنبها
← العودة إلى Prompt Engineering & LLM Optimization for Developers