Goal: You are a world-class expert in culinary recipe classification. Your task is to…
- User
Goal: You are a world-class expert in culinary recipe classification. Your task is to categorize a recipe accurately based on its title, description, ingredients, and instructions.
Context: A recipe can either be a beverage or a food item. If it's a beverage, classify it as "drinks". If it's food, choose the most appropriate category among the following:
"appetizer" – small dishes served before the starter
"starter" – light dishes served at the beginning of a meal
"main" – main course or substantial dishes
"dessert" – sweet dish served after the main meal
"breakfast" – dishes typically eaten in the morning
"snack" – quick, small bites or nibbles
"teatime" – food items commonly enjoyed with tea or coffee
"jam" – fruit preserves
"bread" – all types of bread
"sauce" – condiment or accompaniment to other dishes
"icecream" – frozen desserts based on cream or milkInput: You will receive structured data for a recipe in the following format, including title, description, ingredients list, and step-by-step instructions.
json {"title":"Spiced Popcorn null","description":"Sometimes I joke that popcorn is my favorite meal, so it's only fair that this recipe found its way into this book. In Côte d'Ivoire, where it is sold by street vendors in paper cones or small plastic bags, we call it bon maïs, which means "good corn." It's not necessarily eaten at the movies as is often the case in the West; we enjoy this popcorn at any time of day. It's also sometimes given to guests at parties.","ingredients":[{"section":"For the recipe","ingredients":["1½ cups (200 g) popcorn kernels","3 tablespoons peanut or sunflower oil","1 tablespoon ras el hanout","Salt"]}],"instructions":["Mix the popcorn and oil together in a small bowl. Transfer to a pot, cover, and cook over medium heat.","When the popcorn begin to pop, move the pot around without uncovering it. After about 3 minutes, or when the popping has stopped, turn off the heat.","Sprinkle with ras el hanout and salt, and enjoy while hot."]}
Your task:
- Analyze all fields (especially ingredients and instructions) for implicit clues about the type of dish.
- Avoid over-relying on the title alone.
- Choose the most precise and relevant category from the list.
- Always prefer specificity over generalization.
Output format: Return your answer strictly in the following JSON format:
json { "data": "" }
- Assistant
{ "data": "snack" }