သဘောတရား
Parts of a prompt
The building blocks of a prompt: instruction, context, input data, output format and negative prompts.
ဒီသင်ခန်းစာကို မြန်မာဘာသာ မပြန်ရသေးလို့ အင်္ဂလိပ်လို ပြထားပါတယ်။
Instruction
The task to do.
Context
Background, role or audience.
Input data
The text or item to work on.
Output format
How the answer should look.
Negative prompt
What to avoid or leave out.
Context
- You are a support agent for a shoe shop.
Instruction
- Summarize the complaint below.
Input data
- The customer email text.
Output format
- Answer in two bullet points.
Negative prompt
- Do not promise a refund.
| Part | Example |
|---|---|
| Context | You are a support agent for a shoe shop. |
| Instruction | Summarize the complaint below. |
| Input data | The customer email text. |
| Output format | Answer in two bullet points. |
| Negative prompt | Do not promise a refund. |
ဘာလဲ
A strong prompt is built from a few parts. You do not need all of them every time, but knowing them helps you fix a weak prompt.
The instruction is the task: what the model must do. The context is background that shapes the answer, such as a role or audience. The input data is the text or item to work on. The output format says how to answer, such as a table or three bullets. A negative prompt says what the model must not do or include.
Put the parts in a clear order and keep them separate, for example with labels. That makes the prompt easy to read, test and reuse.
မှတ်ထားရန်
- Instruction: the task to perform.
- Context: background such as a role, audience or rules.
- Input data: the content to work on.
- Output format: the shape of the answer.
- Negative prompt: what to avoid or leave out.
မှတ်ထားရန်
- Label the parts so the model and your team can tell them apart.
စာမေးပွဲမှာ
- “Tell the model what not to include” describes a negative prompt.
- “Background such as a role or audience” is context.
- “The task the model must do” is the instruction.
ဒါတွေနဲ့ မရောပါနဲ့
- Prompting techniquesZero-shot, few-shot, chain-of-thought, negative prompts, templates, roles, chaining and ReAct, with one clue each.
- Context engineeringChoosing what goes into the model's context so it can give better answers.
- Prompt best practicesHabits that raise answer quality: be specific, keep it short, give examples, test and add guardrails.