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":"School Dinner Cake null","description":"This retro vanilla traybake is an easy bake for celebrations and parties and brings back fond memories of school. I remember rushing in at break time to join the queue for a slice of this, devouring each and every crumb. The sponge is incredibly fluffy and soft, the simple glacé icing gives it just the right amount of sweetness and the rainbow sprinkles add that pop of colour. This one is definitely a crowd-pleaser.","ingredients":[{"section":"For the recipe","ingredients":["225g butter or margarine at room temperature","225g caster sugar","4 eggs, beaten","1 teaspoon vanilla extract","225g self-raising flour","1 teaspoon baking powder","3 tablespoons milk","rainbow sprinkles, to decorate"]},{"section":"GLACÉ ICING","ingredients":["300g icing sugar","2-3 tablespoons milk","1 teaspoon vanilla extract (optional)"]}],"instructions":["Preheat the oven to 160°C (gas mark 3) and grease and line a 20cm square cake tin with baking paper.","Cream the butter and sugar together in a bowl until light and fluffy using an electric hand whisk or wooden spoon.","Beat in the eggs and stir in the vanilla extract.","Fold in the flour and baking powder using a large metal spoon, then add the milk to create a smooth batter, taking care not to overmix.","Transfer the mixture to the prepared cake tin and gently spread out with a spatula.","Cook in the oven for 25-30 minutes until golden brown and coming away from the edges of the tin. A skewer inserted into the middle should come out clean.","Set aside to cool in the tin for 5 minutes, then turn out, peel off the paper and transfer to a wire rack to cool completely.","For the glacé icing, sift the icing sugar into a bowl and gradually add the milk, a little at a time, until the icing becomes thick enough to coat the back of a spoon.","If necessary, adjust the consistency with a few drops more milk or a little more icing sugar. The icing should be smooth and glossy.","Add the vanilla, if using, then pour the icing over the cooled cake, using a spoon to guide it to the edges. Finish off with rainbow sprinkles.","Allow the icing to set, then cut the cake into 4cm squares.","Store any leftover cake in an airtight container for up to 3-4 days."]}
- Assistantjson
{ "data": "dessert" }