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":"Green Rice Pilaf Ispanaklı Pilav","description":"On a frigid, snowy afternoon, this pilaf, more spinach than rice, was a welcome sight amongst the rich stews and hearty roasts on the lunchtime steam table of Kristal Lokantası in Kars city. Spinach and peas are best friends, so if I have baby peas in the freezer, I sometimes sprinkle a handful over the top of the pilaf for the last five minutes of cooking.","ingredients":[{"section":"For the recipe","ingredients":["3 tablespoons unsalted butter","1 small onion, minced (about 1/4 cup)","1 teaspoon fine sea salt","Freshly ground black pepper","1½ pounds spinach, washed and drained, tough stems removed, and cut into ½- to 1-inch-wide strips","1 cup small or medium-grain rice, such as CalRose, Baldo, or medium-grain basmati, washed and drained","1 cup plus 2 tablespoons water"]}],"instructions":["Melt the butter in a large skillet over medium-low heat.","Add the onion, sprinkle over the salt and a few grinds of black pepper, and stir to coat the onions.","Lower the heat, cover the pan, and sweat the onions for 5 minutes.","Raise the heat to medium, add the spinach, and toss for 2 or 3 minutes to wilt.","Add the rice and stir it into the spinach.","Add the water and bring to a boil.","Cover the pan, reduce the heat to low, and cook until all the liquid is absorbed and rice is tender, about 15 minutes.","Remove from the heat and fluff the rice with a fork.","Drape a clean kitchen towel over the pan, replace the lid, and set the pilaf aside for 10 minutes.","Serve hot."]}
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.
- Assistant
{ "data": "main" }