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":"Halloween Pasta null","description":null,"ingredients":[{"section":"For the recipe","ingredients":["2 cups Halloween-shaped pasta","2 cups wagon wheel-shaped pasta","2½ cups peeled chopped pumpkin","1 teaspoon ground nutmeg","1 teaspoon ground allspice","1 teaspoon ground cinnamon","1 teaspoon minced garlic","1 teaspoon chopped onion","1 teaspoon chili powder","3 tablespoons olive oil","1 (4 ounce) can sliced black olives","1 (8 ounce) can garbanzo beans, drained","1/4 cup chopped garlic","½ cup grated Parmesan cheese","1/4 cup olive oil","3 tablespoons dried oregano"]}],"instructions":["Step 1\nBring a large pot of lightly salted water to a boil. Cook Halloween-shaped and wagon wheel-shaped pasta in the\nboiling water, stirring occasionally until cooked through but firm to the bite, about 12 minutes. Drain and\ntransfer pasta to a large bowl.","Step 2\nPlace pumpkin in a large pot and cover with salted water; bring to a boil. Reduce heat to medium-low and\nsimmer until tender, about 20 minutes. Drain and return pumpkin to pot. Add nutmeg, allspice, cinnamon, 1\nteaspoon garlic, onion, chili powder, and 3 tablespoons olive oil; stir to coat.","Step 3\nToss olives and garbanzo beans into cooked pasta. Add 1/4 cup garlic, Parmesan cheese, 1/4 cup olive oil, and\noregano. Toss to coat; top with pumpkin mixture."]}
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.
Output format: Return your answer strictly in the following JSON format:
json { "data": "" }
- Assistantjson
{ "data": "main" }