0
0
AI for Everyoneknowledge~15 mins

Writing specific vs vague prompts in AI for Everyone - Hands-On Comparison

Choose your learning style9 modes available
Writing Specific vs Vague Prompts
📖 Scenario: You want to get useful answers from an AI assistant. Sometimes, vague questions give unclear answers. Specific questions help the AI understand exactly what you want.Imagine you are asking an AI for help planning a trip.
🎯 Goal: Build examples showing the difference between vague and specific prompts to get better AI responses.
📋 What You'll Learn
Create a list of vague prompts about trip planning
Add a variable for the topic to focus on
Create a list of specific prompts using the topic variable
Add a final explanation string about why specific prompts work better
💡 Why This Matters
🌍 Real World
People often ask AI assistants questions. Knowing how to write specific prompts helps get better answers.
💼 Career
Clear communication with AI tools is important in many jobs like customer support, content creation, and data analysis.
Progress0 / 4 steps
1
Create a list of vague prompts
Create a list called vague_prompts with these exact strings: 'Tell me about trips.', 'I want to travel.', 'Help me plan.'
AI for Everyone
Hint

Use square brackets to create a list and include the exact strings separated by commas.

2
Add a topic variable
Create a variable called topic and set it to the string 'budget travel'.
AI for Everyone
Hint

Assign the string 'budget travel' to the variable named topic.

3
Create a list of specific prompts using the topic
Create a list called specific_prompts with these exact strings using the variable topic: f"Give me tips for {topic}.", f"What are the best destinations for {topic}?", f"How can I save money on {topic}?"
AI for Everyone
Hint

Use f-strings to include the variable topic inside each prompt string.

4
Add a final explanation about specific prompts
Create a string variable called explanation with this exact text: 'Specific prompts help AI give clearer and more useful answers.'
AI for Everyone
Hint

Assign the exact explanation text to the variable explanation.