Page 191 - CodePilot V5.0 C7
P. 191
Creative Prompts
These prompts are used to generate stories, poems, jokes or other forms of creative writing.
They encourage imaginative responses.
Example: Write a story about a robot that learns how to paint.
Instructional Prompts
These are used to give step-by-step guidance or tutorials. They are helpful in teaching processes,
coding or providing directions.
Example: Explain how to bake a chocolate cake in five simple steps.
Comparative Prompts
These prompts ask the AI to compare and contrast two or more things. They are helpful for making
decisions or understanding differences.
Example: Compare smartphones and tablets in terms of features and usage.
Problem-solving Prompts
These are used to find solutions to questions or challenges. They often include the phrases
How can, What are ways to or Suggest a method.
Example: How can we reduce plastic waste in schools?
TIPS FOR WRITING EFFECTIVE PROMPTS
Be clear and specific: Avoid vague words. Clear instructions help the AI understand your
intent.
Use proper formatting: Use bullet points or numbered lists if needed to structure your prompt.
Mention the desired output type: Tell the AI if you want a paragraph, list, story, poem, etc.
Provide context: A bit of background helps the AI give a more accurate answer.
Avoid ambiguity: Keep your language direct and focused.
Experiment and refine: Try different versions of the same prompt to compare results.
COMMON MISTAKES IN PROMPT ENGINEERING
Being too general: Prompts like Tell me something are too open-ended and may lead to
irrelevant answers.
Asking multiple questions at once: This confuses the AI. Break complex prompts into smaller
parts.
Using poor grammar or spelling: Mistakes can mislead the AI or affect the quality of the
response.
Lack of purpose: Not knowing what you want from the prompt can lead to vague or incorrect
results.
Ignoring output limitations: Expecting the AI to give personal opinions or real-time facts may
not work.
189
Bonus Byte - 1 (Prompt Engineering)

