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":"Pineapple Upside-Down Cake Only Yesterday","description":"This recipe for a pineapple upside-down cake surely would have impressed Taeko and her family. 'Only Yesterday' strings together scenes from Taeko's childhood in the city, when she dreamed of escaping to the country. One day, Taeko convinces her father to buy a whole pineapple, but her city-dwelling family has no idea how to eat it! This cake is a delicious way to enjoy this exotic fruit.","ingredients":[{"section":"For the cake","ingredients":["6 tablespoons (80 grams) unsalted butter, softened","1 cup plus 1 tablespoon (230 grams) sugar, divided","1 tablespoon vanilla extract","3 eggs","1 ½ cups (180 grams) flour","2 teaspoons baking powder","Pinch of salt","Splash of rum (optional)"]},{"section":"For the caramel","ingredients":["4 tablespoons water","Dash of lemon juice (optional)","1 can pineapple slices"]}],"instructions":["Cream the butter, 6 tablespoons of sugar, and vanilla in a bowl.","In a separate bowl, beat the eggs, add them into the butter mixture, and stir to combine.","Slowly sift the flour and baking powder into the mixture while stirring. Add the pinch of salt and the rum, if desired, and beat again.","Thoroughly grease a cake pan, and then line the bottom with a piece of aluminum foil cut to match the shape. Flatten out the foil, and grease it as well. Preheat the oven to 350°F.","Prepare the caramel: Dissolve the remaining sugar with the water in a saucepan over low heat, and mix thoroughly. Add the lemon, if desired. When the mixture begins to brown, stir it in large, circular movements.","Pour the caramel into the cake pan, making sure to cover the entire surface.","Arrange the pineapple slices atop the caramel. Pour the batter over the top, and smooth the surface.","Bake for 45 minutes at 350°F. Turn the cake out upside down, and let it cool slightly before serving."]}
- Assistantjson
{ "data": "dessert" }