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":"Stone Fruit Samosas Sweet Endings and Desserts","description":"Samosas are a traditional Indian pastry, and this recipe is inspired by the seasonal fruit samosas that were served at Sanaa, where the menu features African cooking with Indian flavors. It was originally deep-fried, but we've created a baked version made with phyllo.","ingredients":[{"section":"SAMOSAS","ingredients":["1½ cups diced peaches","2 teaspoons sugar","1/2 teaspoon ground cinnamon","2 teaspoons cornstarch","36 (3x8-inch) strips of thawed phyllo dough","1/4 cup butter, melted"]},{"section":"FRUIT SALSA","ingredients":["1/2 cup diced peaches","1/2 cup diced mango","1 tablespoon diced crystallized ginger","1 tablespoon diced cherries"]}],"instructions":["Preheat oven to 350°F. Line a baking sheet with parchment paper.","Mix peaches, sugar, cinnamon, and cornstarch in a medium bowl.","Place 3 strips of phyllo on top of each other on a floured breadboard. Cover remaining strips with plastic wrap and a damp kitchen towel.","Gently brush top strip with butter. Put 1 tablespoon of peach mixture near bottom left corner and fold corner of phyllo strips over to enclose filling and form a triangle. Continue folding strips, maintaining triangle shape.","Seal by brushing with butter. Repeat with remining phyllo strips and peach mixture.","Bake for 20 to 25 minutes, until golden brown.","Mix diced peaches, mango, and crystallized ginger in a small bowl,","Before serving, add diced cherries.","Serve with warm samosas."]}
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.
- Assistant
{ "data": "dessert" }