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":"Lentil, Garlic, and Pasta Soup null","description":"Just like lentil pilafs, this is a peasant dish that dates back to a time when people needed to create hearty, yet affordable meals. In the Middle East, beans and legumes were often the protein of choice over more expensive and harder to source meat. Inevitably, these vegetarian and vegan dishes made up for the lack of meat with ample flavor, and the flavors in this dish-earthy lentils, fiery garlic, and smooth pasta-are indeed very satisfying. To make it even more flavorful, top with parsley and sumac or lemon juice.","ingredients":[{"section":"For the recipe","ingredients":["½ cup (4 fl oz/120 ml) olive oil","1 onion, finely diced","1 cup (8 oz/225 g) lentils (green or brown), picked over and rinsed","1 teaspoon ground cumin","¼ teaspoon black pepper","1 teaspoon salt","200g tagliatelle or linguini, broken into 1-2-inch/3-5-cm lengths"]},{"section":"To serve (optional)","ingredients":["chopped flat-leaf parsley","sumac or lemon juice"]}],"instructions":["Pour half the olive oil into a Dutch oven (casserole), add the onion and cook over medium-high heat, stirring regularly, for 6-8 minutes, or until the onions have softened and started to crisp around the edges.","Add the lentils, cumin, and pepper and toss to combine.","Pour in 6 cups (48 fl oz/1.5 liters) water, add the salt and bring the mixture to a boil, then partially cover the pan and reduce the heat to maintain a gentle simmer. Cook until the lentils are tender but still hold their shape, 20-30 minutes depending on variety.","Once the lentils are cooked, add the pasta, increasing the heat to a vigorous simmer, and cook, covered, for 10-15 minutes, or until the pasta is done.","Meanwhile, heat the remaining olive oil in a small skillet (frying pan) and add the garlic. Cook until fragrant and light gold in color, about 3 minutes. Take care not to burn the garlic as it can quickly go from gold to burnt.","Once ready, pour the garlic and oil over the lentils and pasta and stir.","If the consistency is too thick, add 1 cup (8 fl oz/250 ml) water and bring to a boil. If it's too thin, cook the soup for another couple of minutes until some liquid evaporates. You want a consistency similar to bean soup-not so thin it falls off the spoon but not so thick it feels like pudding.","To serve, ladle into individual bowls and sprinkle with toppings, if desired."]}
- Assistantjson
{ "data": "main" }