Provide 2-5 input-output examples to teach the model your exact desired pattern and format.
# Few-shot classification
Classify each tweet as Spam or Ham.
Tweet: 'Win a FREE iPhone! Click now!'
Label: Spam
Tweet: 'Can we reschedule our meeting to 3pm?'
Label: Ham
Tweet: 'URGENT: Your account has been compromised!'
Label: Spam
Tweet: 'Great presentation today, really enjoyed it.'
Label: Ham
Tweet: 'Congratulations! You have been selected for a prize.'
Label:
# Few-shot extraction
Extract name and role.
Sentence: 'Alice Smith leads the backend team.'
Name: Alice Smith | Role: Backend Team Lead
Sentence: 'Bob joined as a senior data scientist.'
Name: