Learn Before
Analyzing an Ineffective Prompt Structure
A user wants a language model to generate a personalized, 3-day travel itinerary for a trip to Paris, focusing on historical sites and budget-friendly food. The user submits the following prompt: 'Paris trip'. The model returns a very generic, encyclopedia-like description of Paris. Analyze the user's prompt. Identify which key structural components are missing or poorly defined, and explain how incorporating them would lead to a more useful response from the 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
Analysis in Bloom's Taxonomy
Cognitive Psychology
Psychology
Social Science
Empirical Science
Science
Related
Analyzing an Ineffective Prompt Structure
The following prompt has been divided into three sections (A, B, and C). Analyze the prompt and match each section to its corresponding structural component.
Section A:
You are a helpful assistant that translates English to French. Your translations should be formal.Section B:
English: 'Hello, how are you?' French: 'Bonjour, comment allez-vous?'Section C:
English: 'I need to buy some bread.' French:A developer wants to use a language model to generate a Python function that calculates the factorial of a non-negative integer. Which of the following prompts is most effectively structured to guide the model towards the desired output by clearly separating instructions, examples, and the specific request?