Learn Before
Refining a Prompt for Clarity
The following prompt is poorly structured, making it potentially confusing for a language model. Rewrite the prompt to improve its clarity and reduce ambiguity by organizing the information into distinct, clearly defined sections.
Original Prompt: 'Write a product description for a new coffee mug. It's a 12-ounce ceramic mug, it's dishwasher safe, and the target audience is busy professionals. Make it sound witty and engaging, and it should be about 50 words.'
0
1
Tags
Ch.3 Prompting - Foundations of Large Language Models
Foundations of Large Language Models
Foundations of Large Language Models Course
Computing Sciences
Application in Bloom's Taxonomy
Cognitive Psychology
Psychology
Social Science
Empirical Science
Science
Related
Prompt Field Labeling for Clarity and Structure
Code-like Prompt Templates
An engineer is tasked with creating a prompt that instructs a language model to summarize a given text. Below are two versions of the prompt they are considering.
Prompt A: "Please summarize the following text for me. The summary should be exactly two sentences long and maintain a formal tone. The text to summarize is: The quick brown fox jumps over the lazy dog."
Prompt B: "INSTRUCTIONS: Summarize the provided text.
CONSTRAINTS:
- Length: Exactly 2 sentences.
- Tone: Formal.
TEXT: The quick brown fox jumps over the lazy dog."
What is the primary advantage of using the formatting in Prompt B over the formatting in Prompt A?
Refining a Prompt for Clarity
Evaluating Prompt Structure for a Chatbot