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":"Mujaddara Hailing from the Levant, Mujaddara is a traditional Middle Eastern dish that exemplifies simplicity and humility in cooking.","description":"Often considered peasant food due to its inexpensive and readily available ingredients, this dish has traversed classes and cultures and has been savored for centuries. Its longevity is a testament to the rich flavors and nutritional value lentils and rice provide. The key to its distinct flavor lies in the caramelized onions that top the hearty base of grains and pulses-a celebration of the unification of sweet and savory.","ingredients":[{"section":"For the recipe","ingredients":["1 cup brown or green lentils, rinsed","1 cup long-grain white rice","3 large onions, thinly sliced","4 cups water","1/4 cup olive oil","2 teaspoons cumin powder","1 teaspoon coriander powder","Salt and black pepper to taste","Optional: 1/2 teaspoon ground cinnamon or allspice","Optional garnish: chopped parsley or cilantro"]}],"instructions":["In a medium pot, bring lentils and water to a boil. Reduce heat and simmer for about 20 minutes until lentils are par-cooked but not fully tender. Drain and set aside.","While lentils are cooking, heat olive oil in a large skillet over medium heat. Add the sliced onions with a pinch of salt and cook, stirring frequently, until they turn a deep caramel color, about 20 minutes. Watch carefully to prevent burning and reduce heat if necessary. Remove onions and set aside.","In the same skillet, add the par-cooked lentils, rice, cumin, coriander, cinnamon or allspice (if using), salt, and pepper. Stir to combine the ingredients thoroughly.","Add 2 cups of fresh water to the skillet, bring to a boil, then reduce heat to low. Cover and simmer until the rice is tender and the water is absorbed, about 20 minutes.","Fluff the mixture with a fork, then top with the caramelized onions and optional parsley or cilantro before serving."]}
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" }