Learn Before
Evaluating Prompt Structure for a Chatbot
A developer has created the following prompt for a customer service chatbot. The goal is for the chatbot to act as a friendly and helpful assistant for 'InnovateTech'. It should use the provided conversation history to answer the user's latest question about their order status.
Evaluate the current structure of this prompt. Identify at least two specific weaknesses in its formatting and explain how these weaknesses could lead to an unclear or incorrect response from the language model.
0
1
Tags
Ch.3 Prompting - Foundations of Large Language Models
Foundations of Large Language Models
Foundations of Large Language Models Course
Computing Sciences
Evaluation 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