Teach a format by example
Use the opposite Shift key for capital letters. · 133 words
An example can show a model the pattern you expect. Suppose a library sorts messages into requests and returns. Show a message asking for a book beside the label request. Then give a message about bringing a book back beside the label return. Try a fresh message to check the pattern.
Now consider a message asking when a borrowed book is due. The writer mentions bringing a book back but has asked a question. Would your labels classify that as a request or a return? Decide what the library needs to do next and include a boundary example showing that decision. Save a similar message for testing. If the model consistently sorts by a single word, a contrasting pair using that word in both categories will teach more than ten nearly identical examples.
Check your recall
Why try a fresh message?
Check your answer
A new case tests whether the model can apply the pattern beyond the examples.
Sources and credits
Original KeyTouch lesson. Background reading · Microsoft · Generative AI for Beginners.