Skip to content

Latest commit

 

History

History
47 lines (23 loc) · 2.06 KB

File metadata and controls

47 lines (23 loc) · 2.06 KB

Exercise 3: Prompt Transformation with Patterns

Objective: Strengthen weak prompts using patterns.

Take a vague or under-specified prompt (e.g., "Write about climate change.").

Transform it using instructional or comparative patterns:

    Instructional: "Write a 200-word explanation of climate change for high school learners."

    Comparative: "Compare the effects of climate change on coastal vs inland regions in 5 bullet points."

Document the improvement in clarity and usefulness of the outputs.



Weak Prompt

“Write about climate change.”

Improved Prompt 1: Instructional Pattern

“Write a 200-word explanation of climate change for high school learners.”

Output

Climate change refers to long-term changes in Earth’s temperature and weather patterns. It is mainly caused by human activities such as burning fossil fuels, deforestation, and industrial production. These activities release greenhouse gases like carbon dioxide into the atmosphere, trapping heat and warming the planet.

As temperatures rise, glaciers melt, sea levels increase, and extreme weather events such as hurricanes and heatwaves become more common. Climate change also affects agriculture, wildlife, and water supplies.

To address climate change, governments and individuals can reduce greenhouse gas emissions by using renewable energy, conserving electricity, and protecting forests. Understanding climate change helps young people make informed decisions and contribute to environmental solutions.

Improved Prompt 2: Comparative Pattern

“Compare the effects of climate change on coastal vs inland regions in 5 bullet points.”

Output

Coastal regions face rising sea levels, while inland regions face increased heatwaves.

Coastal areas experience stronger hurricanes, while inland areas may suffer droughts.

Saltwater intrusion threatens coastal agriculture, while inland farming struggles with water shortages.

Coastal cities risk flooding, while inland cities face wildfire risks.

Both regions experience economic strain but from different climate-related disasters.