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":"Pasta Tunisia null","description":null,"ingredients":[{"section":"For the recipe","ingredients":["375 g penne pasta","2 onions, minced","2 tbsp olive oil","350 g merguez sausages, cut in diagonal sections of 1 inch.","2 tbsp tomato paste","1 C. chicken broth","3 tbsp fresh parsley, chopped","salt and pepper"]}],"instructions":["1. In a pan of lightly salted boiling water, cook the pasta till desired doneness.","2. Drain well and coat with a little oil and keep aside.","3. In a large skillet, heat the oil and sauté onion till golden brown.","4. Stir in the sausage, salt and black pepper and cook till golden brown from both sides.","5. Stir in the tomato paste and cook for about 1 minute.","6. Stir in the broth and bring to a gentle boil.","7. Simmer slowly till the sausages are done completely.","8. Stir in the pasta and cook till heated completely.","9. Stir in the seasoning and parsley and serve."]}
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": "" }
- Assistant
{ "data": "main" }