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":"Pesto null","description":"Basil, pine nuts, and Parmesan cheese are traditional, but you can change up the greens and nuts however you please. Arugula, mint, spinach, even steamed hearty greens like kale are all good here, and walnuts, almonds, or Brazil nuts each add a slightly different flavor profile. Play around.","ingredients":[{"section":"For the recipe","ingredients":["¼ cup toasted pine nuts, walnuts, or almonds","1 garlic clove, chopped","Lemon juice to taste","¼ teaspoon fine sea salt","1 cup packed fresh basil leaves","3 to 4 tablespoons olive oil","3 tablespoons grated Parmesan cheese","Freshly ground black pepper"]}],"instructions":["Place the nuts, garlic, a squeeze of lemon juice, and the salt in the bowl of a food processor and pulse until coarsely combined.","Add the basil, pulsing a few times to incorporate.","With the motor running, add the oil one tablespoon at a time until a smooth, thick consistency is achieved.","Stir in the cheese and several grinds of black pepper, then taste, adjusting the seasonings as needed.","It will keep for up to a week in the fridge, and can be frozen for a few months."]}
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": "" }
- Assistantjson
{ "data": "sauce" }