One-Shot Sentiment Classifier

One-Shot Sentiment Classifier

Model: GPT-4
Difficulty: Beginner
Upvotes: 0
classificationone-shotsentiment analysis

โ€” Prompt โ€”

Example:
Review: 'The movie was incredible.'
Sentiment: Positive

Review: [insert review]
Sentiment:

Why It Works

One clear example teaches the AI the desired classification format.

Example Output

Negative