DigiTransact AI
Field guide Meta Llama

Classify help-desk messages with examples for Meta Llama

DigiTransact AI

At a training centre in Tamale, one volunteer handles sign-in problems and another handles missing handouts. Both receive messages that just say the course is not working. Rather than ask a Llama chat to guess who should respond, show it how your desk sorts requests, including the ones nobody can route yet.

Define labels by the work that follows

Use an instruction-following Llama model in a chat interface you have access to. Give it three labels. Access is for a learner who explicitly cannot sign in. Materials is for a learner who is signed in but cannot find or open a course resource. Review is for anything unclear, outside these definitions or involving both problems. Use made-up messages rather than pasting learner names, addresses or account details.

Meta’s prompting guide describes giving a model examples of the output you want. Try a pair with deliberately similar language. ‘I cannot open my account because sign-in fails’ belongs to Access. ‘I signed in but cannot open the handout’ belongs to Materials. The word open is not enough to decide; what the learner is trying to open changes the route.

Keep a few messages out of the examples

Write down the labels you expect for a separate set before showing it to the model. For instance, ‘The course does not work’ belongs to Review because it does not identify the problem. Ask for a label plus a few words of evidence copied from each message. A confident explanation about an expired password would introduce a fact the learner never supplied.

If a message is misrouted, change the definition that caused the confusion and try another unseen message. Repeating the corrected example only tells you whether the chat can repeat your correction. Keep the exercise separate from a live inbox: choosing a label here should never reset an account or send a reply.

Keep learning