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":"Red, White, and Green ","description":"","ingredients":[{"section":"For the recipe","ingredients":["2½ pounds small red potatoes, halved","Kosher salt","3 tablespoons good-quality salted butter (such as Kerrygold)","6 slices thick-cut bacon","1 large yellow onion, diced","2 cloves garlic, minced","1 pound fresh green beans, trimmed","2 cups chicken stock","1½ teaspoons Chicken Rub (see recipe, see here)","Freshly ground pepper"]}],"instructions":["1. Place potatoes in a large Dutch oven with cold, salted water to cover. Bring to a boil over medium-high heat. Boil until potatoes are fork tender, about 15 minutes. Drain, place in a serving bowl, and gently toss with butter.","2. Meanwhile, cook bacon in Dutch oven over medium heat until crisp, about 8 minutes. Transfer to a paper towel-lined plate, reserving drippings in Dutch oven.","3. Add onion and garlic to hot drippings, and cook over medium heat, stirring often, until starting to soften, 3 to 5 minutes. Stir in beans, chicken stock, Chicken Rub, and a few large pinches of salt. Cover with a lid, and bring to a gentle boil. Cook until beans are bright green and crisp-tender, about 10 minutes.","4. Coarsely chop bacon, and add to cooked potatoes. Add green bean mixture to potatoes, and gently toss to combine. Season with salt and pepper. Serve immediately."]}
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" }