Learn Before
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:
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?