we craft effective prompts and evalua ...
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
1. Approach Prompting as a Discussion Instead of a Direct Command Suppose you have a very intelligent but word-literal intern to work with. If you command them, "Write about health," you are most likely going to get a 500-word essay that will do or not do what you wanted to get done. But if you comRead more
1. Approach Prompting as a Discussion Instead of a Direct Command
Suppose you have a very intelligent but word-literal intern to work with. If you command them,
“Write about health,”
you are most likely going to get a 500-word essay that will do or not do what you wanted to get done.
But if you command them,
2. Structure Matters: Take the 3C Rule — Context, Clarity, and Constraints.
1️⃣ Context – Tell the model who it is and what it’s doing.
2️⃣ Clarity – State the objective clearly.
3️⃣ Constraints – Place boundaries (length, format, tone, or illustrations).
3. Use “Few-Shot” or “Example-Based” Prompts
AI models learn from patterns of examples. Let them see what you want, and they will get it in a jiffy.
Example 1: Bad Prompt
Example 2: Good Prompt
“See an example of a good feedback message:
This technique — few-shot prompting — uses one or several examples to prompt the style and tone of the model.
4. Chain-of-Thought Prompts (Reveal Your Step-by-Step Thinking)
For longer reasoning or logical responses, require the model to think step by step.
Instead of saying:
Write:
5. Use Role and Perspective Prompts
You can completely revolutionize answers by adding a persona or perspective.
Prompt Style\tExample\tOutput Style
Teacher
“Describe quantum computing in terms you would use to explain it to a 10-year-old.”
Clear, instructional
Analyst
“Write a comparison of the advantages and disadvantages of having Llama 3 process medical information.”
Formal, fact-oriented
Storyteller
“Briefly tell a fable about an AI developing empathy.”
Creative, storytelling
Critic
“Evaluate this blog post and make suggestions for improvement.”
Analytical, constructive
By giving the model something to do, you give it a “voice” and behavior reference point — what it spits out is more intelligible and easier to predict.
6. Model Output Evaluation — Don’t Just Read, Judge
A. Relevance
Does the response actually answer the question or get lost?
B. Accuracy
C. Depth and Reasoning
Is it merely summarizing facts, or does it go further and say why something happens?
Ask yourself:
D. Style and Tone
E. Completeness
7. Iteration Is the Secret Sauce
No one — not even experts — gets the ideal prompt the first time.
Feel free to ask as you would snap a photo: you adjust the focus, lighting, and view until it is just right.
If an answer falls short:
AI is your co-builder assistant — you craft, it fine-tunes.
8. Use Evaluation Loops for Automation (Developer Tip)
Evaluating output automatically by:
This facilitates model tuning or automated quality checks in production lines.
9. The Human Touch Still Matters
You use AI to generate content, but you add judgment, feeling, and ethics to it.
Example to generate health copy:
AI is the tool; you’re the writer and meaning steward.
A good prompt is technically correct only — it’s humanly empathetic.
10. In Short — Prompting Is Like Gardening
You plant a seed (the prompt), water it (context and structure), prune it (edit and assess), and let it grow into something concrete (the end result).