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":"Chickpea Salad Mains and Sides","description":"Tamarind paste has a distinctive, tart flavor. It can be purchased in Asian and Latin American grocery stores or online. Chaat masala is a spice blend available in specialty food stores and some grocery stores or online.","ingredients":[{"section":"For the recipe","ingredients":["2 tablespoons olive oil","1 tablespoon minced garlic","1 tablespoon minced fresh ginger","1/2 small jalapeño pepper, seeds removed, minced","1 teaspoon tamarind paste, dissolved in 3 tablespoons water","1/4 teaspoon chaat masala, optional","1/2 medium yellow onion, diced","2 (14.5-ounce) cans chickpeas, drained and rinsed","2 to 3 tablespoons fresh lime juice, divided","coarse salt, to taste","freshly ground black pepper, to taste","1/2 cucumber, peeled, seeded, and diced","1 large tomato, seeds removed, diced","1/2 bunch cilantro, stems removed, minced"]}],"instructions":["Carefully heat oil in a small sauté pan over medium heat.","Add garlic, ginger, and jalapeño; cook until garlic is light gold.","Set aside until mixture is room temperature.","Whisk in tamarind paste and chaat masala.","Stir in onion.","Refrigerate until cold.","Add chilled spice mixture to chickpeas, tossing to coat.","Add 2 tablespoons lime juice, stirring to combine.","Season with salt and pepper.","Refrigerate at least 1 hour.","Just before serving, add cucumber, tomato, and cilantro.","Add remaining lime juice, if desired.","Serve chilled or at room temperature."]}
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.
- Assistant
{ "data": "main" }