Constructing a Classification Prompt
You are tasked with using a large language model to categorize user feedback for a new mobile application. The feedback needs to be classified into one of three categories: 'Bug Report', 'Feature Request', or 'General Praise'. Write a complete, self-contained prompt that instructs the model to classify the following user feedback: 'The app crashes every time I try to upload a photo.'
0
1
Tags
Ch.1 Pre-training - Foundations of Large Language Models
Foundations of Large Language Models
Foundations of Large Language Models Course
Computing Sciences
Ch.3 Prompting - Foundations of Large Language Models
Application in Bloom's Taxonomy
Cognitive Psychology
Psychology
Social Science
Empirical Science
Science
Related
A developer is creating a prompt to have a language model classify customer feedback. The model's outputs are inconsistent, sometimes generating long sentences instead of a simple category. Analyze the prompt below and identify the most critical missing component that is likely causing this issue.
Prompt:
Identify the sentiment of the following text. Input: The user interface is confusing and difficult to navigate.Constructing a Classification Prompt
A data scientist needs to classify movie reviews into one of two categories: 'Recommended' or 'Not Recommended'. Which of the following prompts is best structured to ensure the language model consistently provides one of the desired labels for the input text?