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":"CARROT CAKE COOKIES Carrot cake is one of my favourite cakes, so why not combine the idea with cookies? These are soft, full of flavour and utterly delicious.\nThey are the perfect bake for someone who likes carrot cake and cookies as much as me!","description":"Carrot cake is one of my favourite cakes, so why not combine the idea with cookies? These are soft, full of flavour and utterly delicious. They are the perfect bake for someone who likes carrot cake and cookies as much as me!","ingredients":[{"section":"For the recipe","ingredients":["125g unsalted butter","150g soft light brown sugar","1 egg (medium or large)","200g finely grated carrot","175g plain flour","75g rolled oats","½ tsp bicarbonate of soda","½ tsp ground cinnamon","1 tsp mixed spice"]},{"section":"For the cream cheese frosting (optional)","ingredients":["50g unsalted butter","50g icing sugar","½ tsp vanilla extract","100g full-fat soft cheese","A pinch of ground cinnamon"]}],"instructions":["Preheat the oven to 200°C/180°C fan and line 2-3 baking trays with parchment paper.","Add the butter and soft light brown sugar to a bowl and beat together until creamy.","Add the egg and finely grated carrot and beat again.","Add the flour, oats, bicarbonate of soda, ground cinnamon and mixed spice and mix again.","Spoon the cookie mixture onto the lined trays - I use a 5cm cookie scoop and bake maximum of 6 cookies per tray.","Bake the cookies for 10-12 minutes.","Once baked, leave the cookies to cool on the tray for about 5 minutes, then transfer to a wire rack to cool fully."]}
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.
- Assistant
{ "data": "dessert" }