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":"Ann's Chocolate Chip Carrot Cake Pumpkins null","description":null,"ingredients":[{"section":"Cupcakes","ingredients":["2 cups cake flour","2 teaspoons ground cinnamon","1½ teaspoons baking soda","1 teaspoon baking powder","1 teaspoon salt","2 cups white sugar","1 ½ cups vegetable oil","4 large eggs eggs","2 cups grated carrots","1 (8 ounce) can crushed pineapple, drained","½ cup chopped walnuts","½ cup semisweet chocolate chips"]},{"section":"Frosting","ingredients":["1 tablespoon cake flour","½ cup butter","1 (8 ounce) package cream cheese, softened","1 tablespoon vanilla extract","2 cups confectioners' sugar, or more as needed","1 tablespoon lemon juice","3 drops orange food coloring","1 (1.5 ounce) tube black decorating gel"]}],"instructions":["Preheat oven to 325 degrees F (165 degrees C). (If using a countertop induction oven, preheat to 325 degrees F.) Grease\n12 pumpkin-shaped cupcake molds (silicon molds work well).","Sift 2 cups cake flour, cinnamon, baking soda, baking powder, and salt together in a bowl. Mix in sugar, oil, and eggs\nuntil combined. Stir carrots and pineapple into the batter.","Place 1 tablespoon cake flour in a bowl. Toss walnuts and chocolate chips in flour until coated; fold into batter.","Pour batter into cupcake molds to about two-thirds full; gently tap molds onto work surface to remove air bubbles.","Bake in preheated oven (or countertop induction oven) until a toothpick inserted into the center of a cupcake comes out\nclean, 20 to 25 minutes (or 15 to 20 minutes in the countertop induction oven). Cool to room temperature, 15 to 20\nminutes; remove from molds.","Combine butter, cream cheese, and vanilla extract in a bowl; beat with an electric mixer until well blended, 4 to 6\nminutes. Mix in confectioners' sugar on low speed, 1/2 cup at a time, until frosting is smooth and spreadable. Add lemon\njuice and orange food coloring; stir until combined. Refrigerate until set, 15 to 20 minutes.","Frost cupcakes with the cream cheese frosting; decorate with black decorating gel."]}
- Assistant
{ "data": "dessert" }