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":"Mdardara null","description":"Mdardara is a staple in Lebanese cuisine, a hearty and comforting dish that has its roots in the Middle Eastern tradition of combining grains with legumes for a complete protein meal. This humble dish is known for its simplicity, affordability, and nutritional value, often enjoyed during Lent or as a part of the vegetarian Mezze table. It tells the story of Lebanese resilience and resourcefulness, showcasing how delicious meals can be crafted from the simplest ingredients.","ingredients":[{"section":"For the recipe","ingredients":["1 cup brown or green lentils","1 cup long-grain white rice","3 large onions, thinly sliced","1/4 cup olive oil","4 cups water","1 teaspoon cumin","• 1/2 teaspoon cinnamon (optional)","Salt and black pepper, to taste"]}],"instructions":["Rinse the lentils under cold water, sorting out any debris or stones.","In a large pot, add the lentils and 4 cups of water. Bring to a boil, then reduce heat to a simmer. Cook until the lentils are tender, about 20-25 minutes.","While lentils are cooking, heat the olive oil in a separate large skillet over medium-high heat.","Add the sliced onions to the skillet and cook, stirring occasionally, until they are deeply caramelized and browned, which can take about 20-30 minutes. Make sure to keep an eye on them so they don't burn.","Once the lentils are tender, stir in the white rice, cumin, cinnamon (if using), salt, and pepper. Add some water if necessary to cover the rice by about half an inch.","Reduce heat to low, cover the pot, and let the mixture simmer until the rice is fully cooked, about 15-20 minutes. Resist the urge to open the lid frequently as this will affect the steam cooking of the rice.","When the rice is ready, stir half of the caramelized onions into the rice and lentils mixture.","Serve Mdardara hot, topped with the remaining caramelized onions."]}
- Assistant
{ "data": "main" }