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":"Crispy Fried Shallots null","description":"Shallots that have been cooked till they are golden and crisp are a traditional condiment in Vietnam. They may be found in soups and on salads, used as a garnish for dumplings, and chopped up and used to meatballs. They're essential because of their crunchiness, sweetness, and saltiness. Because it is so difficult for folks to resist the temptation to munch on them, you may want to consider doubling the recipe.","ingredients":[{"section":"Ingredients","ingredients":["2 cups thinly sliced shallots (about 4 large shallots)","2 cups canola oil"]}],"instructions":["Place a medium heatproof bowl over a fine-mesh sieve.","Mandolin-slice shallots into rings, crosswise.","Pour enough oil into a medium saucepan to completely cover the shallots.","For 20-25 minutes, sauté the shallots, turning often with a fork to help them split into rings.","Drain the shallots by putting them in a colander and then onto paper towels.","Allow to cool after seasoning with salt.","If you're going to use shallot oil, save it for other things like vinaigrettes, stir-fries, or soups.","It's even possible to fry the shallots a week in advance.","At room temperature, keep it sealed tightly."]}
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" }