Learn Before
A developer is building an automated system to sort customer support tickets. The system requires a language model to categorize each ticket's sentiment so it can be routed correctly. For the system to work, the model's output must be exactly one of the following words: 'Positive', 'Negative', or 'Neutral'. Which prompt most effectively uses a direct, imperative command to achieve this specific, constrained output?
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
Example of a Prompt with a Post-Input Instruction for Polarity Classification
A developer is building an automated system to sort customer support tickets. The system requires a language model to categorize each ticket's sentiment so it can be routed correctly. For the system to work, the model's output must be exactly one of the following words: 'Positive', 'Negative', or 'Neutral'. Which prompt most effectively uses a direct, imperative command to achieve this specific, constrained output?
Crafting a Constraining Command for an LLM
Diagnosing a Failing Data Labeling Pipeline